Create an Account  |  Sign in + Post New Thread
<
Popular Discussions
Recent Discussions

Parse running config

 

Eric Greco Dec 29, 2016

Has anyone written an qapp that would parse through the running config on a cisco switch to make sure each interface is configured correctly?

Example:

interface GigabitEthernet1/1
 authentication host-mode multi-auth
 authentication open
 authentication order dot1x mab
 authentication priority mab dot1x
 authentication port-control auto
 authentication periodic
 authentication timer reauthenticate server
 authentication timer inactivity server
 authentication violation restrict
 mab
 dot1x pae authenticator
 macro description ISE-STD-Data
 no cdp enable
 spanning-tree portfast
 spanning-tree bpduguard enable switchport access vlan 2
 switchport mode access
 switchport nonegotiate
 switchport voice vlan 12
 authentication event fail action next-method

So we want to look at every interface in the running config verify that a macro with ISE has been applied and that it does not have authentication open in the interface config.  If authentication open is in the config or a macro with ISE has not been applied to the interface we want to highlight the port on a map or save all the non complient interfaces to a xls file.

Comments

Kyle Button Jun 02, 2017

Dustin Witherite Jan 30, 2017

Nicky Liu Jan 10, 2017

Eric Greco Jan 10, 2017

Nicky Liu Jan 10, 2017

Eric Greco Jan 10, 2017

Wang Senze Jan 04, 2017

Wang Senze Jan 04, 2017


Please sign in to post comments