Defining A Policy - H3C S5120-EI Series Operation Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

To do...
Configure accounting action
Configure traffic policing action
Configure traffic filtering
behavior
Configure traffic mirroring
action
Configure traffic redirecting
action
Remark DSCP value for
packets
Remark 802.1p priority for
packets
Remark drop precedence for
packets
Remark IP precedence for
packets
Remark local precedence for
packets
Configuration example
1)
Network requirements
Create a traffic behavior named test, configuring traffic policing action for it, with the CAR being 640
kbps.
2)
Configuration procedure
# Enter system view.
<Sysname> system-view
# Create the traffic behavior (This operation leads you to traffic behavior view).
[Sysname] traffic behavior test
# Configure traffic policing action for the traffic behavior.
[Sysname-behavior-test] car cir 640

Defining a Policy

A policy associates a class with a traffic behavior. Each traffic behavior is comprised of a group of QoS
actions. A device executes these QoS actions in the order they are defined.
Follow these steps to associate a traffic behavior with a class:
Use the command...
accounting
car cir committed-information-rate
[ cbs committed-burst-size [ ebs
excess-burst-size ] ] [ pir
peak-information-rate ] [ green
action ] [ red action ] [ yellow action ]
filter { deny | permit }
mirror-to { cpu | interface
interface-type interface-number }
redirect { cpu | interface
interface-type interface-number |
next-hop { ipv4-add [ ipv4-add ] |
ipv6-add [ interface-type
interface-number ] [ ipv6-add
[ interface-type
interface-number ] ] } }
remark dscp dscp-value
remark dot1p 8021p
remark drop-precedence
drop-precedence-value
remark ip-precedence
ip-precedence-value
remark local-precedence
local-precedence
2-5
Remarks
Required
You can configure the
traffic behavior as
required.

Advertisement

Chapters

Table of Contents
loading

Table of Contents