Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 47

Advertising
background image

38

Configuration procedure

# Enter system view.

<Switch> system-view

# Enter inbound dot1p-lp priority mapping table view and modify the priority mapping table
parameters.

[Switch] qos map-table inbound dot1p-lp

[Switch-maptbl-in-dot1p-lp] import 0 1 export 0

[Switch-maptbl-in-dot1p-lp] import 2 3 export 1

[Switch-maptbl-in-dot1p-lp] import 4 5 export 2

[Switch-maptbl-in-dot1p-lp] import 6 7 export 3

[Switch-maptbl-in-dot1p-lp] quit

# Configure GigabitEthernet 3/0/1 to trust the 802.1p priority.

[Switch] interface gigabitethernet 3/0/1

[Switch-GigabitEthernet3/0/1] qos trust dot1p

[Switch-GigabitEthernet3/0/1] quit

# Configure GigabitEthernet 3/0/2 to trust the 802.1p priority.

[Switch] interface gigabitethernet 3/0/2

[Switch-GigabitEthernet3/0/2] qos trust dot1p

[Switch-GigabitEthernet3/0/2] quit

# Configure GigabitEthernet3/0/3 to trust the 802.1p priority.

[Switch] interface gigabitethernet 3/0/3

[Switch-GigabitEthernet3/0/3] qos trust dot1p

[Switch-GigabitEthernet3/0/3] quit

# Configure GigabitEthernet3/0/4 to trust the 802.1p priority.

[Switch] interface gigabitethernet 3/0/4

[Switch-GigabitEthernet3/0/4] qos trust dot1p

Advertising