10-24-2006 11:37 PM - edited 03-05-2019 12:25 PM
Hi,
I`ve a problem with the configuration of privilege levels on the Cat3550. I want configure the command "interface range fastethernet 0/1 - 48" for specific privilege level. I?ve configure the command
#privilege configure level 5 interface range
The user can insert the command but not 0/1 - 48 (following output
(config)#interface range fastEthernet 0/1 ?
<cr>
I hope everybody can help me.
greets
Jens
10-25-2006 02:03 AM
I also had problems getting this to work. One workaround I found was to define an interface range macro then make this priv 5.
define interface-range TEST fastEthernet 0/1 - 48
privilege configure level 5 interface range macro TEST
10-25-2006 03:46 AM
This sounds something interesting, can you tell me the complete configuration, the above posted configuration i couldn't understand exactely.
10-25-2006 04:28 AM
Sure, This config is for a 3550 switch but is likely to work on other IOS switches.
setup a user and password with priv5 level and set vty for login local(below)
username cisco privilege 5 password 0 cisco
line vty 0 15
login local
then define the interface range macro, this is only an example so does not have to be all 48 ports(below)
define interface-range TEST fastEthernet 0/1 - 48
then set the priv level of the macro to 5.In addition you'll also have to set config to priv 5 (below).
privilege exec level 5 configure
privilege configure level 5 interface range macro TEST
You'll also need to alter the priv of any other interface specific commands to allow administrators to configure the relevant ports(example for portfast below)
privilege interface level 5 spanning-tree portfast
hope this helps!
10-25-2006 05:49 AM
thanks a lot i know the privilege exec level 5 & 15, but for an interface i was not aware, so thankz a lot certainly i will & i need 2 rate the post.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide