Assigning A Hybrid Port To A Vlan - HP A6600 Configuration Manual

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

Advertisement

To do...
3.
Configure the link type of the
port or ports as trunk
4.
Assign the trunk ports to the
specified VLANs
5.
Configure the default VLAN of
the trunk ports
To change the link type of a port from trunk to hybrid or vice versa, you must set the link type to access
first.
After configuring the default VLAN for a trunk port, you must use the port trunk permit vlan command to
configure the trunk port to allow packets from the default VLAN to pass through, so that the egress port
can forward packets from the default VLAN.
After you change the link type of an interface with the port link-type command, the loopback detection
action configured on the interface with the loopback-detection action command automatically restores the
default. For more information about the loopback-detection action command, see Interface Command
Reference.

Assigning a hybrid port to a VLAN

A hybrid port can carry multiple VLANs. Assign it to a VLAN in interface view (including Ethernet
interface view and Layer 2 aggregate interface view) or port group view.
To assign a hybrid port to one or multiple VLANs:
To do...
1.
Enter system view
2.
Enter
interface
view or
port group
view
Use the command...
Enter port
port-group manual
group view
port-group-name
port link-type trunk
port trunk permit vlan
{ vlan-id-list | all }
port trunk pvid vlan
vlan-id
Use the command...
system-view
Enter Ethernet
interface interface-type
interface view
interface-number
Enter Layer 2
interface bridge-aggregation
aggregate
interface-number
interface view
Remarks
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.
Required.
By default, a trunk port carries only VLAN
1.
Optional.
The default VLAN of trunk ports is VLAN
1.
Remarks
Required.
Use any command.
The configuration made in Ethernet
interface view applies only to the
current 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
95

Advertisement

Table of Contents
loading

Table of Contents