DSCP
Cisco
, . 6-109
..
, ..
, 2013
QoS, Cisco Systems QoS.
QoS_1
DSCP
QoS_1
QoS, ToS ( DiffServ Code Point - DSCP) .
1. , .
1. ( vlc, vlc).
2. 1 FTP-
3. 2 .
4. 4 .
5. .
FTP . , .
.
3 100. 4 , , .
#ftp 192.168.0.1
ftp>get 100M
QoS Cisco 3560
. QoS.
.
DSCP .
6. . .
#access-list 110 permit ip any 224.0.0.0 15.255.255.255.255
#class-map match-all MULTICAST
#match access group 110
#policy-map CRITICAL
#set dscp 23
access-list 120, .
7.
, MULTICAST match-all
QoS.
8. , .
9. .
100 .
|
|
: .
QoS_2
Cisco
QoS_2
QoS Cisco .
, .
2. 2
1. ( vlc, vlc).
2. 1 - FTP-.
3. 2 - .
4. 3
5. .
6. .
7.
6. Cisco 3560 IP Precedence (FTP, multicast).
7. Cisco 1921 , IP Precedence (fair-queue).
8. , .
: .
1. ? ?
, , .
.
2. 1-2. ?
, .. .
3. ?
, - , , - , ,
1 ?
, - , -
2 ?
, , , , , , ,
3 ? ?
Wildcard mask , , . . , IP , . .
4 (multicast) ?
Switch(config)#access-list 110 permit ip any 224.0.0.0 15.255.255.255
|
|
5 ?
Switch(config)#access-list 120 permit ip any 0.0.0.0 127.255.255.255
Switch(config)#access-list 120 permit ip any 128.0.0.0 63.255.255.255
Switch(config)#access-list 120 permit ip any 192.0.0.0 31.255.255.255
6 ?
7 224.0.0.1 - 224.0.0.10?
8 -?
route add -net 0.0.0.0 netmask 0.0.0.0 dev eth0
9 ?
10 DSCP? CoS?
11 IP Precedence CoS ?
12 Cisco 3560?
13 threshold?
14 ?
15 ? ?
16 ? ? ?
17 , ?
18 Randevouz Point?
Rendezvous -- IP-, "" (, , ) . "" , TCP/IP.
19 PIM?
PIM (Protocol Independent Multicast) . .
20 Priority Queuing?
, , , . , , /, , , . . , , . , .
Cisco
Switch#sh run
Building configuration...
Current configuration: 1861 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
!
!
mls qos
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
class-map match-all ipcalss1
match access-group 123
class-map match-any DEFAULT
match access-group 101
!
!
policy-map flow1t
class ipcalss1
set dscp ef
policy-map default
class DEFAULT
set dscp af11
!
!
!
interface FastEthernet0/1
mls qos trust dscp
service-policy input default
!
interface FastEthernet0/2
mls qos trust dscp
service-policy input flow1t
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
speed 10
srr-queue bandwidth shape 2 4 8 8
!
interface FastEthernet0/6
!
interface FastEthernet0/7
|
|
access-list 101 permit ip any 0.0.0.0 127.255.255.255
access-list 101 permit ip any 128.0.0.0 63.255.255.255
access-list 101 permit ip any 192.0.0.0 31.255.255.255
access-list 123 permit ip any 224.0.0.0 15.255.255.255