13 switchport mac-vlan enable, 14 switchport subnet-vlan enable, 13 switchport mac-vlan enable -70 – PLANET WGSW-52040 User Manual

Page 301: 14 switchport subnet-vlan enable -70

Advertising
background image

17-70

17.3.13 switchport mac-vlan enable

Command:

switchport mac-vlan enable

no switchport mac-vlan enable

Function:

Enable the MAC-based VLAN function on the port; the no form of this command will disable the MAC-based VLAN

function on the port.

Parameter:

None.

Command Mode:

Port Mode.

Default:

The MAC-base VLAN function is enabled on the port by default.

Usage Guide:

After adding a MAC address to specified VLAN, the MAC-based VLAN function will be globally enabled. This

command can disable the MAC-based VLAN function on specified port to meet special user applications.

Example:

Disable the MAC-based VLAN function on port1.

Switch#config

Switch(config)#interface ethernet 1/1

Switch(Config-If-Ethernet1/1)#no switchport mac-vlan enable

17.3.14 switchport subnet-vlan enable

Command:

switchport subnet-vlan enable

no switchport subnet-vlan enable

Function:

Enable the IP-subnet-based VLAN on the port; the no form of this command disables the IP-subnet-based VLAN

Advertising