How to force bringing the Ethernet interface up/up for the Cisco Integrated Services Routers Generation 2 Series Router.
With the Cisco ISR Series Router, it was possible to forcibly bring the Ethernet interface into an up/up state by issuing the "no keepalive" command to the Ethernet interface. For the Cisco ISR G2 Series Router however, the "no keepalive" command cannot forcibly bring the Ethernet interface up/up.
With the following modifications, a new command is added to bring the Ethernet interface up/up for the Cisco ISR G2 Series Router as well.
CSCtl51328 'no keepalive' command shows down/down for ISR-G2 native interfaces.
Configuration commands are as follows:
(config)#service internal
(config)#interface <Interface>
(config-if)#no keepalive proto-up
Note however that since "service internal" is a hidden command, the auto-complete function with the Tab key does not work.
Please be careful.
The "no keepalive proto-up" command is available from the following version onward.
15.0(1)M8
15.1(4)M3
The following is a log at the time of configuration.
You can confirm that the state of the interface has been changed from down/down to up/up after the command is executed.
Router#show interfaces GigabitEthernet 0/0
GigabitEthernet0/0 is down, line protocol is down
---snip---
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#service internal
Router(config)# interface GigabitEthernet0/0
Router(config-if)#no keepalive proto-up
Router(config-if)#end
Router#
Apr 20 01:21 PM:41.717: %TRACKING-5-STATE: 2 interface Gi0/0 line-protocol Down->Up
Router#
Apr 20 01:21 PM:42.517: %SYS-5-CONFIG_I: Configured from console by console
Apr 20 01:21 PM:43.405: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state
to up
Router#
Apr 20 01:21 PM:44.405: %LINEPROTO-5-UPDOWN: Interface GigabitEthernet0/0, changed
state to up
Router#
Router#show interfaces GigabitEthernet 0/0
GigabitEthernet0/0 is up, line protocol is up
---snip---
Router#
The following software modifications also apply as related to CSCtl51328.
CSCtx14349 'no keepalive proto-up' is not working after reloading the ISR-G2
The event of CSCtx14349 is that the command "no keepalive proto-up" disappears after being reloaded.
The modification of CSCtx14349 is applicable from the following version onward.
15.0(1)M9
15.1(4)M4
Please try to use the no keepalive proto-up command only in the testing environment, and avoid issuing it to the production environment.
Related Information
Original Document: https://supportforums.cisco.com/ja/document/98071
Author: Ryota Takao
Posted on April 20, 2012