Switchport Port-Security Mode Maximum - Cisco 220 Series Smart Plus Reference Manual

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

switchport port-security mode maximum
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
Syntax
switchport port-security
no switchport port-security
Parameters
N/A
Default Configuration
The port security is disabled by default.
Command Mode
Interface Configuration mode
Example
switchxxxxxx(config)# interface gi1
switchxxxxxx(config-if)# switchport port-security
To set the port security learning mode and the maximum number of MAC
addresses that can be learned on an interface, use the switchport port-security
mode maximum Interface Configuration mode command.
To revert to its default settings, use the no form of this command.
Syntax
switchport port-security mode {classic | dynamic} maximum
discard | {discard-snmp-log trap-freq
seconds
trap-freq
} | forward}
no switchport port-security maximum
Parameter
classic— Classic lock. All learned MAC addresses on the port are locked
and the switch learns up to the maximum number of addresses allowed on
the port. The learned addresses are not subject to aging or re-learning.
seconds
} | {discard-snmp-log-shutdown
5
max-addr
action {
98

Advertisement

Table of Contents
loading

Table of Contents