Play time on routers

I forgot to post this before. As a joke to someone at work i decided it would be funny to mess with the router they have on their desk that they use to play with to test configuration. We have all done the timeout setting on the console as a joke to other network engineer and this can be easy to sort out.
This little gem is not see easy to spot, unless you know it.

You log into your router and check why your interface is down.

Router_1(config)#do sh run | i int f0/1
!
Current configuration :73 bytes
interface FastEthernet0/1
no ip address
duplex auto
speed auto
end

Ok, no IP etc….

Router_1(config)#int f0/1
Router_1(config)#ip address 10.1.1.1 255.255.255.252
Router_1(config)#no shut

OK done, now you interface is up and up and pings are happy, we all love the “!!!!!!”
But then your interface drops and we are left with “…….” when we ping, further if we have a RP running the neighbor adjacency drops too?

So you look at your interface and see…..

Router_1(config)#do sh run | i int f0/1
!
Current configuration :73 bytes
interface FastEthernet0/1
no ip address
duplex auto
speed auto
end

What? What happened to the just added the IP address? How many times would you re-add the IP address information before you smelt a rat or heard people chuckling to each other? After a few times it is time to dig deeper.

Router_1(config)# do sh run | s event
event manager applet crueljoke
event timer watchdog time 200
action 1.0 cli command “enable”
action 2.0 cli command “configure terminal”
action 3.0 cli command “default interface FastEthernet0/1”
Router_1(config)#

You can have some real fun with EEM!

BE.

Advertisements

~ by bigevil on June 4, 2011.

 
%d bloggers like this: