16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
Configuration Tasks
117
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
Verifying Dynamic Addresses
Step 1
Use the show mac-address-table dynamic command to verify configuration:
Router#
show mac-address-table dynamic
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 that is forwarded to only one port per VLAN. If you
enter an address that is already assigned to another port, the switch reassigns the secure address to the
new port.
You can enter a secure port address even when the port does not yet belong to a VLAN. When the port
is later assigned to a VLAN, packets destined for that address are forwarded to the port.
To add a secure address, use the following commands beginning in privileged EXEC mode:
To remove a secure address, use the following commands beginning in privileged EXEC mode:
You can remove all secure addresses by using the clear mac-address-table secure command in
privileged EXEC mode.
Verifying Secure Addresses
Step 1
Use the show mac-address-table secure command to verify configuration:
Router#
show mac-address-table secure
Command
Purpose
Step 1
Router#
configure terminal
Enters global configuration mode.
Step 2
Router(config)#
mac-address-table secure
address
hw-addr
interface
interface-id
vlan
vlan-id
Enters the MAC address, its associated port, and the
VLAN ID.
Step 3
Router(config)#
end
Returns to privileged EXEC mode.
Command
Purpose
Step 1
Router#
configure terminal
Enters global configuration mode.
Step 2
Router(config)#
no mac-address-table secure
hw-addr
vlan
vlan-id
Enters the secure MAC address, its associated port, and
the VLAN ID to be removed.
Step 3
Router(config)#
end
Returns to privileged EXEC mode.