cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2161
Views
0
Helpful
7
Replies

how can i make limitation in interface in router NCS 540

Hello , 

i have problem when i want to config limitation configuration on interface tenGige 

in Router NCS 540 appear  this massage below :

NCS540#CONF
Mon Feb 25 06:09:22.673 UTC
NCS540(config)#policy-map 54STM
-default
police rate 8397 MBPS
NCS540(config-pmap)#class class-default
NCS540(config-pmap-c)#police rate 8397 MBPS
NCS540(config-pmap-c-police)#conform-action t
ransmit
NCS540(config-pmap-c-police)#exceed-action drop
NCS540(config-pmap-c-police)# end-policy-map
NCS540(config)#INTERFACE TENG 0/0/0/3
NCS540(config-if)# service-policy input 54STM
NCS540(config-if)# service-policy output 54STM
NCS540(config-if)#COMMIT
Mon Feb 25 06:10:21.333 UTC

% Failed to commit one or more configuration items during a pseudo-atomic operat
ion. All changes made have been reverted. Please issue 'show configuration faile
d [inheritance]' from this session to view the errors
NCS540(config-if)#

 

Where is my fault?

 

thanks ,

Akram

 

7 Replies 7

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

Share the "'show configuration failed" output. 

I think the issue related to the Service-policy applied in input and output (both directions).

 

Regards,

Deepak Kumar

 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Thank you to your response below what you want to shear :  

 

NCS540(config)#show configuration failed

Mon Feb 25 10:50:20.047 UTC
!! SEMANTIC ERRORS: This configuration was rejected by
!! the system due to semantic errors. The individual
!! errors with each failed configuration command can be
!! found below.


!
policy-map 54STM
class class-default
police rate 8397 mbps
conform-action transmit
exceed-action drop
!
!
end-policy-map
!
!!% Qos verification failed for policy-map.: Policy-map 54STM class class-defaul
t failed: Number of actions for 'police conform' exceeds limit 0
end

Hi,

Apply only to the input direction:

 

NCS540(config)#INTERFACE TENG 0/0/0/3
NCS540(config-if)# service-policy input 54STM

 

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

OK, but the router reject already the service-policy command !! how can I do what you write if i didn't put service-policy already in the router ?
thanks
Akram

Hi,

I went through the documents and get some important details as

Usage Guidelines
Use the police command to mark a packet with different quality of service (QoS) values based on conformance to the service-level agreement.

Class-Based Policing will not be executed for traffic that passes through an interface.

Specifying Multiple Actions

The police command allows you to specify multiple policing actions. When specifying multiple policing actions when configuring the police command, note the following points:

•You can specify a maximum of four actions at one time.

•You cannot specify contradictory actions such as conform-action transmit and conform-action drop.

https://www.cisco.com/c/en/us/td/docs/ios/12_0s/feature/guide/fspolic.html

 

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hello,

 

according to the guide below, you can only do ingress traffic policing:

 

Restrictions


Traffic policing is supported only in ingress direction, and only color-blind mode is supported.

 

https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5xx/qos/63x/b-qos-cg-63x-ncs5xx/b-qos-cg-63x-ncs5xx_chapter_010.html#concept_8C09549AC9D44D70BF203A72EE92418D

 

 

 

Thanks , 

i wrote the guide but i have misunderstanding with this command :

police rate percent 20 burst 10000 bytes

 can you please explain it , where I put number of limit Traffic ?

if i have interface TENGigE and i want limit its traffic to 54 stm how will be the command above ? 

 

Regards 

Akram

Getting Started

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: