Quick Reference Guide
Address Table Commands 121
DELL CONFIDENTIAL – PRELIMINARY 5/15/12 – FOR PROOF ONLY
Example
The following example clears the bridge tables.
port security
The port security Interface Configuration mode command locks the port, thereby, blocking
unknown traffic and preventing the port from learning new addresses. Use the no form of this
command to return to the default configuration.
Syntax
•
port security
[
forward
|
discard |
discard-shutdown
] [
trap
seconds
]
•
no port security
•
forward
— Forwards packets with unlearned source addresses, but does not learn the
address.
•
discard
— Discards packets with unlearned source addresses. This is the default if no option
is indicated.
•
discard-shutdown
— Discards packets with unlearned source addresses. The port is also
shut down.
•
seconds
— Sends SNMP traps and defines the minimum amount of time in seconds between
consecutive traps. (Range: 1 - 1000000)
Default Configuration
This setting is disabled.
Command Mode
Interface Configuration (Ethernet, port-channel) mode.
User Guidelines
There are no user guidelines for this command. 802.1x multiple host mode must be enabled.
Example
The following example enables port 1/e1 to forward 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# clear bridge
Console(config)# interface ethernet 1/e1
Console(config-if)# port security forward trap 100










