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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

How to add user privilege "redirect" to a customize user level access?

I want to do sth like

sh log | redirect tftp://XXXXX

in a customize user level(<15),

but if I use "privilege exec level X redirect" to add this redirect command to lever X,it's say that " Unknown command 'redirect'" ,how can i add this priviledge to a level user?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to add user privilege "redirect" to a customize user lev

Hi there,

Try adding the all keyword:

"privilege exec all level 5 show logging"

HTH, please rate if it does,

Mohammed Mahmoud.

6 REPLIES

Re: How to add user privilege "redirect" to a customize user lev

Hi there,

Thats because there is no command called "redirect", you should put "privilege exec level X show logging".

HTH, please rate if it does help,

Mohammed Mahmoud.

New Member

Re: How to add user privilege "redirect" to a customize user lev

In fact,in this cust user level,user can show log,but can not use sh log | redirect tftp://XXXX,so "privilege exec level X show logging" can not slove this question.What kind of privilege should have to use the redirect comm. ?

Re: How to add user privilege "redirect" to a customize user lev

Hi there,

Try adding the all keyword:

"privilege exec all level 5 show logging"

HTH, please rate if it does,

Mohammed Mahmoud.

New Member

Re: How to add user privilege "redirect" to a customize user lev

But the "exec all" is not work either.I think it is because such "|" follow redirect command is not the suboption of the previous command.Any more suggestion?

Re: How to add user privilege "redirect" to a customize user lev

Hi there,

I've tested it for you, and after doing some searchings, using the redirect key word must be done in Privileged EXEC (level 15).

http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a0080110d13.html

HTH, please rate if it does help,

Mohammed Mahmoud.

New Member

Re: How to add user privilege "redirect" to a customize user lev

So I have to use EXEC level user to do this thing...

Thanks a lot!

321
Views
5
Helpful
6
Replies