Configuring Basic Settings Of A Vlan Interface - H3C S7500E-X Configuration Manual

Layer 2 lan switching
Hide thumbs Also See for H3C S7500E-X:
Table of Contents

Advertisement

NOTE:
• As the system default VLAN, VLAN 1 cannot be created or deleted.
• Before you delete a dynamic VLAN or a VLAN locked by an application, you must first remove
the configuration from the VLAN.

Configuring basic settings of a VLAN interface

For hosts of different VLANs to communicate at Layer 3, you can use VLAN interfaces. 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 and
assign an IP address to it. The VLAN interface acts as the gateway of the VLAN to forward packets
destined for another IP subnet.
When you configure a VLAN interface, follow these restrictions and guidelines:
Before you create a VLAN interface for a VLAN, create the VLAN first.
You cannot create a VLAN interface for a sub-VLAN. For more information about sub-VLANs,
see
"Configuring super
You cannot create VLAN interfaces for secondary VLANs that have the following
characteristics:
Associated with the same primary VLAN.
Enabled with Layer 3 communication in VLAN interface view of the primary VLAN interface.
For more information about secondary VLANs, see
To configure basic settings of a VLAN interface:
Step
Enter system view.
1.
Create a VLAN interface
2.
and enter VLAN interface
view.
Assign an IP address to
3.
the VLAN interface.
Configure the description
4.
of the VLAN interface.
Configure the MTU for the
5.
VLAN interface.
Configure the expected
6.
bandwidth of the interface.
(Optional.) Restore the
7.
default settings for the
VLAN interface.
VLANs."
Command
system-view
interface vlan-interface
vlan-interface-id
ip address ip-address { mask |
mask-length } [ sub ]
description text
mtu size
bandwidth bandwidth-value
default
116
"Configuring the private
Remarks
N/A
If the VLAN interface already exists,
you enter its view directly.
By default, no VLAN interface is
created.
By default, no IP address is assigned to
a VLAN interface.
The default setting is the VLAN
interface name. For example,
Vlan-interface1 Interface.
The default setting is 1500 bytes.
By default, the expected bandwidth (in
kbps) is the interface baud rate divided
by 1000.
N/A
VLAN."

Advertisement

Table of Contents
loading

Table of Contents