Configuring Port-Based Vlan - HP A5830 Configuration Manual

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

Advertisement

To assign a hybrid port to one or multiple VLANs:
Step...
1.
Enter system view
2.
Enter
interface
view or
port group
view
3.
Configure the link type of the
ports as hybrid
4.
Assign the hybrid ports to the
specified VLANs
5.
Configure the PVID of the
hybrid ports

Configuring port-based VLAN

Network requirements
As shown in
Host A and Host C belong to Department A, and access the enterprise network through different
devices. Host B and Host D belong to Department B. They also access the enterprise network
through different devices.
To make sure communication security and avoid broadcast storms, VLANs are configured in the
enterprise network to isolate Layer 2 traffic of different departments. VLAN 100 is assigned to
Department A, and VLAN 200 is assigned to Department B.
Make sure that hosts within the same VLAN can communicate with each other. Host A can
communicate with Host C, and Host B can communicate with Host D.
Command...
system-view
Enter Ethernet
interface interface-type
interface view
interface-number
Enter Layer 2
interface bridge-
aggregate
aggregation interface-
interface view
number
Enter port
port-group manual port-
group view
group-name
port link-type hybrid
port hybrid vlan vlan-id-
list { tagged | untagged }
port hybrid pvid vlan
vlan-id
Figure
36:
Remarks
Required.
Use any command:
The configuration made in Ethernet
interface view only applies to the port.
The configuration made in port group
view applies to all ports in the port
group.
The configuration made in Layer 2
aggregate interface view applies to the
aggregate interface and its aggregation
member ports. If the system fails to
apply the configuration to the
aggregate interface, it stops applying
the configuration to aggregation
member ports. If the system fails to
apply the configuration to an
aggregation member port, it skips the
port and moves to the next member
port.
Required.
By default, all ports are access ports.
Required.
By default, a hybrid port allows only
packets of VLAN 1 to pass through
untagged.
Optional.
By default, the PVID is VLAN 1.
111

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents