
Configure an ACL on the egress router to allow packets from department B to pass
through.
1
[Router]
acl 2222
[Router-acl-basic-2222]
rule permit source 192.168.20.0 0.0.0.255
[Router-acl-basic-2222]
quit
To reserve sufficient bandwidth resources for department A as services grow,
configure rate limiting for department B. The Internet access rate in department B
cannot exceed 2 Mbit/s and the download rate cannot exceed 4 Mbit/s.
The configuration procedure on GE0/0/2 is similar to that on GE0/0/1.
For details on rate limiting configuration and commands, see "Traffic Policing and
Traffic Shaping Configurations" and configuration examples in the corresponding
based on the version of the device.
b. Configure rate limiting based on all traffic on a network segment.
Configure rate limiting on LAN-side interfaces of the egress router to limit the Internet
access rate and download rate.
2
[Router]
interface GigabitEthernet 0/0/1
[Router-GigabitEthernet0/0/1]
qos car inbound acl 2222 cir 2048
[Router-GigabitEthernet0/0/1]
qos car outbound acl 2222 cir 4096
[Router-GigabitEthernet0/0/1]
quit
48