beautypg.com

5 show vlan – CANOGA PERKINS 9175 Command Reference User Manual

Page 93

background image

CanogaOS Command Reference

6-3

Command Syntax

vlan VLAN_LIST

no vlan VLAN_LIST

VLAN_LIST: vlan list connected with ‘-’ and ‘,’, for example, “1-10,15,20,30-40”

Command Mode

VLAN configuration

Usage

The vlan list should be connected with ‘-’ and ‘,’, the value should be in the range of <1-4094> and

should be ascending order.

Vlan 1 is the default vlan and all ports have been added to it by default.

Default VLAN 1 can not be removed.

Examples

This example shows how to add vlans of “100,200,300-400”.

Switch(config-vlan)# vlan 100,200,300-400

This example shows how to remove vlans of “100,200,300-400”.

Switch(config-vlan)# no vlan 100,200,300-400

Related Commands

vlan <1-4094>

show vlan vlan

show vlan all

6.5 show vlan

Use this command to display specific vlan information.

Command Syntax

show vlan vlan

vlan:

<1-4094> vlan id

Command Mode

EXEC

Usage

None

Examples

This example shows how to display the information on vlan 11:

Switch# show vlan 11

Related Commands