Configuring basic settings of a vlan interface, Vlan interface overview, Configuration procedure – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 101

Advertising
background image

86

NOTE:

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 protocol reserved or dynamic VLAN, remove the configuration from the VLAN first, and
execute the undo vlan command.

After associating an isolate-user-VLAN with a secondary VLAN, you cannot add ports to, remove ports
from, or remove the VLANs. To do that, remove the association first.

You can configure broadcast suppression to limit the size of broadcast traffic permitted to pass through
a VLAN. When the broadcast traffic exceeds the upper threshold, the exceeding broadcast traffic will be

dropped.

Configuring basic settings of a VLAN interface

VLAN interface overview

For hosts of different VLANs to communicate, you must use a router or Layer 3 switch to perform Layer 3

forwarding. To achieve this, VLAN interfaces are used.
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 it as the gateway of the VLAN to forward traffic

destined for an IP subnet different from that of the VLAN.

Configuration procedure

Follow these steps to configure basic settings of a VLAN interface:

To do…

Use the command…

Remarks

Enter system view

system-view

Create a VLAN interface and
enter VLAN interface view

interface vlan-interface
vlan-interface-id

Required
If the VLAN interface already exists, you
enter its view directly.

Assign an IP address to the
VLAN interface

ip address ip-address { mask |
mask-length } [ sub ]

Optional
By default, no IP address is assigned to any
VLAN interface.

Configure the description of
the VLAN interface

description text

Optional
By default, the description of a VLAN is the
VLAN interface name. For example,

Vlan-interface1 Interface.

Advertising