Configuring One-To-Two Vlan Mapping - HP 6125XLG Configuration Manual

Blade switch layer 2 lan switching
Table of Contents

Advertisement

Step
2.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
3.
Set the port link type.
4.
Assign the port to the
translated VLANs.
5.
Configure the port to use the
original VLAN tags of the
many-to-one mapping to
replace the VLAN tags of the
packets destined for the user
network.

Configuring one-to-two VLAN mapping

Configure one-to-two VLAN mapping on the customer-side port of the edge devices from which customer
traffic enters SP networks, on PE 1 and PE 4 in
enables the edge devices to add an outer VLAN tag to each incoming packet.
Before configuring one-to-two VLAN mapping, create the original VLAN and the translated VLAN.
The MTU of an interface is 1500 bytes by default. After a VLAN tag is added to a packet, the packet
length is added by 4 bytes. When you configure one-to-two VLAN mapping, HP recommends that you
set the MTU to a minimum of 1504 bytes on interfaces in the service provider network. For more
information about the MTU, see
To configure one-to-two VLAN mapping:
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
Command
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
Enter Layer 2 aggregate interface
view:
interface bridge-aggregation
interface-number
Configure the port as a trunk port:
port link-type trunk
Configure the port as a hybrid
port:
port link-type hybrid
port trunk permit vlan vlan-id-list
port hybrid vlan vlan-id-list tagged
vlan mapping nni
Figure 56
"Configuring Ethernet
Command
system-view
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
Enter Layer 2 aggregate interface
view:
interface bridge-aggregation
interface-number
212
Remarks
N/A
By default, the link type of a
port is access.
By default, a trunk port is
assigned only to VLAN 1, and
a hybrid port is an untagged
member of VLAN 1.
By default, VLAN mapping is
not configured on an interface.
for example. One-to-two VLAN mapping
interfaces."
Remarks
N/A
N/A

Advertisement

Table of Contents
loading

Table of Contents