privilege level question

From: Ricky MK Au (aurmk@hk1.ibm.com)
Date: Sat Jan 27 2007 - 07:06:52 ART


 Dear all, From IEWEB vol.2 Lab 8, I have the following configuration.

 Would like to ask when should we use the "all" parameter in the privilege
 command? For example for the below 2 commands, what are their difference?

 1. privilege configure all level 2 router

 2. privilege configure level 2 router

 R5:

 username ADMIN privilege 2 password 0 CISCO

 username ADMIN autocommand menu MENU

 username CLI password 0 CISCO

 !

 menu MENU title #

 +------------------------+

 | System Management Menu |

 +------------------------+

 #

 menu MENU prompt # Enter your selection: #

 menu MENU text 1. show ip route

 menu MENU command 1. show ip route

 menu MENU text 2. show ip bgp

 menu MENU command 2. show ip bgp

 menu MENU text 3. show run

 menu MENU command 3. show run

 menu MENU text 4. exit

 menu MENU command 4. exit

 !

 privilege router level 2 network

 privilege configure all level 2 router

 privilege exec level 2 show running-config

 privilege exec level 2 show

 !

 line vty 0 4

 login local



This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:57 ART