Lab Objective:
The focus of this lab is to understand Embedded Event Manager (EEM) implementation and configuration in Cisco IOS routers. Additional technologies include Cisco IOS ERM.
Lab Topology:
This lab requires only a single router running, at a minimum, Cisco IOS Software 12.4 Mainline. The router should have at least one Ethernet interface. The primary purpose of this lab is to reinforce configuration knowledge of the stated chapter.
|
IMPORTANT NOTE If you have multiple devices and servers / hosts in your home lab and you would like to test solutions for topics such as Syslog, SNMP and NetFlow by setting up host and viewing charts or logging information, for example, please feel free to do so. While these labs include logging to ‘supposed’ hosts, there are no SNMP or Syslog servers in theĀ http://www.howtonetwork.netĀ racks and so you will not be able to test the solutions in those racks. If you only have a single router, you can bring up the Ethernet interface by implementing the following configuration: ! |
Task 1
Configure the router with a hostname of R1. Next, enable the LAN interface of the router and assign it the IP address 150.1.1.1/24. Ensure that this interface is in an up / up state.
Task 2
Configure a Cisco IOS Embedded Resource Manager (ERM) policy for critical CPU and memory utilization. The router should generate a critical Syslog message when the CPU and memory utilization exceeds 80% within a 15 second interval. Additionally, a Syslog message should also be generated when the CPU and memory utilization falls below 50% within a 15 second interval. Verify the Embedded Resource Manager configuration using appropriate commands.
Task 3
Management is worried about someone accidentally shutting down and interface and locking themselves (and every one) out of the router. They have requested that you configure an EEM script so that if the FastEthernet0/0 interface is shut down, the router will automatically re-enable the interface. Verify and testing your configuration using the appropriate commands.
Task 4
Configure the following static routes on the router (NOTE: ensure that interface Fa0/0 is up):
- 10.0.0.0/24 via 150.1.1.254
- 10.0.1.0/24 via 150.1.1.254
Management has requested that until they get the Cisco ACS server installed, the router should not allow anyone to delete the static routes. Write an EEM applet that prevents these, and any other, static routes from being deleted until AAA is configured on the router. The router should print the message ‘ACTION NOT ALLOWED’ . Verify your EEM configuration and test the applet by attempting to delete a static route.