Scenario:
You are the security officer of the network and recently some of the network engineers have been sloppy with the security rules within the company. You decide to implement EEM scripting so passwords don’t show up some of the show commands.
Goal:
- All IP addresses have been preconfigured for you.
- Configure router Scriptor so when someone types “show running config” you won’t see the VTY password.
- You are only allowed to use EEM scripting to solve this.
IOS:
c3640-jk9s-mz.124-16.bin
Topology:
Configuration Files
You need to register to download the GNS3 topology file. (Registration is free!)Once you are logged in you will find the configuration files right here.
Do you want your CCNA or CCNP Certificate?
The How to Master series helps you to understand complex topics like spanning-tree, VLANs, trunks, OSPF, EIGRP, BGP and more.
Written by René Molenaar - CCIE #41726
please provide solutions
hi, have you a solution for that?
thanks.
event manager applet EEM
event cli pattern "show run" sync no skip yes
action 1.0 cli command "show run | exclude password"
action 2.0 puts "$_cli_result"
In the cfg file not showing actually what he did