Documentation forKiwi CatTools

How to enable or disable ports on a Catalyst CatOS switch

The Cisco Catalyst CatOS switches (4000, 5000, 6000) use 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.

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

Configure activity settings in the Edit scheduled activity window.

  1. Open Kiwi CatTools.
  2. In the Activities panel, click Add.
  3. Click the Activity tab
    1. Select Type Device.CLI.Send commands
    2. Enter a name and description, for example "Enable ports in morning"
  4. Click the Time tab.
    1. Select Custom Schedule and enter 07:00. Click Add.
    2. Under Days of the week, select Monday, Tuesday, Wednesday, Thursday, Friday.
  5. Click the Options tab.
    1. Select List of commands to be entered on device.
    2. Enter commands to enable ports 1 to 24 on slot 3 and enable ports 1 to 12 on slot 5:
      Set Port 3/1-24 enable
      Set Port 5/1-12 enable
    3. Select Enter commands in enable mode.
    4. Select Save device output to file. Specify the log file.
    5. Select Overwrite existing capture file.
    6. Select Answer yes to any confirmation prompts.
    7. Select Stop on error.

2. Create another scheduled activity to disable the ports in the evening.

Configure activity settings in the Edit scheduled activity window.

  1. Open Kiwi CatTools.
  2. In the Activities panel, click Add.
  3. Click the Activity tab.
    1. Select Type Device.CLI.Send commands
    2. Enter a name and description, for example "Disable ports in evening"
  4. Click the Time tab.
    1. Select Custom Schedule and enter 19:00. Click Add.
    2. Under Days of the week, select Monday, Tuesday, Wednesday, Thursday, Friday.
  5. Click the Options tab.
    1. Select List of commands to be entered on device.
    2. Enter commands to disable ports 1 to 24 on slot 3 and ports 1 to 12 on slot 5.
      Set Port 3/1-24 disable
      Set Port 5/1-12 disable
    3. Select Enter commands in enable mode.
    4. Select Save device output to file. Specify the log file name here.
    5. Select Overwrite existing capture file.
    6. Select Answer yes to any confirmation prompts.
    7. Select Stop on error.