beautypg.com

Accton Technology ES4710BD User Manual

Page 192

background image

191

E

ES4710BD 10 Slots L2/L3/L4 Chassis Switch

address can be added.

Example: Adding MAC 00-03-0F-FE-2E-D3 to port1.

Switch(Config)#interface Ethernet 1/1

Switch(Config-Ethernet1/1)#switchport port-security mac-address 00-03-0F-FE-2E-D3

8.5.1.2.2.6 clear port-security dynamic

Command: clear port-security dynamic [address <mac-addr> | interface <interface-id> ]

Function: Clears the Dynamic MAC addresses of the specified port.

Command mode: Admin Mode

Parameters: stands MAC address; <interface-id> for specified port number.

Usage Guide: The secure port must be locked before dynamic MAC clearing operation can be

performed in a specified port. If no ports and MAC are specified, then all dynamic MAC addresses

in all locked secure ports will be cleared; if only a port but no MAC address is specified, then all

MAC addresses in the specified port will be cleared.

Example: Deleting all dynamic MAC addresses in port1.

Switch#clear port-security dynamic interface Ethernet 1/1

8.5.1.2.2.7 switchport port-security maximum

Command: switchport port-security maximum <value>

no switchport port-security maximum

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 to 1.

Command mode: Interface Mode

Parameters: < value> is the maximum for static secure MAC addresses, the valid range is 1 to 128.

Default: The default number of maximum port secure MAC addresses is 1.

Usage Guide: The MAC address binding function must be enabled before the maximum number of

secure MAC addresses can be set. If the 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: Setting the maximum secure MAC address number for port 1 to 4.

Switch(Config)#interface Ethernet 1/1

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