XG Series User's Guide Chapter 5 Command Reference
VLAN Information Settings
156
<ether-type>
Specify the Ethertype or LLC value if the protocol is defined by the user.
Specify the Ethertype value for Ethernet II format or IEEE 802.3 SNAP format frames,
or specify an LLC value (DSAP or SSAP) for IEEE 802.3 LLC format frames, using a 4-
digit hexadecimal value (from 0000 to ffff).
Setting example)
ipx : ethertype=8137,8138
appletalk : ethertype=809b,80f3
If EthernetII format was specified, the EtherType value = 0000 to 05ff setting is
disabled.
Use Mode Configuration mode (admin class)
Explanation Set the protocol VLAN conditions using this command.
The protocol can be set by one of the following two methods.
Selecting a system-defined protocol (ipv4/ipv6/fna).
Directly specifying a protocol type in the user definition.
Caution
No protocol VLANs can be set for the default VLAN (VLAN ID=1).
Up to 8 definitions can be given to set the user-defined protocol conditions for the
entire device.
Both the system-defined <protocol-type> definition and the user definition cannot be
specified in the same VLAN all together.
The same protocol definition as the system-defined <protocol-type> definition can be
used as the user definition.
However, if these definitions compete against each other on the same port, only the
VLAN with a smaller identification number will be enabled. For example, the following
can be set:
ether 1 vlan untag 10
ether 2 vlan untag 20
vlan 10 protocol ipv4
vlan 20 protocol 0 ethertype 0800
However, if "ether 1 vlan untag 10,20" is set for the Ethernet port, the ether1 port is
included in VLAN10 but not included in VLAN20.
The same protocol definition can be used for multiple different VLANs.
However, if those VLANs compete against each other on the same port, only the VLAN
with a smaller identification number will be enabled. For example, the following can be
set:
ether 1 vlan untag 10
ether 2 vlan untag 20
vlan 10 protocol ipv4
vlan 20 protocol ipv4
However, if "ether 1 vlan untag 10,20" is set for the Ethernet port, the ether1 port is
included in VLAN10 but not included in VLAN20.
If the protocol type differs, multiple protocol VLANs can be set on the same port. For
example, the following can be set:
ether 1 vlan untag 10,20
vlan 10 protocol ipv4
vlan 20 protocol ipv6
If "delete vlan <vid> protocol" is set, all VLAN protocol conditions are deleted, but the
VLAN itself is not deleted. (The VLAN can be deleted by the "ether vlan" command.)