Example
Related
Commands
Purpose
Command Modes
Syntax
Syntax
Description
Instructions
Example
Related
Commands
Purpose
Command Modes
Syntax
Instructions
Example
This example describes how to create VLAN 2.
ZXR10(config)#vlan 2
ZXR10(config-vlan)#
show vlan
vlan (VLAN Database
Configuration)
Use this command to create VLANs in batches. Delete VLANs in
batches with the no form of this command.
VLAN database configuration
vlan <vlan-list>[name <vlan-name>]
no vlan <vlan-list>[name]
<vlan-list>
name <vlan-name>
The alias is configured for single VLAN only. It is not allowed that
multiple VLANs have the same alias. When users delete a batch
of VLANs, if one VLAN is VLAN 1 or there is the Layer 3 interface,
the system prompts error information.
This example describes how to enter VLAN database configuration
mode, and create VLANs 2~100.
ZXR10#vlan database
ZXR10(vlan-db)#vlan 2-100
vlan database
vlan database
Use this command to enter VLAN database configuration mode.
Privileged EXEC
vlan database
After the enter of this mode , VLANs can be created or deleted in
batch. Notice that after the batch configuration, the operation of
hot-plug or Active/standby Changeover is performed after a while.
Otherwise, part of entries are lost because the database synchro-
nization has not been finished. There must be interval between
continuous batch operations.
This example describes how to enter VLAN database configuration
mode.
ZXR10#vlan database
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 VLAN Configuration
VLAN list, which can be a list of VLAN IDs
(range: 1~4094) or VLAN names
VLAN name
35