display traffic behavior

Use display traffic behavior to display traffic behaviors.

Syntax

Centralized devices in standalone mode:

display traffic behavior { system-defined | user-defined } [ behavior-name ]

Distributed devices in standalone mode/centralized devices in IRF mode:

display traffic behavior { system-defined | user-defined } [ behavior-name ] [ slot slot-number ]

Distributed devices in IRF mode:

display traffic behavior { system-defined | user-defined } [ behavior-name ] [ chassis chassis-number slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

system-defined: Specifies system-defined traffic behaviors.

user-defined: Specifies user-defined traffic behaviors.

behavior-name: Specifies a 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 a card by its slot number. If you do not specify a card, this command displays traffic behaviors for the active MPU. (Distributed devices in standalone mode.)

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays the traffic behaviors for the master device. (Centralized devices in IRF mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify this option, the command displays the traffic behaviors for the global active MPU. (Distributed devices in IRF mode.)

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 112 (kbps), CBS 5120 (Bytes), EBS 512 (Bytes)
        Green action  : pass
        Yellow action : pass
        Red action    : discard
      Primap pre-defined table: dscp-lp
      Assured Forwarding:
        Bandwidth 30 (kbps)
        Discard Method: Tail

    Behavior: 2 (ID 101)
      Accounting enable: Packet
      Filter enable: Permit
      Marking:
        Remark mpls-exp 4
      Redirecting: 
      Mirroring: 
        Mirror to the VLAN: VLAN 1000
      Expedited Forwarding:
        Bandwidth 50 (kbps) CBS 1250 (Bytes)

    Behavior: 3 (ID 102)
      -none-

# Display all system-defined traffic behaviors.

<Sysname> display traffic behavior system-defined

  System-defined behavior information:

    Behavior: be (ID 0)
      -none-

    Behavior: af (ID 1)
      Assured Forwarding:
        Bandwidth 20 (%)
        Discard Method: Tail

    Behavior: ef (ID 2)
      Expedited Forwarding:
        Bandwidth 20 (%) Cbs-ratio 25

    Behavior: be-flow-based (ID 3)
      Flow based Weighted Fair Queue:
        Max number of hashed queues: 256
        Discard Method: IP Precedence based WRED
        Exponential Weight: 9
        Pre  Low   High  Dis-prob
        -------------------------
        0    10    30    10
        1    10    30    10
        2    10    30    10
        3    10    30    10
        4    10    30    10
        5    10    30    10
        6    10    30    10
        7    10    30    10

Table 18: 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.

Green action

Action to take on green packets.

Yellow action

Action to take on yellow packets.

Red action

Action to take on red packets.

Bandwidth

Bandwidth of the queue.

Accounting enable

Traffic accounting action.

Filter enable

Traffic filtering action.

Remark mpls-exp

Action of setting the MPLS EXP value for packets.

Redirecting

Information about traffic redirecting.

Mirroring

Information about traffic mirroring.

Expedited Forwarding

Expedited forwarding (EF) information.

none

No other traffic behavior is configured.

Exponential Weight

Exponent for average queue size calculation

Pre

IP precedence.

Low

Lower threshold of the queue.

High

Upper threshold of the queue.

Dis-prob

Denominator for drop probability calculation.