Configuring the customer-side port, Configuring the network-side port – H3C Technologies H3C S12500 Series Switches User Manual

Page 168

Advertising
background image

155

Step Command

Remarks

3.

Configure one behavior for a

CVLAN.

a.

Create a traffic behavior and
enter traffic behavior view:

traffic behavior
behavior-name

b.

Configure an SVLAN marking
action:

remark service-vlan-id

vlan-id-value

c.

Return to system view:

quit

Repeat these steps to configure
a behavior for each CVLAN.
In one-to-one VLAN mapping,

the remark service-vlan-id
command is for marking both

the CVLAN and SVLAN tags,

because the switch uses the
command for marking the

outmost VLAN tag.

4.

Create a QoS policy and
enter QoS policy view.

qos policy policy-name N/A

5.

Associate the class with the
behavior to map the SVLAN

to the CVLAN.

classifier tcl-name behavior
behavior-name

N/A
Repeat these steps to create
other CVLAN-to-SVLAN

mappings.

Configuring the customer-side port

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface view. interface interface-type

interface-number

N/A

3.

Configure the link type of the
port.

port link-type { hybrid | trunk }

The default link type of an
Ethernet port is access.

4.

Assign the port to the

CVLANs.

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.

5.

Apply the uplink policy to the

incoming traffic.

qos apply policy policy-name inbound

N/A

6.

Apply the downlink policy to
the outgoing traffic.

qos apply policy policy-name
outbound

N/A

Configuring the network-side port

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface view. interface interface-type

interface-number

N/A

3.

Configure the link type of the

port.

port link-type { hybrid | trunk }

The default link type of ports is
access.

Advertising
This manual is related to the following products: