4 vlan vlan_list, 5 show vlan – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 119

Advertising
background image

CanogaOS Command Line Reference

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 119 of 855

6.4 vlan VLAN_LIST

Use the vlan VLAN_LIST configuration command to add a normal-range VLANs to the VLAN
database.

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

Advertising