16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
Configuration Tasks
73
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
Enabling Known MAC Address Traffic
To enable the MAC address secure option, use the following commands beginning in privileged EXEC
mode:
Verifying the MAC Address Secure Configuration
Step 1
Use the show mac-address-table secure command to verify the configuration:
Router#
show mac
-
address
-
table
secure
Secure Address Table:
Destination Address Address Type VLAN Destination Port
------------------- ------------ ---- --------------------
0003.0003.0003 Secure 1 FastEthernet 2/8
Creating a Static or Dynamic Entry in the MAC Address Table
To create a static or dynamic entry in the mac address table, use the following commands beginning in
privileged EXEC mode:
Note
Only the port where the link is up will see the dynamic entry validated in the Ethernet switch network
module.
Command
Purpose
Step 1
Router#
configure terminal
Enters global configuration mode.
Step 2
Router#
mac
-
address
-
table
secure
mac
-
address
fastethernet
slot
/
port
[
vlan
vlan id
]
Secures the MAC address traffic on the port. Use the no
form of this command to restore the defaults.
Step 3
Router(config)#
end
Exits configuration mode.
Command
Purpose
Step 1
Router#
configure terminal
Enters global configuration mode.
Step 2
Router#
mac
-
address
-
table
[
dynamic
|
static
]
mac
-
address
fastethernet
slot
/
port
[
vlan
vlan
id
>]
Creates static or dynamic entry in the MAC address table.
Step 3
Router(config)#
end
Exits configuration mode.