www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / ICND1 / Day 4 – Router and Switch Security / Day 4 Tasks / Protecting User Access

Protecting User Access

Cisco IOS offers the ability to give users individual passwords and usernames, as well as access to a restricted list of commands. This would be useful if you have tiers of network support. An example of this is shown in the following output:

RouterA#config term

Enter configuration commands, one per line. End with CNTL/Z.

RouterA(config)#username paul password cisco

RouterA(config)#username stuart password hello

RouterA(config)#username davie password football

RouterA(config)#line vty 0 4

RouterA(config-line)#login local

RouterA(config-line)#exit

RouterA(config)#exit

You can specify access levels for user accounts on the router. You may want, for example, junior network team members to be able to use only some basic troubleshooting commands. It is also worth remembering that Cisco routers have two modes of password security, User mode (Exec) and Privileged mode (Enable).

Cisco routers have 16 different privilege levels (0 to 15) available to configure, where 15 is full access, as illustrated below:

RouterA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RouterA(config)#username support privilege 4 password soccer

    LINE Initial keywords of the command to modify

RouterA(config)#privilege exec level 4 ping
RouterA(config)#privilege exec level 4 traceroute
RouterA(config)#privilege exec level 4 show ip interface brief
RouterA(config)#line console 0
RouterA(config-line)#password basketball
RouterA(config-line)#login local ß password is needed
RouterA(config-line)#^z

The support person logs in to the router and tries to go into configuration mode, but this command and any other command not available are not valid and cannot be seen:

RouterA con0 is now available

Press RETURN to get started.

User Access Verification

Username: support
Password:
RouterA#config t ß not allowed to use this command
^
% Invalid input detected at ‘^’ marker.

You can see the default privilege levels at the router prompts:

Router>show privilege

Current privilege level is 1

Router>en

Router#show priv

Router#show privilege

Current privilege level is 15

Router#

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.