
XG1200 User's Guide
39/258
All Rights Reserved, Copyright (C) PFU LIMITED 2005
4.6.3 Multiple VLAN
Identifier or TPID: Tag Protocol Identifier is 0x8100 in IEEE 802.1Q.
With the user-defined VLAN tag protocol identifier, the IEEE 802.1Q standard tag can be replaced with a user-defined VPID,
allowing for encapsulation in a multiple-tag VLAN.
For the frame format, refer to TPID (Tag Protocol Identifier) in "
Tag VLAN Frame Format
".
Using Multiple VLAN (also known as double tagging or Q in Q) allows a service provider to transparently forward customers'
VLAN traffic even if the service provider assigns customers traffic to different VLANs.
To configure multiple VLAN using user-defined VLAN tag protocol identifier, carry out the following procedures in the
administrator EXEC mode.
Command
Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# vlan <1-4094> [ name VLAN_NAME ]
Create a VLAN to use.
xg(config)# vlan-statistics collection <1-4094>
[ <1-4094> ]
(Optional)
Configure a VLAN that collects statistics.
xg(config)# interface port 1
Switch to interface edit mode for the port for which you
want to configure the multiple VLAN.
In this example, the global interface configuration mode
is selected for port 1.
xg(config-if)# user-vlan-protocol-id <0x05DD ~
0xFFFF>
Set the user-defined VLAN tag protocol identifier.
xg(config-if)# vlan-member allowed vlan
{ <1-4094> | all }
{ egress-untagging | egress-tagging }
Register a VLAN to which the port belongs.
Specify "egress-tagging" for the port that is output with
the tag of the user-defined VLAN tag protocol identifier
added.
Specify "egress-untagging" for the port that is output
with the tag of the user-defined VLAN tag protocol
identifier removed.
xg(config-if)# ingress-filter tagged-frame
xg(config-if)# ingress-filter untagged-frame
(Optional)
Define a filter on frames received (tagged and untagged
frames) for the port, if necessary.
xg(config-if)# exit
Exit to global configuration mode.
xg(config)# exit
Exit to administrator EXEC mode.
xg# show interface
xg# show vlan
View the port state and VLAN membership state for
each port.