Use this procedure to verify the operational status and configuration of the management interface using show commands.
Procedure
Example:
RP/0/RP0/CPU0:ios# show interfaces MgmtEth 0/RP0/CPU0/0
Wed Mar 4 06:13:12.381 UTC
MgmtEth0/RP0/CPU0/0 is up, line protocol is up
Interface state transitions: 1
Hardware is Management Ethernet, address is b026.80ff.d870 (bia b026.80ff.d870)
Internet address is 10.127.60.184/24
MTU 1514 bytes, BW 1000000 Kbit (Max: 1000000 Kbit)
reliability 255/255, txload 0/255, rxload 0/255
Encapsulation ARPA,
Full-duplex, 1000Mb/s, CX, link type is autonegotiation
loopback not set,
Last link flapped 1d23h
ARP type ARPA, ARP timeout 04:00:00
Last input 00:00:00, output 00:00:00
Last clearing of "show interface" counters never
5 minute input rate 1368000 bits/sec, 193 packets/sec
5 minute output rate 95000 bits/sec, 194 packets/sec
6447256 packets input, 3947875102 bytes, 0 total input drops
0 drops for unrecognized upper-level protocol
Received 661276 broadcast packets, 271649 multicast packets
0 runts, 0 giants, 0 throttles, 0 parity
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
7190033 packets output, 3906991430 bytes, 0 total output drops
Output 0 broadcast packets, 0 multicast packets
0 output errors, 0 underruns, 0 applique, 0 resets
0 output buffer failures, 0 output buffers swapped out
1 carrier transitions
RP/0/RP0/CPU0:ios# show interfaces MgmtEth 0/RP0/CPU0/0
Fri May 8 04:40:41.519 UTC
MgmtEth0/RP0/CPU0/0 is up, line protocol is up
Interface state transitions: 1
Hardware is Management Ethernet, address is dc8c.37c3.e1a8 (bia dc8c.37c3.e1a8)
Internet address is 10.105.57.103/25
MTU 1514 bytes, BW 1000000 Kbit (Max: 1000000 Kbit)
reliability 255/255, txload 0/255, rxload 0/255
Encapsulation ARPA,
Full-duplex, 1000Mb/s, CX, link type is autonegotiation
loopback not set,
Last link flapped 1d04h
ARP type ARPA, ARP timeout 04:00:00
Last input 00:00:00, output 00:00:00
Last clearing of "show interface" counters never
5 minute input rate 106000 bits/sec, 140 packets/sec
5 minute output rate 108000 bits/sec, 139 packets/sec
7303357 packets input, 696872907 bytes, 0 total input drops
0 drops for unrecognized upper-level protocol
Received 40679 broadcast packets, 41523 multicast packets
0 runts, 0 giants, 0 throttles, 0 parity
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
7231570 packets output, 740818886 bytes, 0 total output drops
Output 0 broadcast packets, 0 multicast packets
0 output errors, 0 underruns, 0 applique, 0 resets
0 output buffer failures, 0 output buffers swapped out
MgmtEth0/RP0/CPU0/0 is up, line protocol is up
The output shows that the management interface is administratively down.
You can also use the show interfaces summary or show interfaces brief commands in the Cisco IOS XR EXEC mode to verify the management interface status.
This example shows sample output from the show interfaces summary command.
RP/0/RP0/CPU0:ios# show interfaces summary
Wed Mar 4 06:14:52.995 UTC
Interface Type Total UP Down Admin Down
-------------- ----- -- ---- ----------
ALL TYPES 4 2 0 2
--------------
IFT_ETHERNET 3 1 0 2
IFT_NULL 1 1 0 0
RP/0/RP0/CPU0:ios# show interfaces summary
Fri May 8 04:43:57.355 UTC
Interface Type Total UP Down Admin Down
-------------- ----- -- ---- ----------
ALL TYPES 6 5 0 1
--------------
IFT_LOOPBACK 2 2 0 0
IFT_ETHERNET 3 2 0 1
IFT_NULL 1 1 0 0
This example shows sample output from the show interfaces brief command.
RP/0/RP0/CPU0:ios# show interfaces brief
Wed Mar 4 06:15:51.689 UTC
Intf Intf LineP Encap MTU BW
Name State State Type (byte) (Kbps)
--------------------------------------------------------------------------------
Nu0 up up Null 1500 0
Mg0/RP0/CPU0/0 up up ARPA 1514 1000000
Mg0/RP0/CPU0/1 admin-down admin-down ARPA 1514 1000000
Mg0/RP0/CPU0/2 admin-down admin-down ARPA 1514 1000000
RP/0/RP0/CPU0:ios# show interfaces brief
Fri May 8 04:44:41.558 UTC
Intf Intf LineP Encap MTU BW
Name State State Type (byte) (Kbps)
--------------------------------------------------------------------------------
Lo0 up up Loopback 1500 0
Lo1 up up Loopback 1500 0
Nu0 up up Null 1500 0
Mg0/RP0/CPU0/0 up up ARPA 1514 1000000
Mg0/RP0/CPU0/1 admin-down admin-down ARPA 1514 1000000
Mg0/RP0/CPU0/2 up up ARPA 1514 1000000
What to do next
Perform these steps if the management interface is administratively down.
-
Check the Ethernet cable connection.
-
Verify the IP address configuration of the management interface. For details on configuring the management interface, see Configure Management Interface.
-
Use the show running-config interface mgmtEth command to verify whether the management interface is in the no shut state.
This example shows sample output from the show running-config interface mgmtEth command.
RP/0/RP0/CPU0:ios# show running-config interface mgmtEth 0/RP0/CPU0/0 Wed Mar 4 06:17:33.833 UTC interface MgmtEth0/RP0/CPU0/0 ipv4 address dhcp !RP/0/RP0/CPU0:ios# show running-config interface mgmtEth 0/RP0/CPU0/0 Fri May 8 04:46:29.582 UTC interface MgmtEth0/RP0/CPU0/0 ipv4 address 10.105.57.103 255.255.255.128 !The output shows that the management interface is in the no shut state.