show vlan brief

Use this command to display brief VLAN information for all bridges.

Command Syntax

Copy
show vlan (brief | <2-4094>)

Parameters

None

Command Mode

Execution mode and Privileged execution mode

Applicability

This command was introduced before OcNOS version 1.3. Added the Total Vlans field in the command output in OcNOS version 7.0.0.

Example

The following is a sample output from this command.

Copy
OcNOS#show vlan brief 
Bridge  VLAN ID     Name         State   H/W Status      Member ports           
                                                     (u)-Untagged, (t)-Tagged
======= ======= ================ ======= ========== ==========================
1       1       default          ACTIVE  Success    eth1(u) 
1       2       VLAN0002         ACTIVE  Success    
1       3       VLAN0003         ACTIVE  Success    
1       4       VLAN0004         ACTIVE  Success    
1       5       VLAN0005         ACTIVE  Success    
1       10      VLAN0010         ACTIVE  Success    
 
Total VLANs: 6 

Table 24 Explains the show command output fields.

Table 24. show vlan brief output fields

Field

Description

Bridge

Number of bridge in the interface.

VLAN ID

VLAN identifier of the VLAN listed.

Name

Name of the VLAN.

State

Indicates whether the physical link is operational and can pass packets.

H/W Status

Indicates that the hardware is operational.

Member ports

The tagged interfaces to which a VLAN is associated.

Total VLANs

Displays the total number of VLANs currently configured on the device.