Configuring Vlan Interface Basic Settings; Configuration Procedure; Configuring A Vlan Interface - HP A5830 Configuration Manual

Layer 2 lan switching
Hide thumbs Also See for A5830:
Table of Contents

Advertisement

Configuring VLAN interface basic settings

For hosts of different VLANs to communicate, you must use a router or Layer 3 switch to perform Layer 3
forwarding. You use VLAN interfaces to achieve this.
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, create one VLAN interface. 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

Before you create a VLAN interface for a VLAN, create the VLAN.
To configure basic settings of a VLAN interface:
Step...
1.
Enter system view
2.
Create a VLAN interface
and enter VLAN interface
view
3.
Assign an IP address to the
VLAN interface
4.
Configure the description of
the VLAN interface
5.
Set the MTU for the VLAN
interface
6.
Restore the default settings
for the VLAN interface
7.
Shut down the VLAN
interface

Configuring a VLAN interface

Network requirements
As shown in
different IP subnets and cannot communicate with each other.
Command...
system-view
interface vlan-interface
vlan-interface-id
ip address ip-address {
mask | mask-length } [ sub
]
description text
mtu size
default
shutdown
Figure
34, PC A is assigned to VLAN 5. PC B is assigned to VLAN 10. The PCs belong to
Remarks
Required
If the VLAN interface already exists, you
enter its view directly
Optional
By default, no IP address is assigned to any
VLAN interface
Optional
By default, the description of a VLAN is the
VLAN interface name. For example, Vlan-
interface1 Interface
Optional
By default, the MTU is 1500 bytes
Optional
Optional
By default, a VLAN interface is in the up
state; the VLAN interface is up if one or
more ports in the VLAN is up, and goes
down if all ports in the VLAN go down
A VLAN interface shut down with the
shutdown command is in the DOWN
(Administratively) state until you bring it up,
regardless of how the state of the ports in
the VLAN changes
104

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents