beautypg.com

Port security max, Port security routed secure-address – Allied Telesis AT-S95 CLI User Manual

Page 53

background image

Address Table Commands

Page 41

Example

In this example, port security mode is set 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

no port security max

Parameters

max-addr— Maximum number of addresses that can be learned by the port.

(Range: 1-128)

Default Configuration

The default setting is 1 address.

Command Mode

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

This command is only relevant in dynamic learning modes.

Example

In this example, the maximum number of addresses that are learned on port 1/g7 before it is locked is set to 20.

port security routed secure-address

The port security routed secure-address Interface Configuration (Ethernet, port-channel) mode command adds
a MAC-layer secure address to a routed port. Use the no form of this command to delete a MAC address.

Syntax

port security routed secure-address mac-address

no port security routed secure-address mac-address

Parameters

mac-address — A valid MAC address.

Console(config)# interface ethernet 1/g7

Console(config)# interface ethernet 1/g7
Console(config-if)# port security max 20