I am trying to change the existing SPAN session:
monitor session 1 source interface Gi1/0/23
monitor session 1 destination interface Gi1/0/24 encapsulation dot1q ingress untagged vlan 2
monitor session 1 source interface Gi1/0/24 tx
monitor session 1 destination interface Gi1/0/23 encapsulation dot1q ingress vlan 2
But when I do no monitor session 1
I lose connection to my SSH session and this is only way to connect to the device.
So we SSH to a public address that is being translated to a VLAN interface on the 3750. We have to reboot the router to revert back to our original config.
How can I change the SPAN monitoring without losing the connection.