Configuring Traffic Policing - Huawei S3700HI Configuration Manual - Qos

Table of Contents

Advertisement

S3700HI Ethernet Switches
Configuration Guide - QoS
l Run:
l Run:
l Run:
----End

Configuring Traffic Policing

Traffic policing discards the packets that exceed the rate limit or re-marks colors or CoS of these
packets.
Issue 01 (2012-03-15)
CAUTION
After the redirect cpu command is used, the packets matching the traffic classification rule
are redirected to the CPU, causing CPU performance to deteriorate. Exercise caution when
you run the redirect cpu command.
redirect
ip-nexthop ip-address &<1-4>
The packets matching the traffic classification are redirected to the next hop.
If multiple next hop IP addresses are configured, the S3700 redirects packets in active/
standby mode. A maximum of four next hop IP addresses can be configured in a traffic
behavior. The S3700 determines the primary path and backup paths according to the sequence
in which next hop IP addresses were configured. The next hop IP address that was configured
first has the highest priority and this next hop is used as the primary path. Other next hops
are used as backup paths. When the primary path is Down, the backup path with the highest
priority is used as the primary path.
NOTE
The policy-based routing function can be implemented by configuring redirection.
redirect ip-multihop { nexthop ip-address } &<2-4>
The packets matching the traffic classification are redirected to one of the multiple next hops.
If multiple next hops are specified, the S3700 redirects packets through the equal-cost routes
that work in load balancing mode. That is, the S3700 selects a next hop by using the Hash
algorithm based on the source IP addresses of the packets, regardless of the traffic volume.
If the source IP addresses of the packets are the same, the S3700 forwards the packets to the
same next hop regardless of the traffic volume.
When redirecting packets to multiple next hops, the S3700 can quickly switch the link to an
available outbound interface by using the Hash algorithm if the outbound interface
corresponding to the current next hop becomes Down or the route changes suddenly.
If no ARP entry corresponding to the next hop address is matched on the S3700, the redirect
ip-multihop command can be run successfully. The S3700 forwards the packets to the
original destination. The redirection function, however, is invalid until there is the
corresponding ARP entry on the device.
redirect interface interface-type interface-number
The packets matching the traffic classification are redirected to a specified interface.
NOTE
In a traffic behavior, the remark destination-mac command cannot be used with the following commands
simultaneously:
l redirect ip-nexthop
l redirect ip-multihop
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 Class-based QoS Configuration
21

Advertisement

Table of Contents
loading

Table of Contents