Adding Secure Addresses; Removing Secure Addresses; Adding And Removing Static Address Entries - Cisco Catalyst 2950 Software Manual

Desktop switch software configuration guide
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Managing the MAC Address Tables

Adding Secure Addresses

The secure address table contains secure MAC addresses and their associated ports and VLANs. A
secure address is a manually entered unicast address or dynamically learnt address that is forwarded to
only one port per VLAN. If you enter a static address that is already assigned to another port, the request
will be rejected.
Secure addresses can be learned dynamically if the configured secure addresses do not reach the
maximum limit of the port.
Beginning in privileged EXEC mode, follow these steps to add a secure address:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
switchport port-security mac
address mac-address
Step 4
end
Step 5
show mac-address-table secure Verify your entry.

Removing Secure Addresses

Beginning in privileged EXEC mode, follow these steps to remove a secure address:
Command
Step 1
configure terminal
Step 2
no switchport port-security
mac address mac-address
Step 3
end
Step 4
show mac-address-table secure Verify your entry.
You can remove all secure addresses by using the clear mac-address-table secure command in
privileged EXEC mode.

Adding and Removing Static Address Entries

A static address has these characteristics:
Catalyst 2950 Desktop Switch Software Configuration Guide
6-18
It is manually entered in the address table and must be manually removed.
It can be a unicast or multicast address.
It does not age and is retained when the switch restarts.
Purpose
Enter global configuration mode.
Identify a specific interface for configuration, and enter interface
configuration mode.
Add a secure address.
Return to privileged EXEC mode.
Purpose
Enter global configuration mode.
Remove a secure address.
Return to privileged EXEC mode.
Chapter 6
Configuring the System
78-11380-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents