Traffic Policing and
Shaping Configuration
Example
Configuration requirements
The interface Ethernet1/0 of Router A is connected with the interface
■
Ethernet1/1 of Router B.
Server, Host A and Host B can access the Internet via Router A and Router B.
■
Server, Host A and the interface Ethernet1/1 of Router A are in the same
■
network segment.
Host B and the interface Ethernet1/2 of Router A are in the same network
■
segment.
The traffics from Server and Host A received by the interface Ethernet1/1 require
to be controlled on Router A.
The traffic restriction from Server is 54000 bps. The traffic less than this
■
restriction can be transmitted normally. When the traffic exceeds this
restriction, the preference of the ultra-long packet will be set to 0 before
transmission.
The restriction on the traffic from Host A is 8000 bps. Traffic within this
■
restriction is transmitted normally. When the traffic exceeds this restriction, the
packets are dropped.
In the meantime, there are the following requirements for the interfaces
Ethernet1/1 and Ethernet1/0 on Router B:
The restriction of the total traffic received by the interface Ethernet1/1 on
■
Router B is 0. 5 Mbps and when the traffic exceeds this restriction, the
ultra-long packet will be dropped.
The restriction of the traffic entering the Internet via the interface Ethernet1/0
■
on Router B is 1 Mbps and when the traffic exceeds this restriction, the
ultra-long packet will be dropped.
Network diagram
Figure 463 Network diagram of traffic policing and shaping
Server
Host A
Ethernet
1.1.1.1/8
Eth1/1
Router A
Traffic Policing and Shaping Configuration Example
Router B
Eth1/0
Eth1 /1
1.1 .1.2/8
Host B
Eth1/0
Eth1/2
Internet
1639