Command Manual (For Soliton) – QoS-QoS Profile
H3C S3100 Series Ethernet Switches
Chapter 1 QoS Commands
1-39
acl-rule
: ACL rules to be applied. This argument can be the combination of multiple
ACLs. For more information about this argument, refer to
Table 1-8
and
Table 1-9
. Note
that the ACL rules referenced must be those defined with the
permit
keyword specified.
cpu
: Redirects the packets to the CPU.
interface interface-type interface-number
: Redirects the packets to the specified
Ethernet port.
interface-type
indicates the type of the interface and
interface-number
indicates the interface number.
Description
Use the
traffic-redirect
command to redirect all the packets that match specific ACL
rules, or the packets that match specific ACL rules and are of a port group or pass a
port.
Use the
undo traffic-redirect
command to disable traffic redirecting for all the packets
that match specific ACL rules, or the packets that match specific ACL rules and are of a
port group or pass a port.
You can redirect packets to a port or the CPU.
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.
By default, traffic redirecting is disabled globally, on all port groups, and all ports.
Note:
z
Packets redirected to the CPU are not forwarded.
z
If the traffic is redirected to a Combo port in down state, the system automatically
redirects the traffic to the port corresponding to the Combo port in up state. Refer to
Port Basic Configuration
module of this manual for information about Combo ports.
Related command:
display qos-interface traffic-redirect
.
Example
# Redirect the packets that match ACL 2000 and pass Ethernet 1/0/1 to Ethernet 1/0/7.
<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.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] interface Ethernet1/0/1