6 show dynamic-vlan prefer, 6 show dynamic-vlan prefer -77 – PLANET XGS3-24042 User Manual
Page 231

12-77
vlan-id is the ID of VLAN, the valid range is 1~4094;
priority is the priority, the range is 0~7;
all indicates all the encapsulate protocols.
Command Mode:
Global Mode.
Default:
No protocol joined the VLAN by default.
Usage Guide:
The command adds specified protocol into specified VLAN. If there is any non VLAN label packet
from specified protocol enters through the switch port, it will be assigned with specified VLAN ID
and enter the specified VLAN. No matter which port the packets go through, their belonging VLAN is
the same. The command will not interfere with VLAN labeled data packets. It is recommended to
configure ARP protocol together with the IP protocol or else some application may be affected.
Example:
Assign the IP protocol data packet encapsulated by the EthernetII to VLAN200.
Switch#config
Switch(config)#protocol-vlan mode ethernetii etype 2048 vlan 200
12.2.6 show dynamic-vlan prefer
Command:
show dynamic-vlan prefer
Function:
Display the preference of the dynamic VLAN.
Command Mode:
Admin Mode and Configuration Mode.
Usage Guide:
Display the dynamic VLAN preference.
Example:
Display current dynamic VLAN preference.
Switch#show dynamic-vlan prefer
Mac Vlan/Voice Vlan
IP Subnet Vlan
Protocol Vlan