R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide
189
Ste
p
Command
Remarks
4. Assign the port to all SVLANs.
• As a trunk port:
port trunk permit vlan { vlan-list
| all }
• As a hybrid port:
port hybrid vlan vlan-list
tagged
By default:
• A trunk port is assigned to only
VLAN 1.
• A hybrid port is an untagged
member of VLAN 1.
Configuring two-to-two VLAN mapping
Perform two-to-two VLAN mapping on an edge device that connects two SP networks, for example, on
PE 3 in Figure 66.
Two-to-two VLAN mapping enables two remote sites in different VLANs to
communicate at Layer 2 across two service provider networks that use different VLAN assignment
schemes.
For the ease of description, the VLAN tags of the double-tagged frames that arrive at the customer-side
port are called foreign CVLANs and SVLANs, and the VLAN tags marked by the edge device are called
local CVLANs and SVLANs.
Complete the following tasks to configure two-to-two VLAN mapping:
Task Remarks
Configuring an uplink policy for the
customer-side port
Replaces foreign SVLANs with local SVLANs for uplink traffic
(required).
Configuring an uplink policy for the
network-side port
Replaces foreign CVLANs with local CVLANs for uplink traffic
(required).
Configuring a downlink policy for the
customer-side port
Replaces local SVLANs and CVLANs with foreign SVLANs and
CVLANs (required).
Configuring the customer-side port
Configures VLAN and other settings required for two-to-two VLAN
mapping (required).
Configuring the network-side port
Configures VLAN and other settings required for two-to-two VLAN
mapping (required).
Configuring an uplink policy for the customer-side port
The uplink policy on the customer-side port modifies the SVLAN ID of incoming traffic.
To configure an uplink policy for the customer-side port:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A