H3C S7500 Series Ethernet Switches Operation Manual
Operation Manual – NAT, Netstream, Policy Routing
H3C S7500 Series Ethernet Switches Chapter 3
Policy Routing Configuration
3-2
To do… Use the command… Remarks
Enter system view
system-view
—
Enter VLAN view
vlan vlan-id
—
Redirect
packets
to a
specified
VLAN
interface
traffic-redirect inbound 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
Redirect
inbound
packets
matching
an ACL
or ACL
rule on an
LPU
Redirect
packets
to a
specified
IP
address
traffic-redirect inbound 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
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
Redirect
outbound
packets
matching
an ACL
or ACL
rule on an
LPU
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
Perform
configuration
as required.
Note:
Policy routing configurations only apply to packets that match permit ACL rules.
Refer to related command manual for more information about these commands.
3.3 Displaying Policy Routing Configuration
To do… Use the command… Remarks
Display policy routing
configuration
display qos-vlan
[ vlan-id ] traffic-redirect
Available in any view
Refer to related command manual for information about the display command.