318
dscp dscp-value: Specifies the DSCP value for the mirrored packets. The dscp-value argument can
be a number in the range of 0 to 63 or a keyword in Table 77.
Table 77
DSCP keywords and values
Keyword DSCP value in binary DSCP value in decimal
af11 001010 10
af12 001100 12
af13 001110 14
af21 010010 18
af22 010100 20
af23 010110 22
af31 011010 26
af32 011100 28
af33 011110 30
af41 100010 34
af42 100100 36
af43 100110 38
cs1 001000 8
cs2 010000 16
cs3 011000 24
cs4 100000 32
cs5 101000 40
cs6 110000 48
cs7 111000 56
default 000000 0
ef 101110 46
vrf-instance vrf-instance-name: Specifies an MPLS L3VPN instance for mirrored packets sent to
the interface. The vrf-instance-name argument represents the VPN instance name, a case-sensitive
string of 1 to 31 characters. This option is not supported in the current software version.
Usage guidelines
You can execute this command multiple times for a traffic behavior to mirror traffic to different
interfaces.
You can mirror traffic to a maximum of four Ethernet interfaces or Layer 2 aggregate interfaces. If you
execute this command for a traffic behavior multiple times, only the first four configured interfaces
take effect.
Examples
# Create traffic behavior 1 and configure the action of mirroring traffic to GigabitEthernet 1/0/1 for the
traffic behavior.
<Sysname> system-view
[Sysname] traffic behavior 1
[Sysname-behavior-1] mirror-to interface gigabitethernet 1/0/1