DELL 8132 ユーザーズマニュアル

ページ / 1818
Address Table Commands
305
Syntax
port security [discard
no port security
• discard — Discards frames with unlearned source addresses. This is the 
default if no option is indicated.
Default Configuration 
Disabled
No port security
Command Mode
Interface Configuration (gigabitethernet, port-channel, tengigabitethernet, 
fortygigabitethernet) mode
User Guidelines
When port security is enabled on an interface, all dynamic entries learned up 
to that point are flushed, and new entries can be learned only to the limit set 
by the port security max command. The default limit is 100 dynamic MAC 
addresses.
Example
In this example, frame forwarding is enabled without learning, and with traps 
sent every 100 seconds on port gi1/0/1.
console(config)#interface gigabitethernet te1/0/1
console(config-if-Te1/0/1)#port security trap 100
port security max
Use the port security max command in Interface Configuration mode to 
configure the maximum addresses that can be learned on the port while the 
port is in port security mode. To return to the system default, use the no form 
of this command.
Syntax
port security max 
max-addr
no port security max
2CSPC4.X8100-SWUM102.book  Page 305  Friday, March 15, 2013  8:56 AM