beautypg.com

Configuring pe 2 – H3C Technologies H3C S6300 Series Switches User Manual

Page 79

background image

69

# Create a QoS policy named test, and associate class test with behavior test in the QoS policy.

[PE1] qos policy test

[PE1-qospolicy-test] classifier test behavior test

[PE1-qospolicy-test] quit

# Configure the downlink port Ten-GigabitEthernet 1/0/1 as a hybrid port, and assign the port to VLAN
100 as an untagged member.

[PE1] interface Ten-GigabitEthernet 1/0/1

[PE1-Ten-GigabitEthernet1/0/1] port link-type hybrid

[PE1-Ten-GigabitEthernet1/0/1] port hybrid vlan 100 untagged

# Apply QoS policy test to the incoming traffic of the downlink port Ten-GigabitEthernet 1/0/1.

[PE1-Ten-GigabitEthernet1/0/1] qos apply policy test inbound

[PE1-Ten-GigabitEthernet1/0/1] quit

# Configure the uplink port Ten-GigabitEthernet 1/0/2 as a trunk port, and assign it to VLAN 100.

[PE1] interface Ten-GigabitEthernet 1/0/2

[PE1-Ten-GigabitEthernet1/0/2] port link-type trunk

[PE1-Ten-GigabitEthernet1/0/2] port trunk permit vlan 100

[PE1-Ten-GigabitEthernet1/0/2] quit

Configuring PE 2

Configure PE 2 in the same way PE 1 is configured.