no keepalive up/up
admin | Friday, June 25th, 2010 | 9 Comments »I learned this new trick from reading an old CCIE book. If you want to keep an interface with up/up status with no cable connected to it, especially for simulation purposes all you have to do is disable the keepalive like so:
Router#sh ip int brie
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
Serial0/0 unassigned YES unset administratively down down
BRI0/0 unassigned YES unset administratively down down
BRI0/0:1 unassigned YES unset administratively down down
BRI0/0:2 unassigned YES unset administratively down down
Router(config)#int fa0/0
Router(config-if)#no shut
00:15:26: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to u
Router(config-if)#no keepalive
Router(config-if)#end
Router#
00:15:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router#
Router#sh ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset up up
Serial0/0 unassigned YES unset administratively down down
BRI0/0 unassigned YES unset administratively down down
BRI0/0:1 unassigned YES unset administratively down down
BRI0/0:2 unassigned YES unset administratively down down
Router#
Pretty cool huh?
Pingback: RICARDO
Pingback: EDUARDO