Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

Home > Success Center > Kiwi CatTools > Kiwi CatTools Documentation > 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: 378 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

Tags

Classifications

Public