12
Configuring one-to-two VLAN mapping
About one-to-two VLAN mapping
Configure one-to-two VLAN mapping on the customer-side ports of edge devices from which
customer traffic enters SP networks, for example, on PEs 1 and 4 in
. One-to-two VLAN
mapping enables the edge devices to add an SVLAN tag to each incoming packet.
Restrictions and guidelines
Only one SVLAN tag can be added to packets from the same CVLAN. To add different SVLAN tags
to different CVLAN packets on a port, set the port link type to hybrid and configure multiple
one-to-two VLAN mappings.
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. As a best practice, set the MTU to a minimum of 1504 bytes for ports on
the forwarding path of the packet in the service provider network.
Procedure
1.
Enter system view.
system-view
2.
Enter interface view.
{
Enter Layer 2 Ethernet interface view.
interface interface-type interface-number
{
Enter Layer 2 aggregate interface view.
interface bridge-aggregation interface-number
3.
Set the link type of the port.
port link-type
{
hybrid
|
trunk
}
By default, the link type of a port is
access
.
4.
Configure the port to allow packets from the SVLAN to pass through untagged.
{
Configure the SVLAN as the PVID of the trunk port and assign the trunk port to the SVLAN.
port trunk pvid vlan
vlan-id
port trunk permit vlan
{
vlan-id-list
|
all
}
{
Assign the hybrid port to the SVLAN as an untagged member.
port hybrid
vlan
vlan-id-list untagged
5.
Configure a one-to-two VLAN mapping.
vlan mapping nest
{
range vlan-range-list
|
single vlan-id-list
}
nested-vlan
vlan-id
By default, no VLAN mapping is configured on an interface.
Configuring two-to-two VLAN mapping
About two-to-two VLAN mapping
Configure two-to-two VLAN mapping on the customer-side port of an edge device that connects two
SP networks, for example, on PE 3 in
. Two-to-two VLAN mapping enables two sites in
different VLANs to communicate at Layer 2 across two service provider networks that use different
VLAN assignment schemes.
Procedure
1.
Enter system view.
Содержание S6850 Series
Страница 108: ...48 WGE1 0 3 32768 49153 50100 0x7b 0001 0001 0001 ACDEF...
Страница 259: ...21 6 N A 200 6...
Страница 337: ...ii...