10 switchport port-security timeout – PLANET XGS3-24040 User Manual

Page 192

Advertising
background image

12-58

Function:

Sets the maximum number of secure MAC addresses for a port; the “no switchport port-security

maximum” command restores the maximum secure address number of 1.

Command mode:

Port Mode.

Parameter:

< value> is the up limit for static secure MAC address, the valid range is 1 to 128.

Default:

The default maximum port secure MAC address number is 1.

Usage Guide:

The MAC address binding function must be enabled before maximum secure MAC address number

can be set. If secure static MAC address number of the port is larger than the maximum secure

MAC address number set, the setting fails; extra secure static MAC addresses must be deleted, so

that the secure static MAC address number is no larger than the maximum secure MAC address

number for the setting to be successful.

Example:

Set the maximum secure MAC address number for port 1.

Switch(config)#interface Ethernet 1/1

Switch(Config-If-Ethernet1/1)# switchport port-security maximum 4

12.2.10 switchport port-security timeout

Command:

switchport port-security timeout <value>

no switchport port-security timeout

Function:

Set the timer for port locking; the “no switchport port-security timeout” command restores the

default setting.

Parameter:

< value> is the timeout value, the valid range is 0 to 300s.

Command mode:

Port Mode.

Default:

Port locking timer is not enabled by default.

Advertising