display traffic behavior

Use display traffic behavior to display traffic behaviors.

Syntax

display traffic behavior user-defined [ behavior-name ] [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

user-defined: Specifies user-defined traffic behaviors.

behavior-name: Specifies a traffic behavior by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a traffic behavior, this command displays all traffic behaviors.

slot slot-number: Specifies an IRF member device by its member ID (slot number). If you do not specify an IRF member device, this command displays traffic behaviors on all IRF member devices.

Examples

# Display all user-defined traffic behaviors.

<Sysname> display traffic behavior user-defined

  User-defined behavior information:

    Behavior: 1 (ID 100)
      Marking:
        Remark dscp 3
      Committed Access Rate:
        CIR 128 (kbps), CBS 8192 (Bytes), EBS 512 (Bytes)
        Green action  : pass
        Yellow action : pass
        Red action    : discard

    Behavior: 2 (ID 101)
      Accounting enable: Packet
      Filter enable: Permit
      Marking:
        Remark dot1p 4
      Redirecting: 
        Redirect to the CPU

    Behavior: 3 (ID 102)
      -none-

Table 19: Command output

Field

Description

Behavior

Name and contents of a traffic behavior.

Marking

Information about priority marking.

Remark dscp

Action of setting the DSCP value for packets.

Committed Access Rate

Information about the CAR action.

CIR

CIR in kbps, which specifies the average traffic rate.

CBS

CBS in bytes, which specifies the amount of bursty traffic allowed at a time.

EBS

EBS in bytes, which specifies the amount of traffic exceeding the CBS when two token buckets are used.

Green action

Action to take on green packets.

Yellow action

Action to take on yellow packets.

Red action

Action to take on red packets.

Accounting enable

Traffic accounting action.

Filter enable

Traffic filtering action.

none

No other traffic behavior is configured.