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
     

    Related Documentation

     

    Verifying That a Series of Tagged VLANs Has Been Created

    Purpose

    Verify that a series of tagged VLANs has been created on the switch.

    Action

    1. Display the VLANs in the ascending order of their VLAN ID:
      user@switch> show vlans sort-by tag
      Name             Tag        Interfaces
      __employee_120__  120
                                  xe-0/0/22.0*
      __employee_121__  121
                                  xe-0/0/22.0*
      __employee_122__  122
                                  xe-0/0/22.0*
      __employee_123__  123
                                  xe-0/0/22.0*
      __employee_124__  124
                                  xe-0/0/22.0*
      __employee_125__  125
                                  xe-0/0/22.0*
      __employee_126__  126
                                  xe-0/0/22.0*
      __employee_127__  127
                                  xe-0/0/22.0*
      __employee_128__  128
                                  xe-0/0/22.0*
      __employee_129__  129
                                  xe-0/0/22.0*
      __employee_130__  130
                                  xe-0/0/22.0*
      
    2. Display the VLANs by the alphabetical order of the VLAN name:
      user@switch> show vlans sort-by name
      Name             Tag   Interfaces
      
      __employee_120__ 120
                             xe-0/0/22.0*
      __employee_121__ 121
                             xe-0/0/22.0*
      __employee_122__ 122
                             xe-0/0/22.0*
      __employee_123__ 123
                             xe-0/0/22.0*
      __employee_124__ 124
                             xe-0/0/22.0*
      __employee_125__ 125
                             xe-0/0/22.0*
      __employee_126__ 126
                             xe-0/0/22.0*
      __employee_127__ 127
                             xe-0/0/22.0*
      __employee_128__ 128
                             xe-0/0/22.0*
      __employee_129__ 129
                             xe-0/0/22.0*
      __employee_130__ 130
                             xe-0/0/22.0*
    3. Display the VLANs by specifying the VLAN range name (here, the VLAN range name is employee):
      user@switch> show vlans employee
      Name             Tag   Interfaces
      
      __employee_120__ 120
                             xe-0/0/22.0*
      __employee_121__ 121
                             xe-0/0/22.0*
      __employee_122__ 122
                             xe-0/0/22.0*
      __employee_123__ 123
                             xe-0/0/22.0*
      __employee_124__ 124
                             xe-0/0/22.0*
      __employee_125__ 125
                             xe-0/0/22.0*
      __employee_126__ 126
                             xe-0/0/22.0*
      __employee_127__ 127
                             xe-0/0/22.0*
      __employee_128__ 128
                             xe-0/0/22.0*
      __employee_129__ 129
                             xe-0/0/22.0*
      __employee_130__ 130
                             xe-0/0/22.0*

    Meaning

    The sample output shows the VLANs configured on the switch. The series of tagged VLANs is displayed: __employee__120__ through __employee_130__. Each of the tagged VLANs is configured on the trunk interface xe-0/0/22.0. The asterisk (*) next to the interface name indicates that the interface is UP.

    When a series of VLANs is created using the vlan-range statement, the VLAN names are preceded and followed by a double underscore.

     

    Related Documentation

     

    Published: 2013-08-15