Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Verifying That Q-in-Q Tunneling Is Working

    Purpose

    After creating a Q-in-Q VLAN, verify that it is set up properly.

    Action

    1. Use the show configuration vlans command to determine if you successfully created the primary and secondary VLAN configurations:
      user@switch> show configuration vlans
      svlan {
         vlan-id 300;
         dot1q-tunneling {
            customer-vlans [ 101–200 ];
         }
      }
    2. Use the show vlans command to view VLAN information and link status:
      user@switch> show vlans s-vlan-name extensive
      VLAN: svlan, Created at: Thu Oct 23 16:53:20 2008
      802.1Q Tag: 300, Internal index: 2, Admin State: Enabled, Origin: Static
      Dot1q Tunneling Status: Enabled
      Customer VLAN ranges:
                           101–200
      Protocol: Port Mode
      Number of interfaces: Tagged 1 (Active = 0), Untagged  1 (Active = 0)
            xe-0/0/1, tagged, trunk
            xe-0/0/2, untagged, access
      

    Meaning

    The output confirms that Q-in-Q tunnling is enabled and that the VLAN is tagged, and lists the customer VLANs that are associated with the tagged VLAN.

    Published: 2013-08-15