14 switchport subnet-vlan enable – PLANET XGS3-24040 User Manual
Page 180
11-46
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
11.2.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 function on the port.
Parameter:
None.
Command Mode:
Port Mode.
Default:
The IP-subnet-based VLAN is enabled on the port by default.