cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2267
Views
8
Helpful
4
Replies

Configure privilege Level

jspichalla
Level 1
Level 1

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

4 Replies 4

mark.edwards
Level 1
Level 1

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

This sounds something interesting, can you tell me the complete configuration, the above posted configuration i couldn't understand exactely.

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!

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco