Wednesday, June 5, 2013

"sh int brief" vs "sh ip int brief" in nexus 7k,5k

sh ip int brief doesn't work on Nexus series switches (7000,5000) like any other IOS based switch.
this command only shows Layer 3 interfaces that too with specific to vrf only.


for example if you have to see management vrf interface, then you need to do a " sh ip int brief vrf management"
If you do not specify any vrf, then Nexus will only show default vrf interfaces as shown below

Nexus7k# sh ip int brief
IP Interface Status for VRF "default"(1)
Interface            IP Address      Interface Status

Nexus7k# sh ip int brief vrf management
IP Interface Status for VRF "management"
Interface            IP Address      Interface Status
mgmt0                10.7.6.5        protocol-up/link-up/admin-up       

if you want to see all the interfaces for their status, then you need to do a "sh int brief" instead of "sh ip int brief".

switch# show interface brief
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
Interface Ch #
--------------------------------------------------------------------------------
Eth1/1 1 eth trunk up none 10G(D) 4000
Eth1/2 1 eth trunk up none 10G(D) 4000
Eth1/3 1 eth trunk up none 10G(D) 4000
Eth1/4 1 eth trunk up none 10G(D) 4000
Eth1/5 1 eth access down SFP not inserted 10G(D) --
Eth1/6 1 eth access down SFP not inserted 10G(D) --
Eth1/7 1 eth trunk up none 10G(D) 10

No comments:

Post a Comment