Address Table Commands 85
port security routed secure-address
The
port security routed secure-address
Interface Configuration mode command adds MAC-layer
secure addresses to a routed port. Use the
no
form of this command to delete the MAC addresses.
Syntax
port security routed secure-address
mac-address
no port security routed secure-address
mac-address
mac-address
—Specify a MAC address in the format of xx:xx:xx:xx:xx:xx.
Default Configuration
No addresses are defined.
Command Mode
Interface configuration (Ethernet, port-channel). Cannot be configured for a range of
interfaces (range context).
User Guidelines
The command enables adding secure MAC addresses to a routed ports in port security mode.
The command is available when the port is a routed port and in port security mode. The
address is deleted if the port exits the security mode or is not a routed port.
Example
In this example, the MAC-layer address 66:66:66:66:66:66 is added to port g1.
show bridge address-table
The
show bridge address-table
Privileged EXEC mode command displays all entries in the bridge-
forwarding database.
Syntax
show bridge address-table
[
vlan
vlan
] [
ethernet
interface |
port-channel
port-channel-
number
]
vlan
—Specific valid VLAN, such as VLAN 1.
interface—
A valid Ethernet port
.
Console (config)# interface ethernet g1
Console (config-if)# port security routed secure-address
66:66:66:66:66:66