Cisco Systems DOC-7814982 Stereo System User Manual


 
7-60
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 7 Administering the Switch
Managing the MAC Address Table
Beginning in privileged EXEC mode, follow these steps to add a secure address:
To remove a secure address, use the no switchport port-security mac-address mac-address global
configuration command.
Displaying Address Table Entries
You can display the MAC address table by using one or more of the privileged EXEC commands
described in Table 7-5:
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify an interface, and enter interface configuration mode.
Step 3
switchport port-security
mac-address mac-address
Add a secure address.
Step 4
end Return to privileged EXEC mode.
Step 5
show port-security Verify your entry.
Step 6
copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Table 7-5 Commands for Displaying the MAC Address Table
Command Description
show mac address-table address Displays MAC address table information for the specified MAC address.
show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
show mac address-table count Displays the number of addresses present in all VLANs or the specified VLAN.
show mac address-table dynamic Displays dynamic MAC address table entries only.
show mac address-table interface Displays the MAC address table information for the specified interface.
show mac address-table multicast Displays the Layer 2 multicast entries for all VLANs or the specified VLAN.
show mac address-table static Displays static MAC address table entries only.
show mac address-table vlan Displays the MAC address table information for the specified VLAN.