display traffic behavior

Use display traffic behavior to display traffic behavior information.

Syntax

In standalone mode:

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

In IRF mode:

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

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

user-defined: Displays user-defined traffic behaviors.

behavior-name: Behavior name, a case-sensitive string of 1 to 31 characters. If no traffic behavior is specified, this command displays information about all traffic behaviors.

slot slot-number: Specifies a card by its slot number. If no card is specified, this command displays the traffic behaviors on the active MPU. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the IRF member ID, and the slot-number argument represents the slot number of the card. If no card is specified, this command displays the traffic behaviors on the global active MPU. (In IRF mode.)

Examples

# Display information about 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 7000 (Bytes), EBS 512 (Bytes)
        Red action    : discard
      Primap pre-defined color table: dot1p-lp

    Behavior: 2 (ID 101)
      Accounting enable: Packet
      Filter enable: Permit
      Marking:
        Remark mpls-exp 4
      Redirecting: 
        Redirect to the CPU
      Mirroring: 
        Mirror to the VLAN: VLAN 1000

    Behavior: 3 (ID 102)
      -none-

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

Red action

Action to take on red packets.

Primap pre-defined color table

Information about pre-defined colored priority maps. For more information, see Priority map commands.

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.

none

No other traffic behavior is configured.