Lab 5.2: (4) Cấu hình QoS giới hạn Bandwidth Download cho dải 10 IP đầu tiên của Subnet

By , 0 View

Mục tiêu thực hành:
- Cấu hình chính sách QoS trên R2 giới hạn lưu lượng Bandwidth Download của IP Range 172.16.1.2-172.16.1.10 sử dụng Max Download Bandwidth là 120Mbps, tất cả các IP còn lại không sử dụng quá 128kbps 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 giới hạn lưu lượng Bandwidth Download của IP Range 172.16.1.2-172.16.1.10 sử dụng Max Download Bandwidth là 120Mbps, tất cả các IP còn lại không sử dụng quá 128kbps Download Bandwidth.
Bước 1. Phân loại lưu lượng bằng công cụ class-map thông qua ACL.
hostname R2

ip access-list extended RangeIP-0to10-Down
  permit ip any 172.16.1.0 0.0.0.7
  permit ip any 172.16.1.8 0.0.0.0
  permit ip any 172.16.1.9 0.0.0.0
  permit ip any 172.16.1.10 0.0.0.0
  exit
class-map match-any ClassifyRangeIP-0to10-Down
  match access-group name RangeIP-0to10-Down
  exit

ip access-list extended RangeIP-11to255-Down
  deny ip any 172.16.1.0 0.0.0.7
  deny ip any 172.16.1.8 0.0.0.0
  deny ip any 172.16.1.9 0.0.0.0
  deny ip any 172.16.1.10 0.0.0.0
  permit ip any 172.16.1.0 0.0.0.255
  exit
class-map match-any ClassifyRangeIP-11to255-Down
  match access-group name RangeIP-32to255-Down
  exit

Bước 2. Áp dụng chính sách QoS tương ứng với các class-map.
policy-map DownQoS
 class ClassifyRangeIP-0to10-Down
  police 120000000 conform-action transmit exceed-action drop
  exit
 class ClassifyRangeIP-11to255-Down
  police 128000 conform-action transmit exceed-action drop
  exit
 exit
 exit

Bước 3. Áp dụng chính sách QoS trên interface phù hợp.
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