This section describes the commands you use to configure double VLAN (DVLAN). Double VLAN tagging is a way to pass VLAN traffic from one customer domain to another through a Metro Core in a simple and cost effective manner. The additional tag on the traffic helps differentiate between customers in the MAN while preserving the VLAN identification of the individual customers when they enter their own 802.1Q domain.
dvlan-tunnel ethertype (Global Config)
This command configures the ethertype for all interfaces. The two-byte hex ethertype is used as the first 16 bits of the DVLAN tag. The ethertype may have the values of <802.1Q>, <vman>, or <custom>. If the ethertype has an optional value of <custom>, then it is a custom tunnel value, and ethertype must be set to a value in the range of 0 to 65535.
custom: Configure the value of the custom tag in the range from 0 to 65535.
vman: Represents the commonly used value of 0x88A8.
dvlan-tunnel ethertype (Interface Config)
Use this command to associate globally defined TPID(s) to an interface or range of interfaces. If the TPID is not yet defined, the system returns an error message to the user.
custom: Configure the value of the custom tag in the range from 0 to 65535.
vman: Represents the commonly used value of 0x88A8.
no dvlan-tunnel ethertype (Interface Config)
Use the no form of the command to disassociate globally defined TPID(s) to an interface.
Format: no dvlan-tunnel ethertype {802.1Q | vman | custom <0-65535>}
Mode: Interface Config
mode dot1q-tunnel
This command is used to enable Double VLAN Tunneling on the specified interface.
Default: disabled
Format: mode dot1q-tunnel
Mode: Interface Config
no mode dot1q-tunnel
This command is used to disable Double VLAN Tunneling on the specified interface. By default, Double VLAN Tunneling is disabled.
Format: no mode dot1q-tunnel
Mode: Interface Config
mode dvlan-tunnel
Use this command to enable Double VLAN Tunneling on the specified interface.
NOTE: When you use the dvlan-tunnel command on an interface, it becomes a service provider port. Ports that do not have double VLAN tunneling enabled are customer ports.
Default: disabled
Format: mode dvlan-tunnel
Mode: Interface Config
no mode dvlan-tunnel
This command is used to disable Double VLAN Tunneling on the specified interface. By default, Double VLAN Tunneling is disabled.
Format: no mode dvlan-tunnel
Mode: Interface Config
show dot1q-tunnel
Use this command without the optional parameters to display all interfaces enabled for Double VLAN Tunneling. Use the optional parameters to display detailed information about Double VLAN Tunneling for the specified interface or all interfaces.
Format: show dot1q-tunnel [interface {<unit/slot/port> | all}]
Mode:
Privileged EXEC
User EXEC
The display parameters for above command are:
Interface:<unit/slot/port>
Mode: The administrative mode through which Double VLAN Tunneling can be enabled or disabled. The default value for this field is disabled.
Ether Type: A 2-byte hex EtherType to be used as the first 16 bits of the DVLAN tunnel. There are three different EtherType tags. The first is 802.1Q, which represents the commonly used value of 0x8100. The second is vMAN, which represents the commonly used value of 0x88A8. If EtherType is not one of these two values, then it is a custom tunnel value, representing any value in the range of 0 to 65535.
show dvlan-tunnel
Use this command without the optional parameters to display all interfaces enabled for Double VLAN Tunneling. Use the optional parameters to display detailed information about Double VLAN Tunneling for the specified interface or all interfaces.
Format: show dvlan-tunnel [interface {<unit/slot/port> | all}]
Mode:
Privileged EXEC
User EXEC
The display parameters for above command are:
Interface: <unit/slot/port>
Mode: The administrative mode through which Double VLAN Tunneling can be enabled or disabled. The default value for this field is disabled.
EtherType: A 2-byte hex EtherType to be used as the first 16 bits of the DVLAN tunnel. There are three different EtherType tags. The first is 802.1Q, which represents the commonly used value of 0x8100. The second is vMAN, which represents the commonly used value of 0x88A8. If EtherType is not one of these two values, then it is a custom tunnel value, representing any value in the range of 0 to 65535.