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

Answered Question

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?

Correct Answer by mohammedmahmoud about 10 years 6 days ago


Hi there,


Try adding the all keyword:


"privilege exec all level 5 show logging"



HTH, please rate if it does,

Mohammed Mahmoud.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
mohammedmahmoud Tue, 04/24/2007 - 03:31
User Badges:
  • Green, 3000 points or more

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.

Correct Answer
mohammedmahmoud Tue, 04/24/2007 - 22:49
User Badges:
  • Green, 3000 points or more


Hi there,


Try adding the all keyword:


"privilege exec all level 5 show logging"



HTH, please rate if it does,

Mohammed Mahmoud.

Actions

This Discussion