H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – NAT, Netstream, Policy Routing
H3C S7500 Series Ethernet Switches Chapter 3
Policy Routing Configuration Commands
3-4
3.1.3 traffic-redirect outbound ip-group
Syntax
1) Redirect packets to a specified VLAN interface
traffic-redirect outbound ip-group { acl-number | acl-name } [ rule rule
[ system-index index ] ] interface vlan-interface interface-number [ remark { dscp
dscp | { precedence precedence | tos tos }*} ] slot slot-number
undo traffic-redirect outbound ip-group { acl-number | acl-name } [ rule rule ]
2) Redirect packets to a specified IP address
traffic-redirect outbound ip-group { acl-number | acl-name } [ rule rule
[ system-index index ] ] next-hop ipaddr &1-3 [ remark { dscp dscp | { precedence
precedence | tos tos } *} ] slot slot-number
undo traffic-redirect outbound ip-group { acl-number | acl-name } [ rule rule ]
View
VLAN view
Parameters
acl-number: ACL number, ranging from 2000 to 3999.
acl-name: ACL name, a string of 1 to 32 characters.
rule rule: Specifies a rule in the ACL. The rule argument represents the number of an
ACL rule and ranges from 0 to 127. If rule rule is not provided, all rules in the specified
ACL will be applied.
system-index index: Specifies a system index for the specified ACL rule. The two
parameters are optional. The index argument ranges from 0 to 4,294,967,295. When
an ACL rule is applied, the system automatically assigns a system index to the rule for
search purpose. But you can also manually specify a system index for an ACL rule
when executing these commands. Generally, you are not recommended to do so.
interface vlan-interface interface-number: Specifies the VLAN interface to which
packets are redirected. The interface-number argument is the index of a VLAN
interface, which ranges from 2 to 4094.
dscp dscp: Specifies the value of differential services code point. The dscp argument
ranges from 0 to 63 and defaults to 0. Packets can be classified by their DSCP values.
precedence precedence: Specifies a precedence, which will be used to remark
packets.. The precedence argument ranges from 0 to 7 and defaults to 0.
tos tos: Specifies the value of type of service. The tos argument ranges from 0 to 15
and defaults to 0. Packets can be classified by their ToS values.
slot slot-number: Specifies the slot number of an LPU.