beautypg.com

Configuring the network-side port, Configuring two-to-two vlan mapping – H3C Technologies H3C S7500E Series Switches User Manual

Page 298

background image

21-15

To do...

Use the command...

Remarks

Apply the uplink policy to the incoming

traffic

qos apply policy policy-name

inbound

Required

Configuring the network-side port

Follow these steps to configure the network-side port:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet interface view

interface interface-type

interface-number

Configure the port as a trunk port

port link-type

trunk

Required

The default link type of an

Ethernet port is access.

Assign the port to all SVLANs

port trunk permit vlan

{ vlan-id-list | all }

Required

By default, a trunk port is in

only 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 21-2

. 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.

Perform these tasks to configure two-to-two VLAN mapping:

Task

Description

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).