5 protocol-vlan – PLANET XGS3-24040 User Manual
Page 175
11-41
Default:
No MAC VLAN is configured by default.
Usage Guide:
Set specified VLAN for MAC VLAN, There can be only one MAC VLAN at the same time.
Example:
Set VLAN100 to MAC VLAN.
Switch#config
Switch(config)#mac-vlan vlan 100
11.2.5 protocol-vlan
Command:
protocol-vlan mode {ethernetii etype
etype
no protocol-vlan {mode {ethernetii etype
snap etype
Function:
Add the correspondence between the protocol and the VLAN namely specify the protocol to join
specified VLAN. The “no” form of this command deletes all/the correspondence.
Parameter:
mode is the encapsulate type of the configuration which is ethernetii, llc, snap; the encapsulate type
of the ethernetii is EthernetII;
etype-id is the type of the packet protocol, with a valid range of 1536~65535;
llc is LLC encapsulate format;
dsap-id is the access point of the destination service, the valid range is 0~255;
ssap-id is the access point of the source service with a valid range of 0~255;
snap is SNAP encapsulate format;
etype-id is the type of the packet protocol, the valid range is 1536~65535;
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.