R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
178
Examples
# Configure a CAR action in traffic behavior database:
Set the CIR to 200 kbps, CBS to 50000 bytes, and EBS to 0.
Allow the conforming packets to pass, and mark the excess packets with IP precedence 0 and
forward them.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] car cir 200 cbs 50000 ebs 0 green pass red remark-prec-pass
0
display traffic behavior
Syntax
display traffic behavior { system-defined | user-defined } [ behavior-name ]
View
Any view
Default level
1: Monitor level
Parameters
system-defined: Displays system-defined traffic behaviors.
user-defined: Displays user-defined traffic behaviors.
behavior-name: Behavior name, a string of 1 to 31 characters. If no traffic behavior is specified, this
command displays information about all the system-defined or user-defined behaviors.
Description
Use the display traffic behavior command to display traffic behavior information.
Examples
# Display user-defined traffic behaviors.
<Sysname> display traffic behavior user-defined
User Defined Behavior Information:
Behavior: test
Committed Access Rate:
CIR 200 (kbps), CBS 50000 (byte), EBS 0 (byte)
Green Action: pass
Red Action: remark ip-precedence 0 and pass
Table 43 Output description
Field Descri
p
tion
User Defined Behavior Information User-defined behavior information
Behavior Name of a behavior
Committed Access Rate Information about the CAR action
Green Action Action to be taken on green packets, which can be pass or discard