Configuring one-to-two vlan mapping, Configuration prerequisites, Configuring an uplink policy – H3C Technologies H3C S12500 Series Switches User Manual

Page 169

Advertising
background image

156

Step Command

Remarks

4.

Assign the port to the

SVLANs.

As a hybrid port:
port hybrid vlan vlan-id-list tagged

As a trunk port:

port trunk permit vlan { vlan-id-list |
all }

By default, ports of any link
type permit VLAN 1.

Configuring one-to-two VLAN mapping

Perform one-to-two VLAN mapping on the edge switches from which customer traffic enters SP networks,
on PE 1 and PE 4 in

Figure 49

for example. One-to-two VLAN mapping enables the edge devices to

insert an outer VLAN tag to each incoming VLAN-tagged packet.
Perform these tasks to configure one-to-two VLAN mapping:

Task Description

Configuring an uplink policy

Configures an uplink policy for the customer-side port (required).

Configuring the customer-side port

Configures VLAN and other settings required for one-to-two VLAN
mapping (required).

Configuring the network-side port

Configures VLAN and other settings required for one-to-two VLAN
mapping (required).

Configuration prerequisites

Create VLANs, and plan CVLAN-to-SVLAN mappings.

Configuring an uplink policy

To configure an uplink policy to insert an SVLAN to VLAN tagged packets:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure one class for a
CVLAN.

a.

Create a class and enter

class view:
traffic classifier tcl-name

[ operator { and | or } ]

b.

Specify one CVLAN as the

match criterion:

if-match service-vlan-id
vlan-id-value

c.

Return to system view:

quit

N/A

Advertising
This manual is related to the following products: