ā11-10-2023 05:36 AM
Hello
I currently have the NCS 540 device, which has several policy-maps on its interfaces. I was wondering if there is a command that can show me the total number of policy-maps used in the device. Is that possible?
Thanks
Solved! Go to Solution.
ā11-10-2023 06:42 AM - edited ā11-10-2023 06:43 AM
Hello @yasserTL,
there isn't a direct command on Cisco devices to display the total number of policy-maps configured on the device in a single command. However, you can use the show policy-map interface command to view policy-maps configured on specific interfaces. To get an overview of all policy-maps configured on the device, you can use the show running-config | include policy-map command to display all lines in the running configuration that contain the keyword "policy-map."
show running-config | include policy-map
ā11-10-2023 06:42 AM - edited ā11-10-2023 06:43 AM
Hello @yasserTL,
there isn't a direct command on Cisco devices to display the total number of policy-maps configured on the device in a single command. However, you can use the show policy-map interface command to view policy-maps configured on specific interfaces. To get an overview of all policy-maps configured on the device, you can use the show running-config | include policy-map command to display all lines in the running configuration that contain the keyword "policy-map."
show running-config | include policy-map
ā11-10-2023 06:53 AM
show policy-map interface x/x <<- try this
Thanks A Lot
MHM
ā11-11-2023 09:22 AM
did you try this command ?
Thanks A Lot
MHM
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