Configuration procedure, Configuration example – H3C Technologies H3C WX6000 Series Access Controllers User Manual
Page 438
45-4
Configuration procedure
Follow these steps to define a traffic behavior:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a traffic behavior and enter
the corresponding traffic behavior
view
traffic behavior behavior-name
Required
behavior-name
: Behavior
name. This operation
leads you to traffic
behavior view
Configure accounting action
accounting
Configure traffic policing action
car cir committed-information-rate
[ cbs
committed-burst-size
[ ebs
excess-burst-size
] ] [ pir
peak-information-rate
] [ green action ] [ red
action
] [ yellow action ]
Configure traffic filtering behavior
filter
{ deny | permit }
Configure traffic mirroring action
mirror-to
{ cpu | interface interface-type
interface-number
}
Configure nested VLAN tag action
nest top-most vlan-id vlan-id
Configure traffic redirect action
redirect
{ cpu | interface interface-type
interface-number
| link-aggregation group
agg-id | next-hop
{ ipv4-add [ ipv4-add ] |
ipv6-add
[ interface-type interface-number ]
[ ipv6-add [ interface-type
interface-number
] ] } }
Remark the customer network
VLAN ID for packets
remark
customer-vlan-id vlan-id-value
Remark DSCP value for packets
remark dscp
dscp-value
Remark 802.1p precedence for
packets
remark dot1p
8021p
Remark drop precedence for
packets
remark drop-precedence
drop-precedence-value
Remark IP precedence for packets
remark ip-precedence
ip-precedence-value
Remark local precedence for
packets
remark local-precedence
local-precedence
Remark the service provider
network VLAN ID for packets
remark service-vlan-id
vlan-id-value
Required
You can configure the
traffic behavior as
required.
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.
# Create the traffic behavior (This operation leads you to traffic behavior view).
[Sysname] traffic behavior test