Riverstone Networks WICT1-12 Network Router User Manual


 
Riverstone Networks RS Switch Router User Guide Release 8.0 30-21
WAN Configuration WAN Rate Shaping
Figure 30-2 Rate shaping on destination IP address
First, the rate shaping template “dest1” is created on R1, with the rate shape parameters specified as CIR = 150 Kbps,
Bc = 5000 bits, Be is unspecified, and R1 sets Tc automatically to Bc / CIR = 1/30 of a second:
Template dest1 is applied to R1’s Clear Channel T3 port for each port connected to an Ethernet switch:
Next, the rate shaping template “dest2” is created on R2, with the rate shape parameters specified as CIR = 170 Kbps,
Bc = 7000 bits, Be is unspecified, and R2 sets Tc automatically to Bc / CIR = 1/24 of a second:
Template dest2 is applied to R2’s Clear Channel T3 port for traffic originating from subnet 124.141.77.0/24:
rs(config)# wan define rate-shape-parameters dest1 cir 150000 bc 5000
rs(config)# wan apply rate-shape-parameters dest1 port t3.6.1 traffic-source-port
et.2.1
rs(config)# wan apply rate-shape-parameters dest1 port t3.6.1 traffic-source-port
et.2.7
rs(config)# wan apply rate-shape-parameters dest1 port t3.6.1 traffic-source-port
et.3.8
rs(config)# wan define rate-shape-parameters dest2 cir 170000 bc 7000
rs(config)# wan apply rate-shape-parameters dest2 port t3.6.1 source-ip-address
124.141.77.0/24
WAN
Floor One Floor Two Floor Three
Switch One Switch Two Switch Three
R1
R2
et.2.1 et.3.8et.2.7
t3.6.1
t3.6.1
To Metro
Backbone
From Metro Backbone,
Subnet 124.141.77.0/24