02-24-2019 10:54 PM
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
02-25-2019 12:00 AM
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
02-25-2019 02:54 AM - edited 02-25-2019 02:55 AM
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
02-25-2019 03:05 AM
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
02-26-2019 09:37 PM
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
02-26-2019 11:45 PM
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
02-25-2019 01:07 AM
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.
02-26-2019 10:21 PM
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
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: