cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
641
Views
1
Helpful
7
Replies

Service-policy output command doesn't work on cisco asr 1000 router

I was configuring and applying the below command on a cisco asr 1000 router but the interface doesn't accept the command:

Service-policy output

here is the conf that needs to be applied:

ip access-list extended AVQOS
permit ip host z.z.z.z any

class-map match-all AVQOS
match access-group name AVQOS

policy-map AVQOS
class AVQOS
bandwidth percent 25
class class-default
bandwidth percent 75

policy-map AVQOSINT
class class-default
shape average 350000000
service-policy AVQOS

qos pre-classify
service-policy output AVQOSINT

7 Replies 7

Joseph W. Doherty
Hall of Fame
Hall of Fame

IOS version?

Full interface(s) config(s)?

Console and syslog error messages?

 

Sorry for the late reply because it was late in our time.

the ios version is: Cisco IOS XE Software, Version 16.06.04

here is the console error:

RTR(config)#interface Tunnel630
RTR(config-if)#ser
RTR(config-if)#service-p
DR-WANR-02(config-if)#service-policy ou
DR-WANR-02(config-if)#service-policy ?
type Configure CPL Service Policy

normally it even doesn't accept the output command

Full interface(s) config(s)?

and syslog error messages?

RTR(config-if)#service-p
DR-WANR-02(config-if)#service-policy o

???

this is the case:

service-policy ?
access-control
control
packet-service
performance-monitor
service-chain

I have checked all of them but nothing works. 

 

 

Is there anyone who can help please to configure the above qos on ASR 1000

 


@TsadikuBahiru78025 wrote:

Is there anyone who can help please to configure the above qos on ASR 1000


BTW, a suggestion for obtaining help, on these forums, when someone tries to help, provide them the information they ask for.

When I first saw your configuration statements, didn't see anything obviously wrong with them, which is why I asked for further information (the context of usage/application).

Unfortunately, I don't have an ASR 1k to try your config statements on, but on a Virtual CML router, it took them just fine (of course, unsure how closely my usage matches yours, for lack of information).

class-map match-all AVQOS
 match access-group name AVQOS

policy-map AVQOS
 class AVQOS
  bandwidth percent 25 
 class class-default
  bandwidth percent 75 
policy-map AVQOSINT
 class class-default
  shape average 350000000   
   service-policy AVQOS

interface Tunnel1
 ip address 192.168.2.1 255.255.255.0
 qos pre-classify
 tunnel source 192.168.12.1
 tunnel destination 192.168.23.3
 service-policy output AVQOSINT

interface GigabitEthernet0/0
 ip address 192.168.12.1 255.255.255.0
 duplex auto
 speed auto
 media-type rj45

ip access-list extended AVQOS
 permit ip host 1.1.1.1 any