Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

AAA and Role based access (NPS)

Hi

I authenticate all my cisco switches and routers with AAA + NPS + AD

A server runs NPS service with cisco attribute shell:priv-lvl=15 or 5, depending of AD group.

But I'd like configure role based with IOS view.

When I issue the enable view command,  I get

Password:

I tried with my AD password, enable configurated password, and always gets

% Authentication failed

Mi line vty config

line vty 0 4

authorization exec VTY-AAA

login authentication VTY-AAA

transport input ssh

Everyone's tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

AAA and Role based access (NPS)

Have you gone through the below listed parser view configuration example. Please check here

View authentication is performed by an external authentication server via the new attribute "cli-view-name" so you need to use cisco-av-pair as cli-view-name=xxxx

AAA authentication associates only one view name to a particular user; that is, only one view name can be configured for a user in an authentication server.

In case you still have any issues, run debug parser view and share the output, I'll try to help.

~BR
Jatin Katyal

**Do rate helpful posts**

~BR Jatin Katyal **Do rate helpful posts**
2 REPLIES
Cisco Employee

AAA and Role based access (NPS)

Have you gone through the below listed parser view configuration example. Please check here

View authentication is performed by an external authentication server via the new attribute "cli-view-name" so you need to use cisco-av-pair as cli-view-name=xxxx

AAA authentication associates only one view name to a particular user; that is, only one view name can be configured for a user in an authentication server.

In case you still have any issues, run debug parser view and share the output, I'll try to help.

~BR
Jatin Katyal

**Do rate helpful posts**

~BR Jatin Katyal **Do rate helpful posts**
New Member

AAA and Role based access (NPS)

Sorry, by mistake I click on "Correct Answer"

The problem is I can switch to  view context

DC1841Ro1(config)#parser view MYVIEW

No view Active! Switch to View Context

When I try to switch

DC1841Ro1#enable view

Password:

% Authentication failed

None password allows me to enter. Remeber I'm using AAA + NPS + ADirectory

Thanks

480
Views
0
Helpful
2
Replies
CreatePlease to create content