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 R2ip access-list extended RangeIP-0to10-Downpermit ip any 172.16.1.0 0.0.0.7permit ip any 172.16.1.8 0.0.0.0permit ip any 172.16.1.9 0.0.0.0permit ip any 172.16.1.10 0.0.0.0exitclass-map match-any ClassifyRangeIP-0to10-Downmatch access-group name RangeIP-0to10-Downexitip access-list extended RangeIP-11to255-Downdeny ip any 172.16.1.0 0.0.0.7deny ip any 172.16.1.8 0.0.0.0deny ip any 172.16.1.9 0.0.0.0deny ip any 172.16.1.10 0.0.0.0permit ip any 172.16.1.0 0.0.0.255exitclass-map match-any ClassifyRangeIP-11to255-Downmatch access-group name RangeIP-32to255-Downexit
- Bước 2. Áp dụng chính sách QoS tương ứng với các class-map.
policy-map DownQoSclass ClassifyRangeIP-0to10-Downpolice 120000000 conform-action transmit exceed-action dropexitclass ClassifyRangeIP-11to255-Downpolice 128000 conform-action transmit exceed-action dropexitexitexit
- Bước 3. Áp dụng chính sách QoS trên interface phù hợp.
interface e0/0service-policy output DownQoSexit
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.
0 comments