Currently able to back up device config for Cisco 2800 routers, however, some routers have a virtual switch accessed with the following command:
service-module gi1/0 session
Once inside, then you can view the configuration of the 16port switch module. To exit, one types:
ctrl shift 6 x
service-module gig 1/0 session clear
to exit and clear the connection.
Question is how to script this so that I can backup the virtual switch configuration. As it is now, I have to manually back up the virtual switch configuration, which isn't difficult given only 7 of such devices in our WAN.
Thanks in advance!
Have you tried the 'Connecting via a session' feature?
The only thing with this is I don't think that there is a particular graceful exit to clear the connection. It probably just waits for the connection to timeout.