Privilege levels on switch

I am trying to lock down my switches for my junior network engineers and have run into a problem for my sites without Radius/Tacacs.
I would like to set a privilege level that only allows admins to configure interfaces, ip access list, and show commands.
With ACS I set the commands I allow per user, but with no ACS it seems I must enter lots of extra lines.
ie. (on a 3750 c3750-advipservicesk9-mz.122-25.SEE1.bin)
privilege configure level 5 interface
privilege exec level 5 configure
I would expect this to allow me as a level 5 user to go to config mode and then perform any interface command.
instead:
SwitchB-3750#sho priv
Current privilege level is 5
SwitchB-3750#config t
^
% Invalid input detected at '^' marker.
SwitchB-3750#config
Configuring from terminal, memory, or network [terminal]? t
Enter configuration commands, one per line. End with CNTL/Z.
SwitchB-3750(config)#interface fa1/0/1
SwitchB-3750(config-if)#?
Interface configuration commands:
default Set a command to its defaults
exit Exit from interface configuration mode
help Description of the interactive help system
no Negate a command or set its defaults
SwitchB-3750(config-if)#
If I then enter:
SwitchB-3750(config)#privilege interface level 5 i
I can then do anything with an "i"
SwitchB-3750(config-if)#?
Interface configuration commands:
default Set a command to its defaults
exit Exit from interface configuration mode
help Description of the interactive help system
ip Interface Internet Protocol config commands
no Negate a command or set its defaults
I want them to be able to do anything. Am I missing a critical part?
Thank you,
Brant Hale

Ok, just to make sure I am 100%
If I wanted to give a user the ability to
(config)#interface fa1/0/1
(config-if)#switchport mode access
privilege interface level 5 switchport mode access
privilege configure level 5 interface
privilege exec level 5 configure
If I want to give them all the options then I need to do something like this:
privilege interface level 5 a
privilege interface level 5 b
privilege interface level 5 c
privilege interface level 5 d
privilege interface level 5 e
privilege interface level 5 f
privilege interface level 5 g
Are there no wildcards? I want to be able to do the following-
privilege interface level 5 *
or
privilege interface all level 5
No chance?
Thanks for the reply.

Similar Messages

  • Ise and switch authentication and privilege level

    Hi Guys,
    I'm working on an eval on vmware. I have got everything working for wlan authentication and I’m working on shell authentication for switches. On the ACS you have the possibility to give the user privilege level on the switch. You can do this with shell profiles in ACS.
    Is there a way to get this done in ISE? I was thinking to make a result policy elements but I can't find a shell profile or privilege attributes like in ACS.
    For the record, switch authentication is working with Active Directory. I only need to know how to give the right return attribute.
    I appreciate any help!
    Sander

    @Sander,
    You were in the right area. 
    Policy->Results->Authorization->Authorization Profiles.
    Create AuthZ profile for Access-Accept and Under the Advanced Attributes Settings you can use:
    Cisco:cisco-av-pair = shell:priv-lvl=15
    or whatever privilege level you want to assign.
    On your AuthZ rule, match the conditions and apply the created profile.

  • Privilege Levels on FWs, switches and Routers

    One question - I am bothered with the privilege level settings.
    Is there a default mapping between a priv lvl and teh commands you are allowed to execute or one needs to define that.
    EX: I want somebody to only have the right of executing sh run on a device and nothing more.Can this be done?
    Thx,
    Vlad

    I would start by configuring a privilege level and then use the ? to list all the commands available at that level.
    privilege level 0 - Includes the disable, enable, exit, help, and logout commands.
    privilege level 1 - Normal level on Telnet; includes all user-level commands at the router> prompt.
    privilege level 15 - Includes all enable-level commands at the router# prompt.
    Commands available at a particular level in a particular router can be found by typing a ? at the router prompt. Commands may be moved between privilege levels by using the privilege command, as illustrated in the example. While this example shows local authentication and authorization, the commands work similarly for TACACS+ or RADIUS authentication and exec authorization (more granularity in control of the router may be achieved with implementation of TACACS+ command authorization with a server.)
    Additional details on the users and privilege levels presented in the example:
    User six is able to Telnet in and execute the show run command, but the resulting configuration is virtually blank because this user cannot configure anything (configure terminal is at level 8, not at level 6). The user is not permitted to see usernames and passwords of the other users, or to see Simple Network Management Protocol (SNMP) information.
    User john is able to Telnet in and execute the show run command, but only sees commands that he can configure (the snmp-server community part of the router configuration, since this user is our network management administrator). He can configure snmp-server community because configure terminal is at level 8 (at or below level 9), and snmp-server community is a level 8 command. The user is not permitted to see usernames and passwords of the other users, but he is trusted with the SNMP configuration.
    User inout is able to Telnet in, and, by virtue of being configured for autocommand show running, sees the configuration displayed but is disconnected thereafter.
    User poweruser is able to to Telnet in and execute the show run command. This user is at level 15, and is able to see all commands. All commands are at or below level 15; users at this level can also view and control usernames and passwords.
    HTH

  • Setting privilege level for logging into ASA through ACS

    Hi!,
    In my environment i implemented AAA for logging into switches, routers, asa etc through ACS which is being configured TACACS+.
    I have set different privilege levels like readonly, readwrite etc into ACS. There are working fine when i try to login into switch or router.
    But in ASA i am unable to restrict the privilege levels of different users.
    Can someone plz guide me with ASA & ACS setting to solve this issue!!!!!

    Hi!!
    I tried this option. It is working fine with routers & switches. But for ASA privilege access it is not functioning.
    I created 3 profiles in "Shared Profiles" & added 1 of them in Group setting & added users to this group with mentioning group authentication. This way i am able to control access to the switches & routers with proper privilege. But the same way when i tried to impolement ASA it's not happening.
    Can u plz check it out...

  • Aaa radius server control privilege level

    I've got radius authentication working on my switch, but I'm trying to allow two types of users login using Windows Active Directory. NetworkUsers who can view configuration and NetworkAdmins who can do anything. I would like for NetworkAdmins to when they login go directly into privilege level 15 but cant get that part to work. Here is my setup:
    Windows 2008 R2 Domain controller with NPS installed.
    Radius client: I have the IP of the switch along with the key. I have cisco selected under the vendor name in the advance tab
    Network Policies:
    NetworkAdmins which has the networkadmin group under conditions and under settings i have nothing listed under Standard and for Vendor Specific i have :
    Cisco-AV-Pair    Cisco    shell:priv-lvl=15
    My switch config:
    aaa new-model
    aaa group server radius MTFAAA
     server name dc-01
     server name dc-02
    aaa authentication login NetworkAdmins group MTFAAA local
    aaa authorization exec NetworkAdmins group MTFAAA local
    radius server dc-01
     address ipv4 10.0.1.10 auth-port 1645 acct-port 1646
     key 7 ******
    radius server dc-02
     address ipv4 10.0.1.11 auth-port 1645 acct-port 1646
     key 7 ******
    No matter what i do it doesnt default to privilege level 15 when i login. Any thoughts

    Have you specified the authorization exec group under line vty? I think it is authorization exec command. Something like that.

  • Privilege level 15 to ASA cli administrator via Radius

    Hello Friends!
    Is this supported yet on the ASA?  I want to be able to have radius assign privilege levels to firewall cli administrators.
    Upon login, I'd like them to be immediately be placed into "enabled mode" (without needing to know the local enable password).  I believe we can set the maximum privilege level the user can attain.  But for now, I simply want to have everyone go into priv level 15 without having to know the shared enable secret password.  Switching to tacacs isn't an option.
    I remember finding out a while back that this was not possible.  Please tell me this is now possible.  It's almost 2013.

    Thanks Marcin!
    Very interesting.  Now that you mention it, I do remember seeing someone use the login command after they had already logged in.  That's what they must have been doing.  I wonder what the thought process was in developing it this way.
    I suppose a few different ways around this are (since not everyone will know of this odd behavior and I'm not the only one logging in) to configure radius to authenticate users and then either:
    1.  Configure a MOTD banner that says "ATTENTION:  Type the command 'login', followed by your regular credentials AGAIN to be put into enable mode."
    or
    2.  Configure a MOTD banner that says "ATTENTION:  To gain enable mode privileges, type the command 'enable', followed by the password cisco.".
    Horrible idea?  Thoughts?
    // example of the second 'login' command working:
    ssh [email protected]
    [email protected]'s password:
    Warning!
    Warning!
    Type help or '?' for a list of available commands.
    fw1> ?
      clear       Reset functions
      enable      Turn on privileged commands
      exit        Exit from the EXEC
      help        Interactive help for commands
      login       Log in as a particular user
      logout      Exit from the EXEC
      no          Negate a command or set its defaults
      ping        Send echo messages
      quit        Exit from the EXEC
      show        Show running system information
      traceroute  Trace route to destination
    fw1> login
    Username: admin
    Password: *********
    fw1#
    fw1# sh run username
    username admin password encrypted privilege 15

  • ACS with RSA for privilege level 'enable' authentication

    Has anyone experienced problems with privilege level "Enable" password authentication via ACS using RSA two factor authentication? We have recently deployed ACS and use RSA two factor authentication for the telnet connection without any problems. When configuring the networking device and ACS to use RSA for the privelledge level authentication "enable" this fails. We get prompted to enter the token code and the RSA server indicates that authentication is succesful however the network device (ASA or switch) seems to reject it.
    Are there any tricks to this?
    Thanks in advance!

    David
    Like Collin the first thing that I think of is that you can not use the same token code to authenticate enable mode that was used to authenticate user mode. Beyond that I am not aware of things that should prevent this working. Are you sure that the ACS authentication server is configured to allow that user access to privilege mode?
    Perhaps it would be helpful if you would post the config (especially all the aaa related parts) of a device that is having that problem. And it might help find the issue if you would run debug for authentication, try to login to enable mode, and post the output.
    HTH
    Rick

  • RSA SecurID authentication and privilege level

    Hello,
    I'm new working with Cisco ACS, learning by seat of pants; most of the documentation on Cisco's website is fairly cryptic and does not use many pictures. Therefore,I would appreciate some help setting up privileges. We have ACS v5.2 which I have set up using RSA SecurID and appears to be working correctly. However, I'm having problems with the privilege level when I access a router it lands me in user mode. I'm trying to set up a administrator group for the routers and switches to have each member dropped in privilege level 15, exec mode but I'm having difficulty doing this.
    Unfortunately, I'm unable to find any real useful information in reference to setting up RSA SecurID. It seems more of the information is geared around radius servers. Any help would be greatly appreciated. Thank you much!

    Hello.
    Remember AAA means authentication, authorization and accounting. In your case you authenticate with RSA , but you authorize with ACS policies. For TACACS+ and traditional IOS from routers and switches you can use a ACS policy element called "shell profile" which you can use to specify some attributes like privilege level. Then you can use the "shell profile" to create an authorization policy.
    I'm attaching some screenshots. In this example I'm using AD instead of RSA because I don't have a RSA available. Please rate if it helps.

  • Create a privilege level that only allows access to show commands

    Hi,
    I would like to create a privilege level that would only give access to the show commands for certain users. What would be the best way to do this?
    Would I have to use the privilege mode level level command for every available show command or is there a more efficient way of doing this?
    In addition, could we manage such a privilege level from a Radius Server.
    Thanks for your help
    Stéphane

    Well, I think the best way to achive this is to use TACACS with command authorization feature.
    Configuration on the tacacs server ( only for show commands, read only access)
    http://www.cisco.com/en/US/products/sw/secursw/ps2086/products_configuration_example09186a00808d9138.shtml#scenario2
    These commands are required on an IOS router or switch in order to implement command authorization through an ACS server:
        aaa new-model
        aaa authorization config-commands
        aaa authorization commands 0 default  group tacacs+ local
        aaa authorization commands 1 default  group tacacs+ local
        aaa authorization commands 15 default group tacacs+ local
         tacacs-server host 10.1.1.1
         tacacs-server key cisco123
    These commands are required on ASA/PIX/FWSM in order to implement command authorization through an ACS server:
        aaa-server authserver protocol tacacs+
        aaa-server authserver host 10.1.1.1
        aaa authorization command authserver
    However, if you strictly want to use radius server then please try the below listed attribute for a single user or group.
    Service-Type = NAS Prompt
    http://www.ietf.org/assignments/radius-types/radius-types.xml#radius-types-4
    This might not work for ASDM.
    HTH
    Regards,
    Jatin
    Do rate helpful posts-

  • Username with privilege level 15 bypass enable

    Hi experts,
    I guess I never really understand the authentication process on Cisco routers and devices lol. Anyway I want users with privilege level 15 to be put in the enable mode right away after login without having to type in "enable" command and enable password. Users with other privilege levels will still be put in the EXEC mode.
    AAA has to be enabled because I'm using it for 802.1x as well.
    The privilege level eventually will be assigned by Radius server but right now the user is created locally on the switch. Right now I have:
    aaa new-model
    username admin privilege 15 secret 5 $1$2bdl$VIp53G4/zpo4f9aHh.t5v0
    username cisco secret 5 $1$NGdD$ehTUzwappJFMxgA7tM/YW.
    line vty 0 5
    access-class 100 in
    exec-timeout 30 0
    logging synchronous
    transport input ssh
    And it's not working lol. No matter I log in with "admin" or "cisco" I'm put in EXEC mode... What do I have to do to achieve this?
    Thanks!

    Hi,
    The with default keyword authorization will get applied on all the lines i.e. CONSOLE, VTY, AUX.
    In case you want it for users who are trying to login to via ssh or telnet use the following:
    EXEC AUTHORIZATION
    Router
    router(config)#aaa authorization exec TEL GRoup radius local
    router(config)#line vty 0 15
    router(config-line)#authorization exec TEL
    ACS
    Interface configuration
    Check  user & group for cisco av-pair.
    User setup à cisco ios/pix 6.x radius attributes àcisco av-pair [ shell:priv-lvl=15]
    OR
    Group setup à ios/pix 6.x radius attributes à shell:priv-lvl=15
    In case of radius if exec authorization is enabled  and if have not specified any privilege level in the ACS server. Then user will fall under the privilege level 1 and if enable authentication is enabled  or enable password is defined  on the router then we can go to enable mode by typing en or en
    Regards,
    Anisha
    P.S.: please mark this thread as resolved if you think your query is answered.

  • Automatic jump to privilege level 15 in PIX/ASA

    Hi, with IOS router and switch I'm able to authorize the user to jump automatically to the correct privilege level in login phase, as configured in authorization privilege field in ACS.
    With PIX/ASA the jump does not run: why ?
    thank you in advance
    RS

    I have to disagree here.
    It's not a security feature. The privilege level feature was never properly implemented in the PIX/ASA. You may call it a bug
    I would have been a security feature if it would be implemented on all privilege levels besides level 15, so that users were prevented from going directly to priv. exec mode. But on the ASA/PIX, it does not work for any level (as the feature was not implemented).
    Regards
    Farrukh

  • Privilege level with ACS

    I am trying to configure a group of users to get read only access onto our equipement ( switches and routers) and specifically show run or show start. i set the command set to permit those 2 commands and i created a rule for that group but it does work as desired.
    any ideas?  Thank you.

    There are a couple of ways that you can accomplish what you are looking to do.  What you need to remember is that when showing the running-config you can only see what you have authorization to configure so just allowing a RO user to execute the show run command isn't going to show them much.
    One thing you could do is to lower the privilege level required to run the "show configuration" command.  The command is "privilege exec level 1 show configuration" and would need to be applied to all your devices.  This would allow privilege level 1 users to view the startup-config but not the running-config.
    Since you are running ACS another solution would be to create a rule to permit these RO users to login and actually authorize at level 15 which by default allows one to configure everything (remember to be able see it in the running-config you must be authorized to configure it).  Then create a limited command set that only allows the commands they need to use.
    Hope this helps,
    Greg

  • Custom privilege level for CSM commands

    Is there a way to creat a custom privilege level to allow a user access to only CSM config commands while in config mode?? I'm trying to allow members of our server/web team to check on the status of the web servers and to take them out of service for maintenance....and not allow them access to change any other configs on the switch.
    Thanks...Jeff

    Here is an exampel for enable 5
    enable secret level 5
    privilege slb-lam-mode-real level 5 no inservice
    privilege slb-lam-mode-real level 5 inservice
    privilege slb-lam-mode-real level 5 inservice standby
    privilege slb-lam-mode-csm-sfarm level 5 real
    privilege slb-lam-mode-csm-sfarm level 5 real name
    privilege slb-lam-mode-csm level 5 server
    privilege configure level 5 module csm
    privilege exec level 5 conf t
    privilege exec level 5 exit

  • Privilege levels?

    We have multiple sites but we now have the added risk of multiple admins on our routers and switches.
    What we would like to do is have a master local password & enable password (encrypted of course) on each device which would only ever be used in dire emergencies and hopefully never. Basically, it would be tucked away.
    We would then like to use TACACS via active directory for day to day logging on and configuration so that we can easily add and remove users remotely. We have this running at the moment.
    Obviously, when the TACACS users log on, they will see the encrypted privilege 15 secret which I know is not to hard to decrypt with various tools if you are determined.
    But what we would like to try and do, is prevent those users doing a write erase or adding/removing the local users. Basically to stop us being locked out of the device.
    Can this be done using a lesser privilege level and if so how?
    regards,
    Louis

    Thank you. Looking at the line below, I guess I will try level 14 to see what that yields and then take it from there. Very good and simple article.
    User poweruser is able to to Telnet in and execute the show run command. This user is at level 15, and is able to see all commands. All commands are at or below level 15; users at this level can also view and control usernames and passwords.

  • Configure Read-Acces via user-defined privilege level

    Hello everybody,
    I´m looking for the best configuration to restrict a user to read-only. The restriction should be configured via CLI not TACACS+.
    Hardware: 3750 (probably not interesting for this question)
    Oldest IOS: 12.2(53)SE1
    The user should be allowed to:
    see the running-configuration
    trigger all kinds of show-commands
    ping and traceroute from the device
    The user should not be allowed to:
    upload/delete/rename files on the flash-memory
    get into level 15 (not sure if I can avoid this)
    all other commands despite those from level 1 and those specified above
    Can someone help me with this?
    Thanks in advance!
    I won´t forget to rate helpful posts

    Hi Tobias,
    You can
    configure  Multiple Privilege Levels  on a switch as explained below.
    By default, the Cisco IOS software has two modes of password security: user EXEC and
    privileged EXEC. You can configure up to 16 hierarchical levels of commands for each mode.
    By configuring multiple passwords, you can allow different sets of users to have access to
    specified commands.
    For example, if you want many users to have access to the clear line command, you can
    assign it level 2 security and distribute the level 2 password fairly widely. But if you
    want more restricted access to the configure command, you can assign it level 3 security
    and distribute that password to a more restricted group of users.
    Setting the Privilege Level for a Command
    Beginning in privileged EXEC mode, follow these steps to set the privilege level for a
    command mode:
         Command  Purpose 
          Step 1 
         configure terminal
         Enter global configuration mode.
          Step 2 
         privilege mode level level command
         Set the privilege level for a command.
    For mode, enter configure for global configuration mode, exec for EXEC mode, interface
    for interface configuration mode, or line for line configuration mode.
    For level, the range is from 0 to 15. Level 1 is for normal user EXEC mode privileges.
    Level 15 is the level of access permitted by the enable password.
    For command, specify the command to which you want to restrict access.
          Step 3 
         enable password level level password
         Specify the enable password for the privilege level.
      .For level, the range is from 0 to 15. Level 1 is for normal user EXEC mode privileges.
    For password, specify a string from 1 to 25 alphanumeric characters. The string cannot
    start with a number, is case sensitive, and allows spaces but ignores leading spaces. By
    default, no password is defined.
          Step 4 
         end
         Return to privileged EXEC mode.
          Step 5 
         show running-config
         or
          show privilege
         Verify your entries.
    The first command shows the password and access level configuration. The second command
    shows the privilege level configuration.
          Step 6 
         copy running-config startup-config
         (Optional) Save your entries in the configuration file.
    When you set a command to a privilege level, all commands whose syntax is a subset of that
    command are also set to that level. For example, if you set the show ip traffic command to
    level 15, the show commands and show ip commands are automatically set to privilege level
    15 unless you set them individually to different levels.
    To return to the default privilege for a given command, use the no privilege mode level
    level command global configuration command.
    This example shows how to set the configure command to privilege level 14 and define
    SecretPswd14 as the password users must enter to use level 14 commands:
    Switch(config)# privilege exec level 14 configure
    Switch(config)# enable password level 14 SecretPswd14
    Also you can change the default privilege level for all the users .
    Changing the Default Privilege Level for Lines Beginning in privileged EXEC mode, follow these steps to change the default privilege level for a line:    Command  Purpose 
    Step 1   configure terminal  Enter global configuration mode.
      Step 2   line vty line  Select the virtual terminal line on which to restrict access.
    Step 3   privilege level level  Change the default privilege level for the line.
                 For level, the range is from 0 to 15. Level 1 is for normal user EXEC mode
                 privileges. Level 15 is the level of access permitted by the enable password. 
    Step 4  end  Return to privileged EXEC mode. 
    Step 5   show running-config  or show privilege
              Verify your entries. The first command shows the password and access level configuration.
              The second command shows the privilege level configuration.
      Step 6   copy running-config startup-config  (Optional) Save your entries in the configuration file. 
    Users can override the privilege level you set using the privilege level line configuration command
    by logging in to the line and enabling a different privilege level.
    They can lower the privilege level by using the disable command.
    If users know the password to a higher privilege level, they can use that password to enable the higher privilege level. You might specify a high level or privilege level for your console line to restrict line usage. 
    To return to the default line privilege level, use the no privilege level line configuration command. Also i am sending a document for your reference.
    http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3750/12225see/scg/swauthen.htm#wp1154063
    HTH
    Regards
    Inayath

Maybe you are looking for

  • New ipod touch 5 not recognized in itunes

    Hi - Just got new ipod touch 5 with new style connector.  I have latestest version of itunes (even uninstalled / reinstalled it 10.7.0.14) Pod has been fully charged externally, Pod is not recognised through USB port direct connection - I have tried

  • From which table i can get the details of cancled documents

    Hi All, here is an quarry, Iam haveing an Z report on purchase tax which has all tax report. but now the user want to same details for cancled document also.So can any help me from which table i can fetch the data urgent ! pls help me out! Regards, R

  • ORA-32036 unsupported case for inlining of query name in WITH clause

    I have a query with a WITH clause. In the WITH clause I am using the TABLE command to pull multiple records from a PL/SQL function in the FROM clause: WITH select_a AS (select x.col1, x.col2 from A, TABLE(schema1.function1) x where ...) select ... fr

  • IDoc status 51 - LSMW for Creating Purchasing Info Records using IDoc meth

    Dear All, My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used. In the 14th step (Start IDoc Processing), I 'am

  • Export html on muse and not work when put on a server

    I created my portfolio website on Muse and exported as html. All is well when I view pages from the files I exported. When I uploaded it to a server my college provides, it shows up with this error message "Some files on the server may be missing or