ont optimizing converged cisco networks phần 6 doc

9 164 0
ont optimizing converged cisco networks phần 6 doc

Đang tải... (xem toàn văn)

Thông tin tài liệu

Sách Lab ONT Tài liệu thực hành dành cho học viên VSIC Education Corporation Trang 47 Sách Lab ONT Tài liệu thực hành dành cho học viên VSIC Education Corporation Trang 48 R1(config)# interface fastethernet 0/0 R1(config-if)# shutdown R1(config-if)# exit R1(config)# line vty 0 4 R1(config-line)# password cisco R1(config-line)# login R1(config)# interface fastethernet 0/0 R1(config-if)# no shutdown Step 4: Caáu hình Priority Queuing: R2(config)# access-list 101 permit ip any any precedence internet R2(config)# priority-list 5 protocol ip high list 101 Sách Lab ONT Tài liệu thực hành dành cho học viên VSIC Education Corporation Trang 49 R2(config)# priority-list 5 protocol ip medium tcp 22 R2(config)# priority-list 5 protocol ip medium tcp 23 R2(config)# priority-list 5 protocol ip normal tcp 123 R2(config)# priority-list 5 default low R2(config)# priority-list 5 queue-limit 20 40 60 100 R2(config)# interface serial0/0/1 R2(config-if)# priority-group 5 Duøng leänh show queueing ñeå kieåm tra: Sách Lab ONT Tài liệu thực hành dành cho học viên VSIC Education Corporation Trang 50 Final Configurations R1# show run ! hostname R1 ! interface FastEthernet0/0 ip address 172.16.10.1 255.255.255.0 duplex auto speed auto ! interface Serial0/0/0 bandwidth 800 ip address 172.16.12.1 255.255.255.0 custom-queue-list 7 clock rate 800000 ! router eigrp 1 network 172.16.0.0 no auto-summary ! access-list 101 permit ip any any precedence internet queue-list 7 protocol ip 1 list 101 queue-list 7 protocol ip 2 tcp telnet queue-list 7 protocol ip 2 tcp 22 queue-list 7 protocol ip 3 tcp 123 queue-list 7 protocol ip 3 tcp 6000 queue-list 7 protocol ip 4 tcp www queue-list 7 default 4 queue-list 7 queue 1 limit 10 queue-list 7 queue 4 byte-count 3000 ! line vty 0 4 password cisco login ! end R2# show run ! hostname R2 ! interface Serial0/0/0 bandwidth 800 ip address 172.16.12.2 255.255.255.0 Sách Lab ONT Tài liệu thực hành dành cho học viên VSIC Education Corporation Trang 51 ! interface Serial0/0/1 bandwidth 128 ip address 172.16.23.2 255.255.255.0 priority-group 5 clock rate 128000 ! router eigrp 1 network 172.16.0.0 no auto-summary ! access-list 101 permit ip any any precedence internet priority-list 5 protocol ip high list 101 priority-list 5 protocol ip medium tcp 22 priority-list 5 protocol ip medium tcp telnet priority-list 5 protocol ip normal tcp 123 priority-list 5 default low priority-list 5 queue-limit 20 40 60 100 ! line vty 0 4 password cisco login ! end R3# show run ! hostname R3 ! interface FastEthernet0/1 ip address 172.16.20.3 255.255.255.0 no shutdown ! interface Serial0/0/1 bandwidth 128 ip address 172.16.23.3 255.255.255.0 no shutdown ! router eigrp 1 network 172.16.0.0 no auto-summary ! end Switch# show run ! hostname Switch ! vtp domain CISCO vtp mode transparent ! interface FastEthernet0/1 switchport access vlan 10 switchport mode access spanning-tree portfast ! interface FastEthernet0/5 switchport access vlan 20 switchport mode access spanning-tree portfast ! interface FastEthernet0/7 switchport access vlan 10 switchport mode access spanning-tree portfast ! interface FastEthernet0/8 switchport access vlan 20 switchport mode access Sách Lab ONT Tài liệu thực hành dành cho học viên VSIC Education Corporation Trang 52 spanning-tree portfast ! end Sỏch Lab ONT Ti liu thc hnh dnh cho hc viờn VSIC Education Corporation Trang 53 Lab4.3TCPHeaderCompression 1. Mc tiờu: Caỏu hỡnh TCP Header Comperssion Kieồm tra TCP Header Comperssion 2. Caỏu hỡnh: Step 1: Caỏu hỡnh IP nhử hỡnh veừ: R1(config)# interface serial0/0/0 R1(config-if)# ip address 172.16.12.1 255.255.255.0 R1(config-if)# clock rate 64000 R1(config-if)# no shutdown R2(config)# interface serial0/0/0 R2(config-if)# ip address 172.16.12.2 255.255.255.0 R2(config-if)# no shutdown Step 2: Baọt telnet treõn R2: R2(config-if)# line vty 0 4 R2(config-line)# password cisco Step 3: Baọt TCP Header Compression R1(config)# interface serial0/0/0 R1(config-if)# ip tcp header-compression R2(config)# interface serial0/0/0 R2(config-if)# ip tcp header-compression Step 4: Kieồm tra TCP Header Compression Sách Lab ONT Tài liệu thực hành dành cho học viên VSIC Education Corporation Trang 54 Final Configurations R1# show run hostname R1 interface Serial0/0/0 ip address 172.16.12.1 255.255.255.0 ip tcp header-compression clock rate 64000 no shutdown ! End R2# show run ! hostname R2 ! interface Serial0/0/0 ip address 172.16.12.2 255.255.255.0 ip tcp header-compression no shutdown ! line vty 0 4 password cisco login ! end Sách Lab ONT Tài liệu thực hành dành cho học viên VSIC Education Corporation Trang 55 Lab4.5ClassbasedQueuingandNBAR 1. Mục tiêu: Dùng NBAR để kiểm tra dung lượng và băng thông của các loại traffic Đánh dấu packet bằng IP Precedence Cấu hình bandwidth bằng MQC Cấu hình hàng đợi CBWFQ và LLQ. 2. Cấu hình: Step 1: Cấu hình IP như hình vẽ R1(config)# interface fastethernet 0/0 R1(config-if)# ip address 172.16.10.1 255.255.255.0 R1(config-if)# no shutdown R1(config-if)# interface serial 0/0/0 R1(config-if)# bandwidth 800 R1(config-if)# ip address 172.16.12.1 255.255.255.0 R1(config-if)# clock rate 800000 R1(config-if)# no shutdown R2(config)# interface serial 0/0/0 R2(config-if)# bandwidth 800 R2(config-if)# ip address 172.16.12.2 255.255.255.0 R2(config-if)# no shutdown . address 172. 16. 12.2 255.255.255.0 Sách Lab ONT Tài liệu thực hành dành cho học viên VSIC Education Corporation Trang 51 ! interface Serial0/0/1 bandwidth 128 ip address 172. 16. 23.2 255.255.255.0. priority-list 5 queue-limit 20 40 60 100 ! line vty 0 4 password cisco login ! end R3# show run ! hostname R3 ! interface FastEthernet0/1 ip address 172. 16. 20.3 255.255.255.0 no shutdown. 128 ip address 172. 16. 23.3 255.255.255.0 no shutdown ! router eigrp 1 network 172. 16. 0.0 no auto-summary ! end Switch# show run ! hostname Switch ! vtp domain CISCO vtp mode transparent

Ngày đăng: 14/08/2014, 14:20

Tài liệu cùng người dùng

Tài liệu liên quan