I need to shut down access to the network for a specific time frame. I would like to do this to a remote switch. As an example; Vlan 220 or ports gig 0/1, 0/3-7 and gig 0/9 or if need be the entire switch from ; 1830 - 0100 hours 31 Dec 09. I am using Putty and SSH.
The examples as written will shutdown the layer 3 VLAN 220 interface on the local switch only. If those switches are not routing that VLAN, and you want to shutdown the layer 2 VLAN, then replace the interface command with:
This, of course, assumes these switches are in VTP transparent mode. However, if there are other commands you want to run, you can modify the applets accordingly. Essentially, you can run any CLI commands within an applet that you would normally run manually.