Submit a ticketCall us

Quickly Address Software Vulnerabilities
Patch Manager is an intuitive patch management software which extends the capabilities of WSUS and SCCM to not only patch Windows® servers and workstations, and Microsoft® applications, but also other 3rd-party applications which are commonly exploited by hackers. Learn more about our patch management solution.

 

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: 24 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