R2511-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V5)
11
Protocols and standards
IEEE 802.1Q, IEEE Standards for Local and Metropolitan Area Networks: Virtual Bridged Local Area
Networks
Configuring basic VLAN settings
Configuration restrictions and guidelines
• As the default VLAN, VLAN 1 cannot be created or removed.
• You cannot manually create or remove VLANs reserved for special purposes.
• To remove a dynamic VLAN, remove the configuration from the VLAN first, and then execute the
undo vlan command.
Configuration procedure
To configure basic VLAN settings:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a VLAN and
enter its view, or create
VLANs in batch.
vlan { vlan-id1 [ to vlan-id2 ] |
all }
Optional.
By default, only the default VLAN (VLAN 1)
exists in the system.
3. Enter VLAN view.
vlan vlan-id
Required only when you create VLANs in
bulk.
4. Configure a name for
the VLAN.
name text
Optional.
The default name is VLAN vlan-id, which is
the ID of the VLAN. For example, the name
of VLAN 100 is VLAN 0100 by default.
5. Configure a description
for the VLAN.
description text
Optional.
The default description is VLAN vlan-id,
which is the ID of the VLAN. For example,
the description of VLAN 100 is VLAN 0100
by default.
Configuring basic settings of a VLAN interface
You can use VLAN interfaces to provide Layer 3 communication between hosts of different VLANs. VLAN
interfaces are virtual interfaces used for Layer 3 communication between different VLANs. They do not
exist as physical entities on devices. For each VLAN, you can create one VLAN interface. You can assign
the VLAN interface an IP address and specify the IP address as the gateway address for the devices in
the VLAN, so that traffic can be routed to other IP subnets.
Before you create a VLAN interface for a VLAN, make sure that the VLAN already exists.
To configure basic settings of a VLAN interface:










