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-3
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.
next-hop ipaddr &1-3: Specifies the IP address(es) to which packets are redirected.
You can specify at most three IP addresses in one command line.
Description
Use the traffic-redirect inbound ip-group command to redirect inbound packets that
match a specified ACL or ACL rule on an LPU.
Use the undo traffic-redirect inbound ip-group command to remove the inbound
packet redirection configuration.
You can redirect packets to a specified VLAN interface or specified IP addresses.
If all specified IP addresses are unreachable, the packets will be forwarded depending
on their destination IP addresses, but the action defined by the remark keyword (if any)
will still be performed.
Caution:
z With ACL rules, up to 100 streams can be redirected in the system.
z Up to 3,000 traffic-redirect inbound ip-group commands can be configured.
z Totally up to 3,000 traffic-redirect inbound ip-group and traffic-redirect
outbound ip-group commands can be configured.
Examples
# Configure to redirect the inbound packets that match ACL 2100 on LPU in slot 5 to
10.13.152.1 (the next hop).
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] vlan 3
[H3C-vlan3] traffic-redirect inbound ip-group 2100 next-hop 10.13.152.1 slot
5