Switch(config)# show vlan dot1q-vlan
Show 802.1q VLAN configuration.
Switch(config)#show vlan interface
Show each interface‟s VLAN ID, user priority
and VLAN mode information.
Switch(config)#show vlan
interface [port_list]
Show the selected ports‟ VLAN ID user
priority and VLAN mode information.
Switch(config)# show vlan qinq-
vlan
Show Q-in-Q VLAN configuration.
VLAN dot1q & interface example
Switch(config)# vlan dot1q-vlan 100
Switch(config)# vlan management-vlan 1
management-port 1-3
Set port 1~3 to management ports.
Switch(config)# interface 1-3
Enter port 1 to port 3‟s interface mode.
Switch(config-if-1-3)# vlan dot1q-vlan trunk-vlan
100
Assign the selected ports to VLAN 100.
Switch(config-if-1-3)# vlan dot1q-vlan mode
access
Set the selected ports to access mode
(untagged).
Switch(config-if-1-3)# vlan dot1q-vlan access-
vlan 100
Set the selected ports‟ PVID to 100.
2.5.18 Show interface statistics Command
The command “show interface statistics” that can display port traffic statistics, port packet
error statistics and port analysis history can be used either in Privileged mode # and Global
Configuration mode (config)#. “show interface statistics” is useful for network administrators
to diagnose and analyze port traffic real-time conditions.
Switch(config)# show interface
statistics analysis
Display packets analysis (events) for
each port.
Switch(config)# show interface
statistics analysis [port_list]
Display packets analysis for the
selected ports.
Switch(config)# show interface
statistics analysis rate
Display packets analysis (rates) for
each port.
Switch(config)# show interface
statistics error
Display error packets statistics (events)
for each port.
Switch(config)# show interface
statistics error [port_list]
Display error packets statistics (events)
for the selected ports.
Switch(config)# show interface
statistics error rate
Display error packets statistics (rates)
for each port.
Switch(config)# show interface
statistics traffic
Display traffic statistics (events) for
each port.
Switch(config)# show interface
statistics traffic [port_list]
Display traffic statistics (events) for the
selected ports.
Switch(config)# show interface
statistics traffic rate
Display traffic statistics (rates) for each
port.