< Home

display traffic behavior

Function

The display traffic behavior command displays the traffic behavior configuration on the device.

Format

display traffic behavior user-defined [ behavior-name ]

Parameters

Parameter

Description

Value

user-defined [ behavior-name ]

Displays the configuration of a specified traffic behavior. If the name of a traffic behavior is not specified, the configuration of all traffic behaviors is displayed.

The value must be the name of an existing traffic behavior.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display traffic behavior command displays the configuration of a specified traffic behavior or all traffic behaviors. The command output helps you check the traffic behavior configuration and locate faults.

Precautions

If no traffic behavior is created, the system displays the following information after this command is executed:
Info: There is no behavior exists.
If the specified traffic behavior name is incorrect, the system displays the following information after this command is executed:
Info: The behavior does not exist.

Example

# Display the configuration of all traffic behaviors.
<HUAWEI> display traffic behavior user-defined
  User Defined Behavior Information:                                            
    Behavior: tb1                                                               
      Committed Access Rate:                                                    
        CIR 1000 (Kbps), CBS 125000 (Byte)                                      
        PIR 1000 (Kbps), PBS 125000 (Byte)                                      
        Green Action   : pass                                                   
        Yellow Action  : pass                                                   
        Red Action     : discard                                                
      Remark:                                                                   
        Remark 8021p 1                                                          
Total behavior number is 1    
Table 1 Description of the display traffic behavior user-defined command output

Item

Description

Behavior

Traffic behavior name. To create a traffic behavior, run the traffic behavior command.

Committed Access Rate

CAR. To configure an action taken for packets whose rate exceeds the CAR, run the car (traffic behavior view) command.

CIR

Committed information rate (CIR). To set the CIR, run the car (traffic behavior view) command.

PIR

Peak information rate (PIR). To set the PIR, run the car (traffic behavior view) command.

CBS

Committed burst size (CBS). To set the CBS, run the car (traffic behavior view) command.

PBS

Peak burst size (PBS). To set the PBS, run the car (traffic behavior view) command.

Green Action

Action taken for green packets. To configure an action taken for green packets, run the car (traffic behavior view) command.

Yellow Action

Action taken for yellow packets. To configure an action taken for yellow packets, run the car (traffic behavior view) command.

Red Action

Action taken for red packets. To configure an action taken for red packets, run the car (traffic behavior view) command.

Remark

Re-marking action. To configure re-marking, run the remark command.

Total behavior number is 1

Total number of created traffic behaviors.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >