Administrator Guide

Layer 2 Switching Commands 308
vlan-id
Specify a valid VLAN; the range is 1 to 4093.
Default Configuration
This command has no default configuration.
Command Mode
User Exec, Privileged Exec mode, Configuration mode and all Configuration
submodes
User Guidelines
This command has no user guidelines.
Example
In this example, all classes of entries in the bridge-forwarding database are
displayed.
console#show mac address-table vlan 1
Mac Address Table
-------------------------------------
Vlan Mac Address Type Ports
---- --------------- ------- -------
1 0000.0001.0000 Dynamic Gi1/0/1
1 0000.8420.5010 Dynamic Gi1/0/1
1 0000.E26D.2C2A Dynamic Gi1/0/1
1 0000.E89A.596E Dynamic Gi1/0/1
1 0001.02F1.0B33 Dynamic Gi1/0/1
Total Mac Addresses for this criterion: 5
show port-security
Use the show ports security command to display port security (MAC locking)
configuration.
Syntax
show port-security [ interface-id | all | dynamic interface-id | static interface-id
| violation interface-id]
interface-id
—A physical or port channel interface identifier.
2CSNXXX_SWUM204.book Page 308 Monday, January 25, 2016 1:25 PM