Monday, September 24, 2018

Push multiple commands to Cisco IOS?

Let's say I am working on a remote device. I need to apply 2 commands, the first command will cause me to lose connectivity to the device, and the 2nd command will restore connectivity (I need to convert a port from a switchport to a routed ported, so I need to issue "no switchport" and then "ip address dhcp")

Is this possible in IOS? When I issue the first command I'll lose SSH access, making me unable to issue the 2nd command



No comments:

Post a Comment