01-18-2021 06:01 AM
The parser view cannot configure command for classmap/policymap configuration mode
01-18-2021 06:01 AM
I am using the ASR1002 , the IOS version is Cisco IOS XE Software, Version 03.16.06.S
I configured the parser view to assign the commands to specific users .
1. Example :
parser view xxx
commands policymap-service include all class
But after I finished th configuration , show run cannot see this configuration . And when user log in the parser view,
they cannot execute the class command under policymap configuration mode .
2. How can I configure the command under parser view to enable all the commands of class-map configuration mode .
I have several class-map configured as below:
class-map xxx
match access-group name yyy
And configured the parser view as below:
commands traffic-class-map include all match
Then login the parser view , but the match command isn't configurable under the class-map configuration mode . So how should I configure the parser view for class-map configuration mode .
Thanks .
01-18-2021 09:00 AM - edited 01-18-2021 09:23 AM
Hello,
I am not using XE, so I am not sure if the keywords are the same, but try the below:
aaa new-model
!
parser view xxx inclusive
secret 5 $1$FAvg$zBPJidcjPPFLMx5s58L191
commands cpf-policymap include all class
commands exec include configure terminal
commands exec include configure
!
aaa new-model
!
parser view xxx inclusive
secret 5 $1$FAvg$zBPJidcjPPFLMx5s58L191
commands cpf-classmap include all match
commands exec include configure terminal
commands exec include configure
01-18-2021 09:02 PM
The IOS which I am using doesn't support the commands you mentioned . Thanks .
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