Double VLAN Commands

Use these commands 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 IEEE 802.1Q domain.

dvlan-tunnel ethertype

M4250

M4350

This command configures the ethertype globally or for a specified interface. The two-byte hex ethertype is used as the first 16 bits of the DVLAN tag. The ethertype can 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 1 to 65535.

Default vman
Format dvlan-tunnel ethertype {802.1Q | vman | custom value}
Mode

Global Config

Interface Config

Parameter Description
802.1Q Configure the ethertype as 0x8100.
custom Configure the value of the custom tag in the range from 1 to 65535.
vman Represents the commonly used value of 0x88A8.

no dvlan-tunnel ethertype

This command removes the ethertype value globally or for an interface.

Format no dvlan-tunnel ethertype
Mode

Global Config

Interface Config

mode dot1q-tunnel

M4250

M4350

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

M4250

M4350

Use this command to enable Double VLAN tunneling on the specified interface.

Note: When you use the mode 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

M4250

M4350

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.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show dot1q-tunnel [interface unit/slot/port]
Mode

Privileged EXEC

User EXEC

show dvlan-tunnel

M4250

M4350

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. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show dvlan-tunnel [interface unit/slot/port]
Mode

Privileged EXEC

User EXEC

Command example:

CODE
(NETGEAR Switch) #show dvlan-tunnel

TPIDs Configured............................... 0x88a8
Default TPID................................... 0x88a8
Interfaces Enabled for DVLAN Tunneling......... None

Command example:

CODE
(NETGEAR Switch) #show dvlan-tunnel interface 1/0/1

Interface Mode    EtherType
--------- ------- ------------
1/0/1     Disable 0x88a8