Cisco 220 Series Smart Plus Reference Manual page 101

Smart plus switches command line interface
Hide thumbs Also See for 220 Series Smart Plus:
Table of Contents

Advertisement

Address Table Commands
switchport port-security mode maximum
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
dynamic— Limited dynamic lock. The switch learns MAC addresses up to
the configured limit of allowed addresses. After the limit is reached, the
switch does not learn additional addresses. In this mode, the addresses are
subject to aging and relearning.
max-addr —
Maximum number of MAC addresses that can be learned on
the port.
action
The action to be applied to the packets arriving on a locked port.
-
discard—Discards the packets with unlearned source addresses.
-
discard-snmp-log—Discards the packets with unlearned source
addresses, an SNMP trap is sent, and a SYSLOG message is logged.
-
discard-snmp-log-shutdown—Discards the packets with unlearned
source addresses, an SNMP trap is sent, a SYSLOG message is logged,
and shuts down the port.
-
forward—Forwards the packets with unlearned source addresses, but
does not learn the address.
seconds
trap-freq
interval in seconds between consecutive traps. (Range: 1 to 1000000)
Default Configuration
The feature is disabled by default.
The default mode is discard.
The default number of seconds is zero, but if discard-snmp-log or discard-snmp-
log-shutdown is entered, trap-freq
Command Mode
Interface Configuration mode
User Guidelines
The command may be used only when the interface is in the regular mode
(nonsecure with unlimited MAC learning).
See the mac address-table static command for information about MAC address
attributes (type and time-to-live).
When the switchport port-security command enables the lock mode on a port, all
dynamic addresses learned on the port are changed to permanent secure
addresses.
—Sends SNMP traps and specifies the minimum time
seconds
must also be entered.
5
99

Advertisement

Table of Contents
loading

Table of Contents