10-06-2013 02:16 AM - edited 03-04-2019 09:14 PM
I have a problem with using shape average percent command and applying policy to physical interface after upgrading the 3800 router from 12.4(15)T12 to 15.1(4)M7.
QoS configuration:
class-map match-any INTERACTIVE-VIDEO
match dscp cs5
match dscp cs4
class-map match-any CRITICAL-DATA
match dscp af41 af42 af43
match dscp af31 af32 af33
match dscp af21 af22 af23
match dscp af11 af12 af13
class-map match-any CONTROL
match dscp cs6
match dscp cs3
match dscp cs2
class-map match-all VOICE
match dscp ef
!
!
policy-map WAN-EDGE-QUEUE
class VOICE
priority percent 10
class INTERACTIVE-VIDEO
priority percent 29
class CONTROL
bandwidth percent 5
class CRITICAL-DATA
bandwidth percent 10
random-detect dscp-based
random-detect dscp 10 50 64
random-detect dscp 12 45 64
random-detect dscp 14 40 64
random-detect dscp 18 50 64
random-detect dscp 20 45 64
random-detect dscp 22 40 64
random-detect dscp 26 50 64
random-detect dscp 28 45 64
random-detect dscp 30 40 64
random-detect dscp 34 50 64
random-detect dscp 36 45 64
random-detect dscp 38 40 64
fair-queue
class class-default
fair-queue
random-detect dscp-based
random-detect dscp 0 100 128
random-detect dscp 8 60 100
queue-limit 128 packets
policy-map WAN-EDGE-SHAPER
class class-default
shape average percent 80
service-policy WAN-EDGE-QUEUE
interface Tunnel100
description to 3845_1
bandwidth 40000
ip address 10.96.3.1 255.255.255.0
ip mtu 1400
ip nbar protocol-discovery
ip flow ingress
ip ips MYIPS in
ip tcp adjust-mss 1360
ip summary-address eigrp 100 10.96.0.0 255.240.0.0
load-interval 30
keepalive 10 7
cdp enable
tunnel source 192.168.2.100
tunnel destination 192.168.2.14
service-policy output WAN-EDGE-SHAPER
interface GigabitEthernet0/0
description to ADSL and OPTIC rayoni
bandwidth 100000
ip address 192.168.157.14 255.255.255.0
duplex auto
speed auto
media-type rj45
no cdp enable
crypto map vpn
.........................
Problem 1.
The shape average percent 80 is not correctly intrepreted. As shown from "show policy-map" the shaper shape traffic to 80 mbps.
3825_region_1#sh policy-map interface tunnel 100
Tunnel100
Service-policy output: WAN-EDGE-SHAPER
Class-map: class-default (match-any)
4967774 packets, 739724501 bytes
30 second offered rate 41000 bps, drop rate 0 bps
Match: any
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 4970880/1072248288
shape (average) cir 80000000, bc 800000, be 800000
target shape rate 80000000
Service-policy : WAN-EDGE-QUEUE
queue stats for all priority classes:
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 2460791/369098930
Class-map: VOICE (match-all)
2460791 packets, 206686724 bytes
30 second offered rate 20000 bps, drop rate 0 bps
Match: dscp ef (46)
Priority: 10% (8000 kbps), burst bytes 200000, b/w exceed drops: 0
..................................................
Problem 2.
I can not apply policy to physical intaface.
3825-region_1(config)#interface gigabitEthernet 0/0
3825-region_1(config-if)#service-policy output WAN-EDGE-SHAPER
Service_policy with queueing features on this interface is not allowed
if tunnel based queuing policy is already installed Remove tunnel policy first and then install policy on this interface and later on tunnel
3825-region_1(config-if)#
10-06-2013 04:00 AM
I have resolved the first problem with using "bandwidth qos-reference" command in tunnel configuration mode. The secon problem is still exist.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: