Port Security Mode - Cisco Small Business 300 1.1 Series Administration Manual

Managed switch
Table of Contents

Advertisement

Address Table Commands
78-20269-01 Command Line Interface Reference Guide
Default Configuration
The feature is disabled
The default mode is discard.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Example
The following example forwards all packets to port gi1 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)# gi1
Console(config-if)#

27.21 port security mode

Use the port security mode Interface Configuration (Ethernet, port-channel) mode
command configures the port security learning mode. Use the no form of this
command to restore the default configuration.
Syntax
port security mode {lock | max-addresses}
no port security mode
Parameters
lock—Saves the current dynamic MAC addresses associated with the port
and disables learning, relearning and aging.
max-addresses—Deletes the current dynamic MAC addresses associated
with the port and learns up to the maximum number of addresses allowed
on the port. Relearning and aging are enabled.
Default Configuration
The default port security mode is lock.
port security forward trap
100
27
346

Advertisement

Table of Contents
loading

Table of Contents