1 switchport mac-address dynamic maximum, 2 vlan mac-address dynamic maximum, Mac in vlan and ip – PLANET XGS3-24040 User Manual

Page 765: Switchport mac, Address dynamic maximum, Vlan mac

Advertising
background image

43-1

Chapter 43 Commands for the Number

Limitation Function of Port, MAC in

VLAN and IP

43.1 switchport mac-address dynamic maximum

Command: switchport mac-address dynamic maximum <value>

no switchport mac-address dynamic maximum

Function: Set the max number of dynamic MAC address allowed by the port, and, at the same time,

enable the number limitation function of dynamic MAC address on the port; “no switchport

mac-address dynamic maximum” command is used to disable the number limitation function of

dynamic MAC address on the port.

Parameters: <value> upper limit of the number of dynamic MAC address of the port, ranging from 1 to

4096.

Default Settings: The number limitation function of dynamic MAC address on the port is disabled.

Command Mode: Port mode.

Usage Guide: When configuring the max number of dynamic MAC address allowed by the port, if the

number of dynamically learnt MAC address on the port is already larger than the max number of dynamic

MAC address to be set, the extra dynamic MAC addresses will be deleted. This function is mutually

exclusive to functions such as dot1x, MAC binding, if the functions of dot1x, MAC binding or TRUNK are

enabled on the port, this function will not be allowed.

Examples:

Enable the number limitation function of dynamic MAC address in port 1/2 mode, the max number to be

set is 20

Switch(config)#interface ethernet 1/2

Switch(Config-If-Ethernet1/2)# switchport mac-address dynamic maximum 20

Disable the number limitation function of dynamic MAC address in port 1/2 mode

Switch(Config-If-Ethernet1/2)#no switchport mac-address dynamic maximum

43.2 vlan mac-address dynamic maximum

Command: vlan mac-address dynamic maximum <value>

no vlan mac-address dynamic maximum

Function: Set the max number of dynamic MAC address allowed in the VLAN, and, at the same time,

enable the number limitation function of dynamic MAC address in the VLAN; “no ip mac-address

dynamic maximum” command is used to disable the number limitation function of dynamic MAC

address in the VLAN.

Parameters: <value> upper limit of the number of MAC address in the VLAN, ranging from 1 to 4096.

Default Settings: The number limitation function of dynamic MAC address in the VLAN is disabled.

Command Mode: VLAN Configuration Mode.

Advertising