GSWB 8.3 Operation Commands

8.3.5VLAN-related commands

8.3.5.1show vlan

This command displays parameters of all VLANs defined on the switch or a specific VLAN (whose VLAN ID or name is specified) defined on the switch. If no port- channel port has been created, "none" is displayed for the corresponding interface. A VLAN can be displayed by the show vlan command only when the VLAN has been created and allocated by the switchport command.

(1) Synopsis

show vlan [id <vlan-id> name <vlan-name>]

(2) Options

z[id <vlan-id>name <vlan-name>] (optional)

If you specify id, specify vlan-id next. The range of values that can be specified for vlan-id is between 1 and 4094.

If you specify name, specify vlan-name next.

If this option is omitted, the command will display all configured VLANs.

(3)Command Mode

user exec

enabled exec

(4) See also

show interface switchport

C122-E003-02EN

8-219