Address Table Commands
port security mode
port security mode
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
Example
In this example, port e1 forwards all packets without learning addresses of
packets from unknown sources and sends traps every 100 seconds if a packet
with an unknown source address is received.
Console(config)# interface ethernet e1
Console(config-if)# port security forward trap 100
The port security mode Interface Configuration mode command configures the
port security mode. To restore defaults, use the no form of this command.
Syntax
port security mode {lock | mac-addresses}
no port security mode
Parameters
•
lock — Saves the current dynamic MAC addresses associated with the
port and disables learning, relearning and aging.
•
mac-addresses — Deletes the current dynamic MAC addresses
associated with the port and learns up to the maximum number addresses
allowed on the port. Relearning and aging are enabled.
Default Configuration
This setting is disabled.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
5
86