Command Manual – QoS/ACL
Quidway S8500 Series Routing Switches
Chapter 4 VLAN-ACL Configuration Commands
Huawei Technologies Proprietary
4-8
4.1.5 traffic-redirect
Syntax
traffic-redirect
inbound
ip-group
{
acl-number
|
acl-name
} [
rule rule
[
system-index
index
] ] {
cpu
|
next-hop
ip-addr1
[
ip-addr2
] }
undo traffic-redirect
inbound
ip-group
{
acl-number
|
acl-name
} [
rule rule
]
View
VLAN view
Parameter
ip-group
{
acl-number
|
acl-name
}: Activates IP ACLs, including basic and advanced
ACLs.
acl-number
: Sequence number of ACL, ranging from 2000 to 3999.
acl-name
:
Name of the ACL, which must be a character string starting with an English letter (a-z or
A-Z), and without any space or quotation mark in it.
rule
rule
: Specifies the subitem of an active ACL, ranging from 0 to 127; if not specified,
all subitems of ACL will be activated.
system-index
index
: Specifies the system index value of the rule which will be indexed
during operation. After delivering a rule, the system automatically assigns a globally
unique index value to the rule. When using this command to deliver a rule, you can also
specify a system index value for the rule. In general, you are not recommended to
specify this parameter manually.
cpu
: Redirects packets to the CPU.
next-hop
ip-addr1
[
ip-addr2
]: Redirects packets to the specified IP address. You can
define two IP addresses at a stoke. The system redirects packets to the first IP address
if the fist IP address has higher priority. However, if the first one is unreachable, the
system automatically redirects packets to the second IP address.
Description
Use the
traffic-redirect
command to activate an ACL and configure traffic redirection
for the matching data flow in VLAN (only available to permit ACL rules).
Use the
undo traffic-redirect
command to remove traffic redirection setting.
You can redirect packets to the CPU or a specified IP address.