04-24-2007 12:59 AM
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?
Solved! Go to Solution.
04-24-2007 10:49 PM
Hi there,
Try adding the all keyword:
"privilege exec all level 5 show logging"
HTH, please rate if it does,
Mohammed Mahmoud.
04-24-2007 03:31 AM
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.
04-24-2007 06:00 PM
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. ?
04-24-2007 10:49 PM
Hi there,
Try adding the all keyword:
"privilege exec all level 5 show logging"
HTH, please rate if it does,
Mohammed Mahmoud.
04-24-2007 11:04 PM
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?
04-24-2007 11:13 PM
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.
04-24-2007 11:34 PM
So I have to use EXEC level user to do this thing...
Thanks a lot!
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