beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 97

background image

88

As all traffic is differentiated by IP precedence, you can use the default UP-to-forwarding class

mapping table for mapping different classes of traffic to the pre-defined forwarding classes. To this
end, you must use the qos trust auto command on the incoming ports to specify the trusted priority

type.

system-view

[Router] interface GigabitEthernet 3/1/2

[Router-GigabitEthernet3/1/2] qos trust auto

[Router-GigabitEthernet3/1/2] quit

[Router] interface GigabitEthernet 3/1/3

[Router-GigabitEthernet3/1/3] qos trust auto

[Router-GigabitEthernet3/1/3] quit

[Router] interface GigabitEthernet 3/1/4

[Router-GigabitEthernet3/1/4] qos trust auto

[Router-GigabitEthernet3/1/4] quit

[Router] interface GigabitEthernet 3/1/5

[Router-GigabitEthernet3/1/5] qos trust auto

[Router-GigabitEthernet3/1/5] quit

2.

Create forwarding profiles for the Layer-1 forwarding groups.

[Router] qos forwarding-profile voip

[Router-fp-voip] gts cir 100000

[Router-fp-voip] quit

[Router] qos forwarding-profile vod

[Router-fp-vod] gts cir 450000

[Router-fp-vod] quit

[Router] qos forwarding-profile vpn

[Router-fp-vpn] gts cir 300000

[Router-fp-vpn] quit

3.

Create forwarding profiles for the Layer-2 forwarding groups.

[Router] qos forwarding-profile vpn-fg2

[Router-fp-vpn-fg2] gts cir 100000

[Router-fp-vpn-fg2] quit

[Router] qos forwarding-profile internet-fg2

[Router-fp-internet-fg2] gts cir 36000

[Router-fp-internet-fg2] quit

[Router] qos forwarding-profile empty

[Router-fp-empty] quit

4.

Create forwarding profiles for the forwarding classes.

[Router] qos forwarding-profile vod-fc-1

[Router-fp-vod-fc-1] wfq weight 2

[Router-fp-vod-fc-1] quit

[Router] qos forwarding-profile vod-fc-2

[Router-fp-vod-fc-2] wfq weight 2

[Router-fp-vod-fc-2] quit

[Router] qos forwarding-profile vod-fc-3

[Router-fp-vod-fc-3] wfq weight 1

[Router-fp-vod-fc-3] quit

5.

Nests the forwarding classes in the Layer-2 forwarding groups.

This manual is related to the following products: