
Configuring the Cisco Gigabit EtherSwitch EHWIC
How to Configure Gigabit EtherSwitch EHWICs
76
Configuring the Cisco Gigabit EtherSwitch EHWIC
OL-23155-01
Use the clear mac-address-table dynamic command in privileged EXEC mode to remove all dynamic
entries.
Use the show mac-address-table dynamic command in privileged EXEC mode to verify configuration.
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.
Beginning in privileged EXEC mode, follow these steps to add a secure address.
SUMMARY STEPS
1. configure terminal
2. mac-address-table secure hw-address interface gi 0/slot/port vlan vlan-id
3. end
DETAILED STEPS
Use the no mac-address-table secure hw-address interface gi 0/slot/port vlan vlan-id command in
global configuration mode to remove a secure address.
To remove all secure addresses, use the clear mac-address-table secure command in privileged EXEC
mode.
Use the show mac-address-table secure command in priviledged EXEC mode to verify configuration.
Command Purpose
Step 1
configure terminal
Example:
Router(config)#configure terminal
Enters global configuration mode.
Step 2
mac-address-table secure hw-address interface gi
0/slot/port vlan vlan-id
Example:
Router(config)#mac-address-table secure
00c0.00a0.03gi interface gi 0/1/2 vlan 1
Enters the MAC address, its associated port, and the
VLAN ID.
Step 3
end
Example:
Router(config)#end
Returns to privileged EXEC mode.
Comentarios a estos manuales