Cisco Systems N5KC5596TFA Switch User Manual


 
PurposeCommand
Displays the Layer 3 interface statistics. You can
optionally include all 32-bit and 64-bit packet and
byte counters (including errors).
show interface ethernet slot/port counters detailed
[all]
Displays the Layer 3 interface input and output
errors.
show interface ethernet slot/port counters error
Displays the Layer 3 interface counters reported
by SNMP MIBs. You cannot clear these counters.
show interface ethernet slot/port counters snmp
Displays the subinterface statistics (unicast,
multicast, and broadcast).
show interface ethernet slot/port.number counters
Displays the port-channel subinterface statistics
(unicast, multicast, and broadcast).
show interface port-channel channel-id.number
counters
Displays the loopback interface input and output
counters (unicast, multicast, and broadcast).
show interface loopback number counters
Displays the loopback interface statistics. You can
optionally include all 32-bit and 64-bit packet and
byte counters (including errors).
show interface loopback number counters detailed
[all]
Displays the loopback interface input and output
errors.
show interface loopback number counters errors
Displays the VLAN interface input and output
counters (unicast, multicast, and broadcast).
show interface vlan number counters
Displays the VLAN interface statistics. You can
optionally include all Layer 3 packet and byte
counters (unicast and multicast).
show interface vlan number counters detailed [all]
Displays the VLAN interface counters reported
by SNMP MIBs. You cannot clear these counters.
show interface vlan counters snmp
Configuration Examples for Layer 3 Interfaces
This example shows how to configure Ethernet subinterfaces:
switch# configuration terminal
switch(config)# interface ethernet 2/1.10
switch(config-if)# no switchport
switch(config-if)# description Layer 3 for VLAN 10
switch(config-if)# encapsulation dot1q 10
switch(config-if)# ip address 192.0.2.1/8
switch(config-if)# copy running-config startup-config
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
78-26881-OL 43
Configuring Layer 3 Interfaces
Configuration Examples for Layer 3 Interfaces