153
•
Reserve 7 Mbps of bandwidth for the video traffic of department A and 8 Mbps of bandwidth for
the video traffic of department B.
•
Reserve 5 Mbps of bandwidth for the data traffic of department A and 8 Mbps of bandwidth for
the data traffic of department B.
•
Share the remaining 15 Mbps of bandwidth among these services. When a service does not
transmit traffic, the other service can preempt the idle bandwidth.
Figure 58 Network diagram
Configuration procedures
# Configure IP addresses for interfaces according to the network diagram. (Details not shown)
# Configure six ACLs to match the voice traffic from department A, video traffic from department A,
data traffic from department A, voice traffic from department B, video traffic from department B, and
data traffic from department B.
<Router> system-view
[Router] acl number 3000 name Avoice
[Router-acl-adv-3000-Avoice] rule 0 permit ip source 192.168.0.0 0.0.0.255 precedence 7
[Router-acl-adv-3000-Avoice] quit
[Router] acl number 3001 name Avideo
[Router-acl-adv-3001-Avideo] rule 0 permit ip source 192.168.0.0 0.0.0.255 precedence 6
[Router-acl-adv-3001-Avideo] quit
[Router] acl number 3002 name Adata
[Router-acl-adv-3002-Adata] rule 0 permit ip source 192.168.0.0 0.0.0.255 precedence 0
[Router-acl-adv-3002-Adata] quit
[Router] acl number 3003 name Bvoice
[Router-acl-adv-3003-Bvoice] rule 0 permit ip source 192.168.1.0 0.0.0.255 precedence 7
[Router-acl-adv-3003-Bvoice] quit
[Router] acl number 3004 name Bvideo
[Router-acl-adv-3004-Bvideo] rule 0 permit ip source 192.168.1.0 0.0.0.255 precedence 6
[Router-acl-adv-3004-Bvideo] quit
[Router] acl number 3005 name Bdata
[Router-acl-adv-3005-Bdata] rule 0 permit ip source 192.168.1.0 0.0.0.255 precedence 0
[Router-acl-adv-3005-Bdata] quit
# Configure interface-level hierarchical CAR on interface GigabitEthernet 2/0/0 as follows:
•
Reserve 3 Mbps of bandwidth for voice traffic of department A, 7 Mbps of bandwidth for the
video traffic of department A, and 5 Mbps of bandwidth for data traffic of department A.