Submit a ticketCall us

Announcing NPM 12.2
With NPM 12.2 you can monitor your Cisco ASA firewalls, to monitor VPN tunnels for basic visibility and troubleshooting tunnels. NPM 12.2 also uses the SolarWinds Orion Installer so you can easily install and upgrade one or more Orion Platform products simultaneously.
See new features and improvements.

Home > Success Center > Kiwi CatTools > Kiwi CatTools 3.11 Administrator Guide > Activities > Activities list > Device.CLI.Send commands > How to: Enable/Disable ports on a Catalyst CatOS switch

How to: Enable/Disable ports on a Catalyst CatOS switch

Table of contents
No headers
Created by Caroline Juszczak, last modified by Caroline Juszczak on Jun 28, 2016

Views: 64 Votes: 0 Revisions: 1

 

The Cisco Catalyst CatOS switches (4000, 5000, 6000) use the 'Set' type commands to modify the configuration.

 

You can easily enable or disable specific ports on switches at certain times of the day via a scheduled Device.CLI.Send commands activity.

 

Create a scheduled activity to enable the ports in the morning.

 

Activity Time settings:

 

Custom Schedule: 07:00 Monday to Friday

 

Activity Option settings:

 

[X] List of commands to be entered on device:

 

Set Port 3/1-24 enable     (enable ports 1 to 24 on slot 3)

Set Port 5/1-12 enable     (enable ports 1 to 12 on slot 5)

 

[X] Enter commands in enable mode

 

[X] Save device output to file [Specify the log file name here]

 

[X] Overwrite existing capture file

 

[X] Answer yes to any confirmation prompts

 

[X] Stop on error

 

Then, create another scheduled activity to disable the ports again during the evening.

 

Activity Time settings:

 

Custom Schedule: 19:00 Monday to Friday

 

Activity Option settings:

 

[X] List of commands to be entered on device:

 

Set Port 3/1-24 disable     (disable ports 1 to 24 on slot 3)

Set Port 5/1-12 disable     (disable ports 1 to 12 on slot 5)

 

[X] Enter commands in enable mode

 

[X] Save device output to file [Specify the log file name here]

 

[X] Overwrite existing capture file

 

[X] Answer yes to any confirmation prompts

 

[X] Stop on error

Last modified
07:19, 28 Jun 2016

Tags

Classifications

Public