Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show vlans

Syntax

show vlans<brief | detail | extensive><instance instance-name><logical-system logical-system-name><operational><vlan-name)>

Release Information

Command introduced in Junos OS Release 12.3R2.

Command introduced in Junos OS Release 12.3R2 for EX Series switches.

Description

(MX Series routers and EX Series switches only) Display VLAN information.

Options

none

Display information for all VLANs.

brief | detail | extensive

(Optional) Display the specified level of output.

instance instance-name

(Optional) Display information for the specified routing instance.

logical-system logical-system-name

(Optional) Display Ethernet-switching statistics information for the specified logical system.

operational

(Optional) Display information for the operational routing instances.

vlan-name)

(Optional) Display information about the specified VLAN.

Required Privilege Level

view

List of Sample Output


show vlans detail

Sample Output

Routing instance        VLAN name             Tag         Interfaces
VPLS-1                  __VPLS-1__               all
                                                             ae1.0
VPLS-2                  __VPLS-2__               all
                                                             ae3.0
                                                             ge-3/1/2.0
                                                             vt-3/3/10.1048576
default-switch          VLAN1000                 1000
                                                             ae26.0
default-switch          VLAN101                  101
                                                             ae20.0
default-switch          VLAN102                  102
                                                             ae20.0
default-switch          VLAN103                  103
                                                             ae20.0
default-switch          VLAN104                  104
                                                             ae20.0
default-switch          VLAN105                  105
                                                             ae20.0
default-switch          VLAN106                  106
                                                             ae20.0
default-switch          VLAN107                  107
                                                             ae20.0
default-switch          VLAN108                  108
                                                             ae20.0
[...output truncated...]

show vlans detail

user@host> show vlans detail
Routing instance: VPLS-1
  VLAN Name: __VPLS-1__                     State: Active
Tag: all
Internal index: 2, Generation Index:  , Origin: Dynamic
Interfaces:
    ae1.0,tagged
Number of interfaces: Tagged 1    , Untagged 0
Total MAC count: 0

Routing instance: VPLS-2
  VLAN Name: __VPLS-2__                     State: Active
Tag: all
Internal index: 3, Generation Index:  , Origin: Dynamic
Interfaces:
    ae3.0,tagged
    ge-3/1/2.0,tagged
    vt-3/3/10.1048576,tagged
Number of interfaces: Tagged 3    , Untagged 0
Total MAC count: 4

Routing instance: default-switch
  VLAN Name: VLAN1000                       State: Active
Tag: 1000
Internal index: 4, Generation Index: 1, Origin: Static
Layer 3 interface: irb.1000
Interfaces:
    ae26.0,tagged,trunk
Number of interfaces: Tagged 1    , Untagged 0
Total MAC count: 0

Routing instance: default-switch
  VLAN Name: VLAN101                        State: Active
Tag: 101
Internal index: 5, Generation Index: 2, Origin: Static
Layer 3 interface: irb.101
Interfaces:
    ae20.0,tagged,trunk
Number of interfaces: Tagged 1    , Untagged 0
Total MAC count: 1

Routing instance: default-switch
  VLAN Name: VLAN102                        State: Active
Tag: 102
Internal index: 6, Generation Index: 3, Origin: Static
Layer 3 interface: irb.102
Interfaces:
    ae20.0,tagged,trunk
Number of interfaces: Tagged 1    , Untagged 0
Total MAC count: 1
[...output truncated...]

Published: 2013-04-03

Supported Platforms

Published: 2013-04-03