Часть 2. Настройка QoS на роутере r2.
Далее необходимо настроить R2:
1) Match traffic:
- Voice traffic using DSCP EF -> Set IP Precedence to 5
- HTTP using DSCP AF31-> Set IP Precedence to 3
- ICMP using DSCP AF11-> Set IP Precedence to 0
2) Bind inbound on s0/2/0
После этого требуется просмотреть текущие настройки и записать их в отчет:
Старые настройки |
Новые настройки |
Using 1350 bytes ! version 15.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname R2 ! ! ! enable password cisco ! ! ! ! ! ! no ip cef no ipv6 cef ! ! ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! ! ! ! ! ! interface GigabitEthernet0/0/0 no ip address ip nat inside duplex auto speed auto ! interface GigabitEthernet0/0/1 ip address 8.8.8.100 255.255.255.0 ip nat outside duplex auto speed auto ! interface GigabitEthernet0/1/0 switchport mode access switchport nonegotiate ! interface GigabitEthernet0/1/1 switchport mode access switchport nonegotiate ! interface GigabitEthernet0/1/2 switchport mode access switchport nonegotiate ! interface GigabitEthernet0/1/3 switchport mode access switchport nonegotiate ! interface Serial0/2/0 bandwidth 250 ip address 10.1.1.2 255.255.255.0 ip nat inside ! interface Serial0/2/1 no ip address clock rate 2000000 ! interface Vlan1 no ip address ! router ospf 1 log-adjacency-changes passive-interface GigabitEthernet0/0/1 network 0.0.0.0 255.255.255.255 area 0 default-information originate ! ip nat inside source list 1 interface GigabitEthernet0/0/1 overload ip classless ! ip flow-export version 9 ! ! access-list 1 permit any ! no cdp run ! ! ! ! ! line con 0 ! line aux 0 ! line vty 0 4 password cisco login ! ! ! end |
R2(config)#do sh run Building configuration...
Current configuration : 1665 bytes ! version 15.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname R2 ! ! ! enable password cisco ! ! ! ! ! ! no ip cef no ipv6 cef ! ! ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! class-map match-all voice match ip dscp ef class-map match-all http match ip dscp af31 class-map match-all icmp match ip dscp af11 ! policy-map TravkinaPhedchenkoYashuk class voice set precedence 5 class http set precedence 3 class icmp set precedence 0 ! ! interface GigabitEthernet0/0/0 no ip address ip nat inside duplex auto speed auto ! interface GigabitEthernet0/0/1 ip address 8.8.8.100 255.255.255.0 ip nat outside duplex auto speed auto ! interface GigabitEthernet0/1/0 switchport mode access switchport nonegotiate ! interface GigabitEthernet0/1/1 switchport mode access switchport nonegotiate ! interface GigabitEthernet0/1/2 switchport mode access switchport nonegotiate ! interface GigabitEthernet0/1/3 switchport mode access switchport nonegotiate ! interface Serial0/2/0 bandwidth 250 ip address 10.1.1.2 255.255.255.0 ip nat inside service-policy input TravkinaPhedchenkoYashuk ! interface Serial0/2/1 no ip address clock rate 2000000 ! interface Vlan1 no ip address ! router ospf 1 log-adjacency-changes passive-interface GigabitEthernet0/0/1 network 0.0.0.0 255.255.255.255 area 0 default-information originate ! ip nat inside source list 1 interface GigabitEthernet0/0/1 overload ip classless ! ip flow-export version 9 ! ! access-list 1 permit any ! no cdp run ! line con 0 ! line aux 0 ! line vty 0 4 password cisco login ! ! ! end |
