RE: privilege level question

From: Victor Cappuccio (vcappuccio@desca.com)
Date: Sat Jan 27 2007 - 17:44:53 ART


Hi,

this part is very entertainment

R5#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
R5(config)# privilege configure all level 2 router
R5(config)#
R5(config)#
R5(config)# privilege exec level 2 show running-config
R5(config)#^Z
R5#en
*Jan 27 21:07:48.621: %SYS-5-CONFIG_I: Configured from console by console
R5#en 2
R5#show run
Building configuration...

Current configuration : 601 bytes
!
boot-start-marker
boot-end-marker
!
!
!
!
!
router eigrp 1
 network 7.7.7.7 0.0.0.0
 network 192.168.35.5 0.0.0.0
 no auto-summary
!
router eigrp 100
 network 5.5.5.5 0.0.0.0
 network 192.168.54.5 0.0.0.0
 no auto-summary
!
router bgp 5
 no synchronization
 bgp log-neighbor-changes
 network 10.10.10.0 mask 255.255.255.0
 network 10.10.11.0 mask 255.255.255.0
 network 10.10.12.0 mask 255.255.255.0
 aggregate-address 10.0.0.0 255.0.0.0 summary-only
 neighbor 192.168.56.6 remote-as 6
 neighbor 192.168.56.6 send-community
 neighbor 192.168.56.6 unsuppress-map UNSUPPRESS
 no auto-summary
!
!
end

With out the (1) Command you mention: privilege configure all level 2 router
and using the (2) Command: privilege configure level 2 router

you would not be able to see the Router IGP COnfiguration in the NVRAM

Something like this:

R5#en
R5#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
R5(config)#no privilege configure all level 2 router
R5(config)#
R5(config)#^Z
R5#
R5#e
*Jan 27 21:09:55.341: %SYS-5-CONFIG_I: Configured from console by console
R5#en 2
R5#
R5#show run
Building configuration...

Current configuration : 53 bytes
!
boot-start-marker
boot-end-marker
!
!
!
!
!
!
end

HTH
Victor.-

-----Mensaje original-----
De: nobody@groupstudy.com en nombre de Ricky MK Au
Enviado el: sab 27/01/2007 6:06
Para: ccielab@groupstudy.com
Asunto: privilege level question
 
 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