3 vlan <1-4094, 4 vlan vlan_list – CANOGA PERKINS 9175 Command Reference User Manual
Page 92
CanogaOS Command Reference
6-2
This example shows how to enable dscp on vlan 1:
Switch(config-vlan)# vlan 1 replace dscp
This example shows how to disable dscp on vlan 1:
Switch(config-vlan)# vlan 1 replace dscp
Related Commands
None
6.3 vlan <1-4094>
Use the vlan VLAN configuration command to configure VLAN characteristics for a VLAN in the VLAN
database. You access VLAN configuration mode by entering the vlan database privileged EXEC
command. Use the no form of this command to delete a VLAN.
Command Syntax
vlan vlan [name name] [state {enable |disable}]
no vlan vlan
vlan: <1-4094> VLAN id
name: the name for specific vlan, no more than 16 characters
enable: set the operational state of the VLAN to enable, and it is enabled by default
disable: set the operational state of the VLAN to disable
Command Mode
VLAN configuration
Usage
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 create vlan 11 and named it to “vlan11”:
Switch(config-vlan)# vlan 11 name vlan11 state enable
This example shows how to remove vlan 11:
Switch(config-vlan)# no vlan 11
Related Commands
vlan VLAN_LIST
show vlan vlan
show vlan all
6.4 vlan VLAN_LIST
Use the vlan VLAN_LIST configuration command to add a normal-range VLANs to the VLAN database.