Lab 5.2: (2) Cấu hình QoS giới hạn Bandwidth theo Block IP trên Cisco Router bằng công nghệ Police

By , 39 View

Mục tiêu thực hành:
- Cấu hình chính sách QoS trên R2 phân phối Download Bandwidth 120Mbps cho 4 Block IP (BlockIP01 172.16.1.0-172.16.1.7, BlockIP02 172.16.1.8-172.16.1.15, BlockIP03 172.16.1.16-172.16.1.23, BlockIP04 172.16.1.24-172.16.1.31), tất cả các IP còn lại không sử dụng quá 120kbps Download Bandwidth.

Truy cập vào "Lab 5-2 - Cau hinh QoS tren Cisco Router v1" tại Public Unetlab Server 24/7 để thực hành.

Cấu hình chính sách QoS trên R2 phân phối Download Bandwidth 120Mbps cho 4 Block IP (BlockIP01 172.16.1.0-172.16.1.7, BlockIP02 172.16.1.8-172.16.1.15, BlockIP03 172.16.1.16-172.16.1.23, BlockIP04 172.16.1.24-172.16.1.31), tất cả các IP còn lại không sử dụng quá 120kbps Download Bandwidth.
hostname R2

ip access-list extended RangeIP01-0to7-Down
  permit ip any 172.16.1.0 0.0.0.7
  exit
class-map match-any ClassifyRangeIP01-0to7-Down
  match access-group name RangeIP01-0to7-Down
  exit

ip access-list extended RangeIP02-8to15-Down
  permit ip any 172.16.1.8 0.0.0.7
  exit
class-map match-any ClassifyRangeIP02-8to15-Down
  match access-group name RangeIP02-8to15-Down
  exit

ip access-list extended RangeIP03-16to23-Down
  permit ip any 172.16.1.16 0.0.0.7
  exit
class-map match-any ClassifyRangeIP03-16to23-Down
  match access-group name RangeIP03-16to23-Down
  exit

ip access-list extended RangeIP04-24to31-Down
  permit ip any 172.16.1.24 0.0.0.7
  exit
class-map match-any ClassifyRangeIP04-24to31-Down
  match access-group name RangeIP04-24to31-Down
  exit

ip access-list extended RangeIP-32to255-Down
  deny ip any 172.16.1.0 0.0.0.31
  permit ip any 172.16.1.0 0.0.0.255
  exit
class-map match-any ClassifyRangeIP-32to255-Down
  match access-group name RangeIP-32to255-Down
  exit

policy-map DownQoS
 class ClassifyRangeIP01-0to7-Down
  police 30000000 conform-action transmit exceed-action drop
  exit
 class ClassifyRangeIP02-8to15-Down
  police 30000000 conform-action transmit exceed-action drop
  exit
 class ClassifyRangeIP03-16to23-Down
  police 30000000 conform-action transmit exceed-action drop
  exit
 class ClassifyRangeIP04-24to31-Down
  police 30000000 conform-action transmit exceed-action drop
  exit
 class ClassifyRangeIP-32to255-Down
  police 128000 conform-action transmit exceed-action drop
  exit
 exit
 exit
interface e0/0
 service-policy output DownQoS
 exit

Thực hành thêm các bài Lab cơ bản khác tại hạng mục Học Network CCNA R&S thông qua các bài thực hành.

You Might Also Like

0 comments