• No results found

Final Workgroup Device Configurations

In document Qos Lab Guide (Page 164-170)

When you complete all activities in this course, your workgroup devices will have the following configurations, with differences that are specific to your device or workgroup.

WG1R1:

hostname WG1R1

!

enable secret 5 $1$n4//$vbCjudYcBR3yNPJqI.1tT0

!

ip subnet-zero ip cef

!

class-map match-all bulk match protocol ftp

class-map match-any real-time match protocol rtp

match protocol icmp

match access-group name VoIP-RTCP class-map match-all match-www match access-group 102 class-map match-all match-ftp match access-group 101

class-map match-all web-outbound match protocol http

class-map match-any ef-traffic match dscp ef

match access-group 100

class-map match-all af21-traffic match dscp af21

class-map match-all af31-traffic match dscp af31

class-map match-all af11-traffic match dscp af11

class-map match-any mission-critical match protocol sqlnet

match access-group name Voice-Control class-map match-all cs1-traffic match dscp cs1

class-map match-all interactive match protocol citrix

class-map match-all default match any

class-map match-all match-sw-be match dscp default

class-map match-all match-sw-ef match dscp ef

class-map match-any scavenger match protocol kazaa2 match protocol napster

!

policy-map mark-nbar class real-time set dscp ef

class mission-critical set dscp af31

class interactive

set dscp af21 class class-default set dscp default policy-map http-police class web-outbound police cir percent 50 conform-action transmit

exceed-action set-dscp-transmit cs1 violate-action drop class af31-traffic

bandwidth remaining percent 40 random-detect dscp-based

random-detect dscp 10 34 40 10 class af21-traffic

bandwidth remaining percent 20 random-detect dscp-based

random-detect dscp 10 30 40 10 class af11-traffic

bandwidth remaining percent 13 random-detect dscp-based

random-detect dscp 10 26 40 10 shape average 8000

class cs1-traffic

bandwidth remaining percent 2 random-detect dscp-based

random-detect dscp 10 22 40 10 class class-default

bandwidth remaining percent 25 random-detect dscp-based random-detect ecn

random-detect dscp 0 20 40 10

!

interface Multilink1 bandwidth 384

ip address 10.2.1.1 255.255.255.0 service-policy output llq-policy ppp multilink

ppp multilink fragment-delay 10 ppp multilink interleave

multilink-group 1

!

interface Tunnel0

ip unnumbered FastEthernet0/0 qos pre-classify

tunnel source Serial0/1 tunnel destination 10.5.1.2

!

interface FastEthernet0/0

ip address 10.1.1.1 255.255.255.0 service-policy input mark-nbar duplex auto

speed auto

!

encapsulation ppp

ip address 10.4.1.1 255.255.255.0 service-policy output http-police encapsulation ppp

!

router ospf 1

log-adjacency-changes

network 10.0.0.0 0.255.255.255 area 0

!

ip http server ip classless

!

ip access-list extended VoIP-RTCP permit udp any any range 16384 32767

!

ip access-list extended Voice-Control permit tcp any any eq 1720

permit tcp any any range 11000 11999 permit udp any any eq 2427

permit tcp any any eq 2428

permit tcp any any range 2000 2002 permit udp any any eq 1719

permit udp any any eq 5060

!

access-list 100 permit icmp any any echo access-list 100 permit icmp any any echo-reply access-list 101 permit tcp any any eq ftp access-list 101 permit tcp any any eq ftp-data access-list 102 permit tcp any any eq www

!

enable secret 5 $1$07qt$nKIz/sUIIRYMZ7urfJPtp1

!

ip subnet-zero ip cef

!

class-map match-all bulk match protocol ftp

class-map match-any real-time match protocol rtp

match protocol icmp

match access-group name VoIP-RTCP class-map match-all match-www match access-group 102 class-map match-all match-ftp match access-group 101

class-map match-all web-outbound match protocol http

class-map match-any ef-traffic match dscp ef

match access-group 100

class-map match-all af21-traffic match dscp af21

class-map match-all af31-traffic match dscp af31

class-map match-all af11-traffic

match dscp af11

class-map match-any mission-critical match protocol sqlnet

match access-group name Voice-Control class-map match-all cs1-traffic match dscp cs1

class-map match-all interactive match protocol citrix

class-map match-all default match any

class-map match-all match-sw-be match dscp default

class-map match-all match-sw-ef match dscp ef

class-map match-any scavenger match protocol kazaa2 match protocol napster

!

policy-map mark-nbar class real-time set dscp ef

class mission-critical set dscp af31

class interactive set dscp af21 class class-default set dscp default policy-map http-police class web-outbound police cir percent 50 conform-action transmit

exceed-action set-dscp-transmit cs1 violate-action drop class af31-traffic

bandwidth remaining percent 40 random-detect dscp-based

random-detect dscp 10 34 40 10 class af21-traffic

bandwidth remaining percent 20 random-detect dscp-based

random-detect dscp 10 30 40 10 class af11-traffic

bandwidth remaining percent 13 random-detect dscp-based

random-detect dscp 10 26 40 10 shape average 8000

class cs1-traffic

bandwidth remaining percent 2 random-detect dscp-based

random-detect dscp 10 22 40 10 class class-default

bandwidth remaining percent 25 random-detect dscp-based

interface Multilink1 bandwidth 384

ip address 10.2.1.2 255.255.255.0 service-policy output llq-policy ppp multilink

ppp multilink fragment-delay 10 ppp multilink interleave

multilink-group 1

!

interface Tunnel0

ip unnumbered FastEthernet0/0 qos pre-classify

tunnel source Serial0/1 tunnel destination 10.4.1.1

!

interface FastEthernet0/0

ip address 10.3.1.2 255.255.255.0 service-policy input mark-nbar duplex auto

ip address 10.5.1.2 255.255.255.0 service-policy output http-police encapsulation ppp

!

router ospf 1

log-adjacency-changes

network 10.0.0.0 0.255.255.255 area 0

!

ip http server ip classless

!

ip access-list extended VoIP-RTCP permit udp any any range 16384 32767

!

ip access-list extended Voice-Control permit tcp any any eq 1720

permit tcp any any range 11000 11999 permit udp any any eq 2427

permit tcp any any eq 2428

permit tcp any any range 2000 2002 permit udp any any eq 1719

permit udp any any eq 5060

!

access-list 100 permit icmp any any echo access-list 100 permit icmp any any echo-reply access-list 101 permit tcp any any eq ftp access-list 101 permit tcp any any eq ftp-data access-list 102 permit tcp any any eq www

!

WG1S1:

hostname WG1S1

!

enable secret 5 $1$Yq48$E3tAlJjcYAP9qJpdmr0nu.

!

wrr-queue bandwidth 30 1 70 0 wrr-queue cos-map 1 0 1 2 3 4 wrr-queue cos-map 3 6 7 wrr-queue cos-map 4 5

!

switchport trunk allowed vlan 11,21 switchport mode trunk

no ip address

service-policy input mark-callgen mls qos trust device cisco-phone mls qos trust cos

!

interface FastEthernet0/2 switchport access vlan 11 switchport mode access no ip address

!

interface FastEthernet0/3 switchport access vlan 21 switchport mode access no ip address

access-list 1 permit 10.1.1.11 access-list 2 permit 10.3.1.11

!

line con 0 line vty 5 15

! end

In document Qos Lab Guide (Page 164-170)

Related documents