I want to do ingress policing on a L2 interface on NCS5500/NCS540 platforms like that:
police rate 500 mbps
But when I want to apply the policy-map to the L2 interface:
(config)#int gigabitEthernet 0/0/0/1
(config-if)#service-policy input 500M
% Failed to commit one or more configuration items during a pseudo-atomic operation. All changes made have been reverted. Please issue 'show configuration failed [inheritance]' from this session to view the errors
(config)#sh configuration failed
!! 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.
service-policy input 500M
!!% Subinterface or Layer 2 configuration conflicts with existing configuration, or configuration in this commit: L3 configuration is not allowed under a L2 interface
How can I configure L2 ingress policing properly?
Thanks in advance,
Solved! Go to Solution.