beautypg.com

Port security mode, Port security max, Port security mode port security max – Allied Telesis AT-S95 CLI (AT-8000GS Series) User Manual

Page 59

background image

Address Table Commands

Page 59

User Guidelines

There are no user guidelines for this command.

Example

The following example forwards all packets from port 1/g1 without learning addresses of packets from unknown
sources and sends traps every 100 seconds if a packet with an unknown source address is received.

port security mode

The port security mode Interface Configuration mode command configures the port security mode. Use the no
form of this command to return to 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 — Delete the current dynamic MAC addresses associated with the port. Learn up to the

maximum addresses allowed on the port. Relearning and aging are enabled.

Default Configuration

Lock.

Command Mode

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

The following example sets port security mode to dynamic for Ethernet interface 1/g7.

port security max

The port security max Interface Configuration (Ethernet, port-channel) mode command configures the maximum
number of addresses that can be learned on the port while the port is in port security mode. Use the no form of
this command to return to the default configuration.

Syntax

port security max max-addr

console(config)# interface ethernet 1/g1

console(config-if)# port security forward trap 100

console(config)# interface ethernet 1/g7