07-15-2022 06:13 AM - edited 07-15-2022 08:03 AM
Hey Guys,
What (and Why especially) should I prefer as a method for implementing control-plane filtering for SSH/SNMP... using classical ACL or using control-plane/management-plane method ?
### Versus ###
Solved! Go to Solution.
07-20-2022 05:42 AM
I think the answer is in Cisco website : https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r7-4/system-security/configuration/guide/b-system-security-cg-asr9000-74x/implementing-management-plane-protection.html
Implementing the MPP feature provides the following benefits
Restrictions for Implementing Management Plane Protection
07-15-2022 06:47 AM
My opinion, control plane filtering is a better option, especially if there's any public-facing aspect.
07-15-2022 07:54 AM
Acl will apply to only interface you config under it BUT this acl will filter traffic pass through interface not traffic pass into interface.
So acl will not so prevent access.
Control plane filter can do that it filter traffic to interface.
07-15-2022 08:01 AM
Thank you, but I'm applying the ACL on "line default" not on a line interface, so it can't be 'pass through interface' right ?
07-15-2022 08:29 AM
the control-plane feature is better as its hardware assisted using LPTS
https://www.ciscolive.com/c/dam/r/ciscolive/emea/docs/2020/pdf/LTRARC-2002.pdf
https://community.cisco.com/t5/service-providers-knowledge-base/asr9000-xr-local-packet-transport-services-lpts-copp/ta-p/3123792
features such as SSH that allow an ACL will work. however its CPU/Process driven
ssh server [vrf vrf-name [ipv4 access-list IPv4 access-list name] [ipv6 access-list IPv6 access-list name]]
that is the main difference
Thank you
07-15-2022 09:20 AM
Many thanks,
BTW, is'nt ACLs in IOS-XR ASR9K treated in ASIC so basically in HW ? (except for log acl...)
07-15-2022 10:02 AM
Yes, if you apply acl to a physical interface/bundle it is applied in hardware
for the ssh example is not in hardware.
ssh server [vrf vrf-name [ipv4 access-list IPv4 access-list name] [ipv6 access-list IPv6 access-list name]]
so the packet will be processed by the NPU and punted to the CPU, there it will be processed or dropped
07-18-2022 12:34 AM
I see, so if I apply the ACL on the "line default", would it be treated on HW or CPU ? If in HW, why would I prefer control-plane ?
thanks a lot
07-20-2022 05:42 AM
I think the answer is in Cisco website : https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r7-4/system-security/configuration/guide/b-system-security-cg-asr9000-74x/implementing-management-plane-protection.html
Implementing the MPP feature provides the following benefits
Restrictions for Implementing Management Plane Protection
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