beautypg.com

Defining a policy – H3C Technologies H3C SR8800 User Manual

Page 43

background image

34

Step Command

Remarks

10.

Redirect traffic to a specified

target.

redirect { cpu | next-hop { ipv4-add
[ track track-entry-number ] [ ipv4-add
[ track track-entry-number ] ] | ipv6-add

[ interface-type interface-number ] [ track

track-entry-number ] [ ipv6-add
[ interface-type interface-number ] [ track

track-entry-number ] ] } [ fail-action

{ discard | forward } ] | vpn-instance
vpn-instance-name }

11.

Set the DSCP value for

packets.

remark dscp dscp-value

12.

Set the 802.1p priority for

packets.

remark dot1p 8021p

13.

Set the drop precedence for

packets.

remark drop-precedence
drop-precedence-value

14.

Set the IP precedence for

packets.

remark ip-precedence
ip-precedence-value

15.

Set the local precedence for

packets.

remark local-precedence
local-precedence

16.

Set the EXP value for MPLS

packets.

remark mpls-exp exp-value

17.

Assign priority values to
packets using a specified

priority mapping table.

primap { pre-defined { color { up-dot1p
| up-dscp | up-exp | up-lp } |
dscp-dscp } | color-map-dp }

18.

Configure the default traffic

redirecting action.

redirect-default next-hop ipv4-add1
[ track track-entry-number ] [ ipv4-add2

[ track track-entry-number ] ]

19.

Display traffic behavior

configuration information.

display traffic behavior user-defined
[ behavior-name ] [ | { begin | exclude |

include } regular-expression ]

Optional.
Available in any view

NOTE:

The priority mapping table to be included in the primap pre-defined command must be configured
beforehand. For more information, see the chapter “Configuring priority mapping.”

For an ordinary port in an isolation group, only the following commands take effect on its incoming
traffic: accounting, filter deny, car cir

committed-information-rate red discard, and mirror-to.

In a traffic behavior, redirecting traffic to the CPU, redirecting traffic to the next hop, and redirecting
traffic to a VPN-instance cannot co-exist and the one configured the last overwrites the previous one.

Defining a policy

In a policy, you can define multiple class-behavior associations, and these associations are matched in
the order they are configured. A behavior is performed for an associated class of packets. In this way,

various QoS features can be implemented.
To define a policy:

This manual is related to the following products: