Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AAA Question

Status
Not open for further replies.

gwildfire

IS-IT--Management
Apr 29, 2004
136
GB
Guys I am trying to configure AAA on a Cisco router. I want to setup a new level (14) to allow all commands with the exception of "Erase and copy" using LOCAL database (not tacacs+) Ciscos way of doing this seems to be allow basic then configure commands you allow. I need it the other way around as this is a massive list of commands!

Thanks in advance

Graham

Visit for free Cisco rack access.

CCNA, CCDA, CCNP, CCDP, CCIE R&S (Written), Net+, MCP, NCTS
 
or another approach can I make the startup-config read only have it boot a different config file?

Visit for free Cisco rack access.

CCNA, CCDA, CCNP, CCDP, CCIE R&S (Written), Net+, MCP, NCTS
 
If you don't want to allow changes to be written, then that kind of precludes any usefulness for the majority of the commands other than "show", does it not? If you can't write or copy, then the only thing it seems like you want admins to do is "show" and a few other commands.

Check your IOS level as well, there is a wildcard for your privilege command in some versions, which could make the task significantly easier:

 
No not really Chipk, I run an online lab and I want to clean sessions up when they have finished, one thing that often happens is people set passwords and hostnames etc, then even though I ask them no to, probably out of habit or lack or reading issue copy run start. I want to either prevent that aspect or after reload call upon a different config file.

Visit for free Cisco rack access.

CCNA, CCDA, CCNP, CCDP, CCIE R&S (Written), Net+, MCP, NCTS
 
yeah I looked at this link, the boot config command doesnt seem to be an option on any of my routers and they are all 12.3 or 12.4. I will try to tweak the config register see if I can get anywehre like that

Visit for free Cisco rack access.

CCNA, CCDA, CCNP, CCDP, CCIE R&S (Written), Net+, MCP, NCTS
 
i believe you need to use the
service config
command
you can then set in the router where it will take the config from...
 
2511(config)#service ?
compress-config Compress the configuration file
config TFTP load config files

hmm, tried this but it wants to use TFTP, I want to load a file saved in flash. Damm this is annoying!

Visit for free Cisco rack access.

CCNA, CCDA, CCNP, CCDP, CCIE R&S (Written), Net+, MCP, NCTS
 
Do you use any SNMP tools like SolarWinds? This still assumes that the users don't change the SNMP community string, but that just adds another way for you to recover back to your original config. If for instance, you set a RW community string, you can just push out the desired config after the class is over or whatever. Like I said, though, that still assumes they don't change the snmp community.

Sorry for assuming earlier, I couldn't think of any real world scenario where you'd want to do this, but I see why you do now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top