Command Manual (For Soliton) – QoS-QoS Profile
H3C S3100 Series Ethernet Switches
Chapter 1 QoS Commands
1-18
Table 1-9
Description on the parameters used in
Table 1-8
Parameter
Description
ip-group acl-number
Specifies the number of a basic or advanced ACL, in the
range 2000 to 3999.
link-group acl-number
Specifies the number of a Layer 2 ACL, in the range
4000 to 4999.
user-group acl-number
IPv6 ACL number, in the range 5000 to 5999.
rule-id
ACL rule number, in the range 0 to 65534. If this
argument is not provided, all the rules in the ACL are
specified.
cpu
: Duplicates the packets to the CPU.
monitor-interface
: Duplicates the packets to the destination mirroring port.
Description
Use the
mirrored-to
command to reference ACLs globally or to a port group or a port
for identifying traffics and perform traffic mirroring for packets that match.
Use the
undo mirrored-to
command to remove traffic mirroring configuration globally
or for a port group or a port.
Note that, the same ACL cannot be simultaneously referenced in both traffic mirroring
configuration and traffic redirecting configuration globally, in port group view, or in port
view.
Related command:
display qos-interface mirrored-to
.
Example
# Mirror packets that match ACL 2000 on port Ethernet 1/0/1 to Ethernet 1/0/4 through
traffic mirroring.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 1.1.1.1 0
[Sysname-acl-basic-2000] quit
[Sysname] interface Ethernet 1/0/4
[Sysname-Ethernet1/0/4] monitor-port
[Sysname-Ethernet1/0/4] quit
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] mirrored-to inbound ip-group 2000 monitor-interface
# Display the traffic mirroring configuration of Ethernet 1/0/1.
[Sysname-Ethernet1/0/1] display qos-interface Ethernet 1/0/1 mirrored-to
Ethernet1/0/1: mirrored-to