06-27-2013 05:40 AM - edited 03-07-2019 02:06 PM
Hi There ,
I am trying to apply policy shaping on dialer interface , but seems shaping has no effect.
I tried to apply polic-map on vlan 1 , but get error as " configuration-failed!! "
When applied on Fa0 , qos has no effect
when policy-map is applied on dialer interface , queing does happens but shaper does not work,
881#sh version
Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.1(4)M5, RELEASE SOFTWARE (fc1)
######################
class-map match-all BestEffort
match ip dscp default
class-map match-all RealTime1
match ip dscp ef
class-map match-any Application1
match ip dscp af43
!
!
policy-map Child-1
class Application1
bandwidth percent 20
class RealTime1
bandwidth percent 20
police cir 296000
conform-action transmit
exceed-action drop
violate-action drop
class class-default
policy-map Parent-1
class class-default
shape average 22000000
service-policy Child-1
!
!
!
!
!
!
!
!
interface FastEthernet0
description ### ADSL WAN PHYSICAL ###
no ip address
no cdp enable
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
switchport access vlan 12
no ip address
duplex full
speed 100
!
interface FastEthernet4
no ip address
shutdown
duplex auto
speed auto
!
interface Vlan1
no ip address
ip virtual-reassembly in
pppoe-client dial-pool-number 1
!
interface Vlan12
ip address 5.5.5.1 255.255.255.0
no ip redirects
ip nat inside
ip virtual-reassembly in
!
interface Dialer1
description BT PPPoE Link
mtu 1492
bandwidth 10000000
bandwidth inherit
ip address negotiated
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
ip virtual-reassembly in
encapsulation ppp
ip tcp adjust-mss 1452
load-interval 30
dialer pool 1
dialer idle-timeout 0
dialer-group 1
ppp authentication callin
ppp chap hostname xxxx
ppp chap password xxxx
ppp pap sent-username xxxx password xxxx
ppp ipcp route default
no cdp enable
service-policy output Parent-1
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip nat inside source list 10 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 Dialer1
!
access-list 10 permit 5.5.5.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
!
!
!
!
end
881#show policy-map in di 1
Dialer1
Service-policy output: Parent-1
Class-map: class-default (match-any)
17411686 packets, 9183008120 bytes
30 second offered rate 23142000 bps, drop rate 0 bps -------->I am sending 23Mbps and drop rate is 0 whereas shaper is set to 22Mbps
Match: any
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
shape (average) cir 22000000, bc 88000, be 88000
target shape rate 22000000
Service-policy : Child-1
Class-map: Application1 (match-any)
0 packets, 0 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: ip dscp af43 (38)
0 packets, 0 bytes
30 second rate 0 bps
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth 20% (4400 kbps)
Class-map: RealTime1 (match-all)
0 packets, 0 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: ip dscp ef (46)
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth 20% (4400 kbps)
police:
cir 296000 bps, bc 9250 bytes, be 9250 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
violated 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps, violate 0 bps
Class-map: class-default (match-any)
17411612 packets, 9182955740 bytes
30 second offered rate 23144000 bps, drop rate 0 bps
Match: any
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
Any suggestions really appreciated..
Best Rgds
Shiv
Solved! Go to Solution.
06-27-2013 05:51 AM
Also, you might want to see
http://www.cisco.com/en/US/docs/ios-xml/ios/qos_conavd/configuration/15-mt/qos-conavd-dial.html
Shaping on dialer was introduced from 15.3(1)T
06-27-2013 05:47 AM
Can you please provide following outputs :
show ip int brief
show run int virtual-access <# seen from above output>
Complete 'show policy-map interface' output.
Regards,
H. Pabla
06-27-2013 05:50 AM
Hi Pabla,
Here is the output.
BLab-881#show ip int brief
Any interface listed with OK? value "NO" does not have a valid configuration
Interface IP-Address OK? Method Status Protocol
Dialer1 80.193.254.214 YES IPCP up up
FastEthernet0 unassigned YES unset up up
FastEthernet1 unassigned YES unset down down
FastEthernet2 unassigned YES unset down down
FastEthernet3 unassigned YES unset up up
FastEthernet4 unassigned YES NVRAM administratively down down
NVI0 unassigned NO unset up up
Virtual-Access1 unassigned YES unset up up
Vlan1 unassigned YES manual up up
Vlan12 5.5.5.1 YES manual up up
BLab-881#show running-config interface virtual-access 1
Building configuration...
Current configuration : 140 bytes
!
interface Virtual-Access1
mtu 1492
bandwidth 10000000
no ip address
ip nat outside
pulse-time 0
service-policy output Parent-1
end
BLab-881#show po
BLab-881#show policy-map int
BLab-881#show policy-map interface
Dialer1
Service-policy output: Parent-1
Class-map: class-default (match-any)
21294313 packets, 11230863518 bytes
30 second offered rate 23292000 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) 0/0
shape (average) cir 22000000, bc 88000, be 88000
target shape rate 22000000
Service-policy : Child-1
Class-map: Application1 (match-any)
0 packets, 0 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: ip dscp af43 (38)
0 packets, 0 bytes
30 second rate 0 bps
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth 20% (4400 kbps)
Class-map: RealTime1 (match-all)
0 packets, 0 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: ip dscp ef (46)
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth 20% (4400 kbps)
police:
cir 296000 bps, bc 9250 bytes, be 9250 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
violated 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps, violate 0 bps
Class-map: class-default (match-any)
21294240 packets, 11230813060 bytes
30 second offered rate 23292000 bps, drop rate 0 bps
Match: any
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
Virtual-Access1
Service-policy output: Parent-1
Class-map: class-default (match-any)
1969 packets, 1640906 bytes
5 minute offered rate 0 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) 0/0
shape (average) cir 22000000, bc 88000, be 88000
target shape rate 22000000
Service-policy : Child-1
Class-map: Application1 (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: ip dscp af43 (38)
0 packets, 0 bytes
5 minute rate 0 bps
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth 20% (4400 kbps)
Class-map: RealTime1 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: ip dscp ef (46)
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth 20% (4400 kbps)
police:
cir 296000 bps, bc 9250 bytes, be 9250 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
violated 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps, violate 0 bps
Class-map: class-default (match-any)
1969 packets, 1640906 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
06-27-2013 05:51 AM
Also, you might want to see
http://www.cisco.com/en/US/docs/ios-xml/ios/qos_conavd/configuration/15-mt/qos-conavd-dial.html
Shaping on dialer was introduced from 15.3(1)T
06-27-2013 06:10 AM
Hi Harsimrandeep,
Thank you so much for the reply. I will try to upgrae to 15.3 and retest.
I hope there is no issue with configs.
Between how about 887 ? I did see the same behaviour on 887 .
Best Regads
Shiva
06-27-2013 06:20 AM
Lets first upgrade the code, if issue is not resolved, we will revisit to configs.
Its not a platform issue, same behavior will be seen on all ISR-G2 routers.
Regards,
Pabla
06-28-2013 04:05 AM
Hi Pabla,
I upgraded to 15.3 and still the same
BLab-881# sh version
Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.3(2)T, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Thu 28-Mar-13 13:08 by prod_rel_team
ROM: System Bootstrap, Version 12.4(22r)YB5, RELEASE SOFTWARE (fc1)
BLab-881 uptime is 40 minutes
System returned to ROM by reload at 10:18:48 UTC Fri Jun 28 2013
System image file is "flash:c880data-universalk9-mz.153-2.T.bin"
Last reload type: Normal Reload
Last reload reason: Reload Command
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
BLab-881#sh ip int bri
BLab-881#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Dialer1 80.193.254.215 YES IPCP up up
FastEthernet0 unassigned YES unset up up
FastEthernet1 unassigned YES unset down down
FastEthernet2 unassigned YES unset down down
FastEthernet3 unassigned YES unset up up
FastEthernet4 unassigned YES NVRAM administratively down down
NVI0 unassigned YES unset administratively down down
Virtual-Access1 unassigned YES unset up up
Vlan1 unassigned YES unset up up
Vlan12 5.5.5.1 YES NVRAM up up
BLab-881#sh policy-map int
Dialer1
Service-policy output: Parent-1
Class-map: class-default (match-any)
6148467 packets, 3228677284 bytes
30 second offered rate 19600000 bps, drop rate 0000 bps
Match: any
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
shape (average) cir 18000000, bc 72000, be 72000
target shape rate 18000000
Service-policy : Child-1
Class-map: Application1 (match-any)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: ip dscp af43 (38)
0 packets, 0 bytes
30 second rate 0 bps
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth 20% (3600 kbps)
Class-map: RealTime1 (match-all)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: ip dscp ef (46)
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth 20% (3600 kbps)
police:
cir 296000 bps, bc 9250 bytes, be 9250 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
violated 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceeded 0000 bps, violated 0000 bps
Class-map: class-default (match-any)
6148469 packets, 3228678658 bytes
30 second offered rate 19600000 bps, drop rate 0000 bps
Match: any
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
where as policy-map is set to 18Mbps
Best Regards
Shiva
07-02-2013 02:59 AM
Hi Pabla,
Its working fine now.Qos with shaper and policer.
Little research on 881 releaved that we need to use F4 interface which is WAN interface in 881.
So the corrected config is:
interface FastEthernet4
no ip address
ip virtual-reassembly in
pppoe enable
pppoe-client dial-pool-number 1
no cdp enable
!
interface Vlan1
no ip address
!
Thank you so much for your time.
Best Regards
Shivaleela
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide