beautypg.com

Switchport port-security maximum – Allied Telesis AT-S100 User Manual

Page 222

background image

Chapter 8: Port Security Commands

222

Section II: Advanced Configuration

SWITCHPORT PORT-SECURITY MAXIMUM

Syntax

switchport port-security maximum <1-320>

no switchport port-security maximum <1-320>

Parameters

maximum

Sets the maximum number of MAC addresses that can be
accepted by the port. Choose a value between 1 and 320.

Description

Use the SWITCHPORT PORT-SECURITY MAXIMUM command to set
the maximum number of secure MAC addresses that can be learned by
the specified port.

Use the no form of this command to remove maximum the port-security
setting.

To display the current port security settings, use the “SHOW RUNNING-
CONFIG INTERFACE” on page 160.

Command Mode

Interface Configuration mode

Example

The following commands set the maximum number of secure addresses
learned on port 15 to 40:

switch#configure terminal

switch(config)#interface ge15

switch(config-if)#switchport port-security maximum 40

Related Commands

“SWITCHPORT PORT-SECURITY MODE” on page 223

“SWITCHPORT TRUNK ALLOWED VLAN” on page 190