beautypg.com

Configuration procedure – H3C Technologies H3C S5120 Series Switches User Manual

Page 360

background image

3-6

Figure 3-2 Network diagram for priority mapping table and priority marking configuration

Configuration procedure

1) Configure trusting port priority

# Set the port priority of GigabitEthernet 1/0/1 to 3.

system-view

[Device] interface gigabitethernet 1/0/1

[Device-GigabitEthernet1/0/1] qos priority 3

[Device-GigabitEthernet1/0/1] quit

# Set the port priority of GigabitEthernet 1/0/2 to 4.

[Device] interface gigabitethernet 1/0/2

[Device-GigabitEthernet1/0/2] qos priority 4

[Device-GigabitEthernet1/0/2] quit

# Set the port priority of GigabitEthernet 1/0/3 to 5.

[Device] interface gigabitethernet 1/0/3

[Device-GigabitEthernet1/3] qos priority 5

[Device-GigabitEthernet1/3] quit

2) Configure the priority mapping table

# Configure the 802.1p-to-local priority mapping table to map 802.1p priority values 3, 4, and 5 to local

precedence values 2, 6, and 4.

[Device] qos map-table dot1p-lp

[Device-maptbl-dot1p-lp] import 3 export 2

[Device-maptbl-dot1p-lp] import 4 export 6

[Device-maptbl-dot1p-lp] import 5 export 4

[Device-maptbl-dot1p-lp] quit