7-60
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 7 Administering the Switch
Managing the MAC Address Table
Beginning i n privileged EX EC mo de , follow these s teps to a dd a se cure ad dress:
To remove a secure address, use the no switchport port-security mac-address mac-address global
configurati on comm a nd.

Displaying Address Table Entries

You can di splay the MAC address table by using one or more of the privileged EXEC comma nds
describe d in Table 7-5:
Command Purpose
Step 1 configure terminal Enter globa l configurati on 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 ent ry.
Step 6 copy running-config
startup-config (Opti onal) Save your entries in th e configurat ion file.
Table 7-5 Commands for Displaying the MAC Address Table
Command Description
show mac address-table address Displays M AC address table informa tion for the spec ified 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 dyn ami c MAC address table entries only.
show mac add ress-tab le inte rfac e 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.