December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to set the privilege level according to which port you use to access the router.
To configure the privilege level of a particular line, use the following configuration command:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#lineRouter1(config-line)#aux 0privilege levelRouter1(config-line)#5exitRouter1(config)#privilege exec levelRouter1(config)#5 show ip routeprivilege exec levelRouter1(config)#1 show ipprivilege exec levelRouter1(config)#1 showendRouter1#
By default, every access line has a privilege level of 1. You can change the privilege level assigned to a particular line with the privilege level command. The following example shows what happens when we connect to the AUX port when it is configured with privilege level 5:
Press RETURN to get started. Router1#show privilegeCurrent privilege level is 5 Router1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is 172.22.1.3 to network 0.0.0.0 C 172.22.1.0 is directly connected, FastEthernet1/0 ...
Read now
Unlock full access