cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1382
Views
5
Helpful
6
Replies

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

arnoldguo
Level 1
Level 1

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

Hi there,

Try adding the all keyword:

"privilege exec all level 5 show logging"

HTH, please rate if it does,

Mohammed Mahmoud.

View solution in original post

6 Replies 6

mohammedmahmoud
Level 11
Level 11

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.

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. ?

Hi there,

Try adding the all keyword:

"privilege exec all level 5 show logging"

HTH, please rate if it does,

Mohammed Mahmoud.

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?

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.

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

Thanks a lot!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: