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-5
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 outbound ip-group command to redirect outbound packets
that match a specified ACL or ACL rule on an LPU.
Use the undo traffic-redirect outbound ip-group command to disable the outbound
packet redirection configuration.
You can redirect packets to a specified VLAN interface or 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 Up to 100 ACL rule-filtered streams can be redirected in the system.
z Up to 3,000 traffic-redirect outbound 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 outbound packets that match ACL 2100 on the LPU in slot 5
to 10.13.152.2 (the next hop).
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] vlan 3
[H3C-vlan3] traffic-redirect outbound ip-group 2100 next-hop 10.13.152.2 slot
5