PurposeCommand
Displays the counters for a specified Ethernet
interface.
show interface ethernet slot/port counters [ brief |
detailed | errors | snmp | storm-control | trunk]
Displays the status for a specified Ethernet interface.
show interface ethernet slot/port status
[err-disable]
Displays interface configuration information,
including the mode.
show interface brief
Displays information about the access and trunk
interface for all Layer 2 interfaces.
show interface switchport
Displays trunk configuration information.
show interface trunk [module module-number | vlan
vlan-id]
Displays information about the capabilities of the
interfaces.
show interface capabilities
Displays configuration information about the specified
interface.
show running-config interface ethernet slot/port
Monitoring the Interface Configuration
Use one of the following commands to display access and trunk interface configuration information:
PurposeCommand
Clears the counters.
clear counters [ interface ]
Displays input and output octets unicast packets,
multicast packets, and broadcast packets.
show interface counters [ module module ]
Displays input packets, bytes, and multicast as well
as output packets and bytes.
show interface counters detailed [ all ]
Displays information on the number of error packets.
show interface counters errors [ module module]
Configuration Examples for Access and Trunk Port Mode
This example shows how to configure a Layer 2 access interface and assign the access VLAN for that interface:
switch# configure terminal
switch(config)# interface ethernet 2/30
switch(config-if)# switchport
switch(config-if)# switchport mode access
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
32
Configuring Layer 2 Interfaces
Monitoring the Interface Configuration