Skip to content

Aruba AOS-CX

AOS-CX switches: ports, VLANs, LAGs, VSX and checkpoint rollback.

HPE / Aruba Requires SmartCom Revisited 1.0.0 or newer

by Nathan Kirk · 69 downloads · MIT licence · revision 1 · published 14 Aug 2026

This bundle can change or destroy device state

  • Shuts down an interface (2 steps) — Administratively disables an interface. If it is the interface you are connected over, you lose the session.
  • Erases configuration or storage (1 step) — Wipes stored configuration or a filesystem on the device. Usually not recoverable without a backup.
  • Writes configuration to persistent storage (1 step) — Makes the current configuration survive a reboot. Intended, usually — but it is not a read-only button.
Show exactly which steps matched
  • Shut Down Interface — Shuts down an interface (steps[3], sent text)

    shutdown
  • Bounce Interface — Shuts down an interface (steps[3], sent text)

    shutdown
  • Save Running Config — Writes configuration to persistent storage (steps[0], sent text)

    copy running-config startup-config
  • Erase Startup Config — Erases configuration or storage (steps[1], sent text)

    erase startup-config

Flagged automatically by matching command text. It is a prompt to read the script, not a verdict — plenty of legitimate buttons reboot things on purpose.

Download

3 sets, 117 buttons, 198 steps · 141.6 KB

File format version 1 · exported by Smartcom Revisited

Download .buttons.json
SHA-256 ee4d9edf0c1abb535e9e55560039c709fe6e561f46168633df48236fd3ca7b15

You get the exact file the uploader submitted, byte for byte — that checksum is what sha256sum will print. Import it from the button panel in SmartCom Revisited.

About this set

Aruba AOS-CX day-to-day: port and PoE state, VLAN and LAG configuration, VSX pair health, routing and access control, with checkpoints and rollback as the safety net for config changes.

Every button, in full

Exactly what gets sent

This is the complete script of the file below — nothing is summarised or hidden. Read it before you download it, the same way you would read a script someone emailed you.

AOS-CX - Ports, VLANs & PoE

36 buttons

Interface state, VLANs, LAGs, PoE budget and MAC learning.

Interface Brief

Run: show interface brief

1 step

  1. Send
    show interface brief

    Sends Enter afterwards.

Interface Detail

Run: show interface {{IFACE}}

1 step · 1 input

  1. Send
    show interface {{IFACE}}

    Sends Enter afterwards.

Interface Statistics

Run: show interface {{IFACE}} statistics

1 step · 1 input

  1. Send
    show interface {{IFACE}} statistics

    Sends Enter afterwards.

Interface Errors

Run: show interface {{IFACE}} extended

1 step · 1 input

  1. Send
    show interface {{IFACE}} extended

    Sends Enter afterwards.

Transceiver Detail

Run: show interface {{IFACE}} transceiver detail

1 step · 1 input

  1. Send
    show interface {{IFACE}} transceiver detail

    Sends Enter afterwards.

All Transceivers

Run: show interface transceiver

1 step

  1. Send
    show interface transceiver

    Sends Enter afterwards.

VLAN Summary

Run: show vlan

1 step

  1. Send
    show vlan

    Sends Enter afterwards.

VLAN Detail

Run: show vlan {{VLAN}}

1 step · 1 input

  1. Send
    show vlan {{VLAN}}

    Sends Enter afterwards.

VLAN Ports

Run: show vlan port {{IFACE}}

1 step · 1 input

  1. Send
    show vlan port {{IFACE}}

    Sends Enter afterwards.

LAG Summary

Run: show lacp interfaces

1 step

  1. Send
    show lacp interfaces

    Sends Enter afterwards.

LAG Detail

Run: show interface lag {{LAG}}

1 step · 1 input

  1. Send
    show interface lag {{LAG}}

    Sends Enter afterwards.

LACP Aggregates

Run: show lacp aggregates

1 step

  1. Send
    show lacp aggregates

    Sends Enter afterwards.

MAC Address Table

Run: show mac-address-table

1 step

  1. Send
    show mac-address-table

    Sends Enter afterwards.

Find MAC Address

Run: show mac-address-table address {{MAC}}

1 step · 1 input

  1. Send
    show mac-address-table address {{MAC}}

    Sends Enter afterwards.

MAC Table by Port

Run: show mac-address-table port {{IFACE}}

1 step · 1 input

  1. Send
    show mac-address-table port {{IFACE}}

    Sends Enter afterwards.

MAC Table Count

Run: show mac-address-table count

1 step

  1. Send
    show mac-address-table count

    Sends Enter afterwards.

Spanning-Tree Summary

Run: show spanning-tree summary

1 step

  1. Send
    show spanning-tree summary

    Sends Enter afterwards.

Spanning-Tree Detail

Run: show spanning-tree detail

1 step

  1. Send
    show spanning-tree detail

    Sends Enter afterwards.

Spanning-Tree Inconsistent Ports

Run: show spanning-tree inconsistent-ports

1 step

  1. Send
    show spanning-tree inconsistent-ports

    Sends Enter afterwards.

PoE Overview

Run: show power-over-ethernet brief

1 step

  1. Send
    show power-over-ethernet brief

    Sends Enter afterwards.

PoE Port Detail

Run: show power-over-ethernet interface {{IFACE}}

1 step · 1 input

  1. Send
    show power-over-ethernet interface {{IFACE}}

    Sends Enter afterwards.

LLDP Neighbours

Run: show lldp neighbor-info

1 step

  1. Send
    show lldp neighbor-info

    Sends Enter afterwards.

LLDP Neighbour Detail

Run: show lldp neighbor-info interface {{IFACE}} detail

1 step · 1 input

  1. Send
    show lldp neighbor-info interface {{IFACE}} detail

    Sends Enter afterwards.

Loop Protect Status

Run: show loop-protect

1 step

  1. Send
    show loop-protect

    Sends Enter afterwards.

Set Interface Description

Run: configure terminal ; interface {{IFACE}} ; description {{DESCRIPTION}} ; exit ; exit

5 steps · asks for confirmation before it runs · 2 inputs

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    interface {{IFACE}}

    Sends Enter afterwards.

  3. Send
    description {{DESCRIPTION}}

    Sends Enter afterwards.

  4. Send
    exit

    Sends Enter afterwards.

  5. Send
    exit

    Sends Enter afterwards.

Set Access VLAN

Run: configure terminal ; interface {{IFACE}} ; no routing ; vlan access {{VLAN}} ; exit ; exit

6 steps · asks for confirmation before it runs · 2 inputs

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    interface {{IFACE}}

    Sends Enter afterwards.

  3. Send
    no routing

    Sends Enter afterwards.

  4. Send
    vlan access {{VLAN}}

    Sends Enter afterwards.

  5. Send
    exit

    Sends Enter afterwards.

  6. Send
    exit

    Sends Enter afterwards.

Configure Trunk Port

Run: configure terminal ; interface {{IFACE}} ; no routing ; vlan trunk native {{NATIVE_VLAN}} ; vlan trunk allowed {{VLAN_LIST}} ; exit ; exit

7 steps · asks for confirmation before it runs · 3 inputs

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    interface {{IFACE}}

    Sends Enter afterwards.

  3. Send
    no routing

    Sends Enter afterwards.

  4. Send
    vlan trunk native {{NATIVE_VLAN}}

    Sends Enter afterwards.

  5. Send
    vlan trunk allowed {{VLAN_LIST}}

    Sends Enter afterwards.

  6. Send
    exit

    Sends Enter afterwards.

  7. Send
    exit

    Sends Enter afterwards.

Create VLAN

Run: configure terminal ; vlan {{VLAN}} ; name {{VLAN_NAME}} ; exit ; exit

5 steps · asks for confirmation before it runs · 2 inputs

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    vlan {{VLAN}}

    Sends Enter afterwards.

  3. Send
    name {{VLAN_NAME}}

    Sends Enter afterwards.

  4. Send
    exit

    Sends Enter afterwards.

  5. Send
    exit

    Sends Enter afterwards.

Enable Interface

Run: configure terminal ; interface {{IFACE}} ; no shutdown ; exit ; exit

5 steps · asks for confirmation before it runs · 1 input

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    interface {{IFACE}}

    Sends Enter afterwards.

  3. Send
    no shutdown

    Sends Enter afterwards.

  4. Send
    exit

    Sends Enter afterwards.

  5. Send
    exit

    Sends Enter afterwards.

Enable PoE on Port

Run: configure terminal ; interface {{IFACE}} ; power-over-ethernet ; exit ; exit

5 steps · asks for confirmation before it runs · 1 input

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    interface {{IFACE}}

    Sends Enter afterwards.

  3. Send
    power-over-ethernet

    Sends Enter afterwards.

  4. Send
    exit

    Sends Enter afterwards.

  5. Send
    exit

    Sends Enter afterwards.

Add Port to LAG

Run: configure terminal ; interface {{IFACE}} ; lag {{LAG}} ; exit ; exit

5 steps · asks for confirmation before it runs · 2 inputs

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    interface {{IFACE}}

    Sends Enter afterwards.

  3. Send
    lag {{LAG}}

    Sends Enter afterwards.

  4. Send
    exit

    Sends Enter afterwards.

  5. Send
    exit

    Sends Enter afterwards.

Shut Down Interface

Run: configure terminal ; interface {{IFACE}} ; shutdown ; exit ; exit

6 steps · asks for confirmation before it runs · 1 input

  • Shuts down an interface
  1. Confirm

    Asks yes or no: “Shut down {{IFACE}}. Anything behind it loses its link immediately. Continue?”

    Answering no stops the script here.

  2. Send
    configure terminal

    Sends Enter afterwards.

  3. Send
    interface {{IFACE}}

    Sends Enter afterwards.

  4. Send
    shutdown

    Sends Enter afterwards.

  5. Send
    exit

    Sends Enter afterwards.

  6. Send
    exit

    Sends Enter afterwards.

Disable PoE on Port

Run: configure terminal ; interface {{IFACE}} ; no power-over-ethernet ; exit ; exit

6 steps · asks for confirmation before it runs · 1 input

  1. Confirm

    Asks yes or no: “Cut power to {{IFACE}}. Whatever it powers — phone, camera, AP — turns off at once. Continue?”

    Answering no stops the script here.

  2. Send
    configure terminal

    Sends Enter afterwards.

  3. Send
    interface {{IFACE}}

    Sends Enter afterwards.

  4. Send
    no power-over-ethernet

    Sends Enter afterwards.

  5. Send
    exit

    Sends Enter afterwards.

  6. Send
    exit

    Sends Enter afterwards.

Bounce Interface

Run: configure terminal ; interface {{IFACE}} ; shutdown ; no shutdown ; exit ; exit

7 steps · asks for confirmation before it runs · 1 input

  • Shuts down an interface
  1. Confirm

    Asks yes or no: “Bounce {{IFACE}}. The link drops and comes back, and devices behind it reconnect. Continue?”

    Answering no stops the script here.

  2. Send
    configure terminal

    Sends Enter afterwards.

  3. Send
    interface {{IFACE}}

    Sends Enter afterwards.

  4. Send
    shutdown

    Sends Enter afterwards.

  5. Send
    no shutdown

    Sends Enter afterwards.

  6. Send
    exit

    Sends Enter afterwards.

  7. Send
    exit

    Sends Enter afterwards.

Clear Interface Statistics

Run: clear interface {{IFACE}} statistics

2 steps · asks for confirmation before it runs · 1 input

  1. Confirm

    Asks yes or no: “Reset the counters on {{IFACE}}. The error history you are looking at is lost. Continue?”

    Answering no stops the script here.

  2. Send
    clear interface {{IFACE}} statistics

    Sends Enter afterwards.

Delete VLAN

Run: configure terminal ; no vlan {{VLAN}} ; exit

4 steps · asks for confirmation before it runs · 1 input

  1. Confirm

    Asks yes or no: “Delete VLAN {{VLAN}}. Ports left in it lose their network. Continue?”

    Answering no stops the script here.

  2. Send
    configure terminal

    Sends Enter afterwards.

  3. Send
    no vlan {{VLAN}}

    Sends Enter afterwards.

  4. Send
    exit

    Sends Enter afterwards.

AOS-CX - Routing & VSX

36 buttons

Routes, OSPF, BGP, VRRP, VSX pair health and reachability.

Routing Table

Run: show ip route

1 step

  1. Send
    show ip route

    Sends Enter afterwards.

Route for Prefix

Run: show ip route {{PREFIX}}

1 step · 1 input

  1. Send
    show ip route {{PREFIX}}

    Sends Enter afterwards.

Route Summary

Run: show ip route summary

1 step

  1. Send
    show ip route summary

    Sends Enter afterwards.

Connected Routes

Run: show ip route connected

1 step

  1. Send
    show ip route connected

    Sends Enter afterwards.

Static Routes

Run: show ip route static

1 step

  1. Send
    show ip route static

    Sends Enter afterwards.

Routes in VRF

Run: show ip route vrf {{VRF}}

1 step · 1 input

  1. Send
    show ip route vrf {{VRF}}

    Sends Enter afterwards.

ARP Table

Run: show arp

1 step

  1. Send
    show arp

    Sends Enter afterwards.

ARP for Host

Run: show arp | include {{IP}}

1 step · 1 input

  1. Send
    show arp | include {{IP}}

    Sends Enter afterwards.

IP Interfaces

Run: show ip interface brief

1 step

  1. Send
    show ip interface brief

    Sends Enter afterwards.

SVI Detail

Run: show interface vlan{{VLAN}}

1 step · 1 input

  1. Send
    show interface vlan{{VLAN}}

    Sends Enter afterwards.

OSPF Neighbours

Run: show ip ospf neighbors

1 step

  1. Send
    show ip ospf neighbors

    Sends Enter afterwards.

OSPF Interfaces

Run: show ip ospf interface

1 step

  1. Send
    show ip ospf interface

    Sends Enter afterwards.

OSPF Routes

Run: show ip ospf routes

1 step

  1. Send
    show ip ospf routes

    Sends Enter afterwards.

BGP Summary

Run: show bgp ipv4 unicast summary

1 step

  1. Send
    show bgp ipv4 unicast summary

    Sends Enter afterwards.

BGP Neighbours

Run: show bgp ipv4 unicast neighbors

1 step

  1. Send
    show bgp ipv4 unicast neighbors

    Sends Enter afterwards.

BGP Routes

Run: show bgp ipv4 unicast

1 step

  1. Send
    show bgp ipv4 unicast

    Sends Enter afterwards.

VRRP Status

Run: show vrrp

1 step

  1. Send
    show vrrp

    Sends Enter afterwards.

VRRP Detail

Run: show vrrp all detail

1 step

  1. Send
    show vrrp all detail

    Sends Enter afterwards.

Active Gateway

Run: show active-gateway

1 step

  1. Send
    show active-gateway

    Sends Enter afterwards.

VSX Status

Run: show vsx status

1 step

  1. Send
    show vsx status

    Sends Enter afterwards.

VSX Brief

Run: show vsx brief

1 step

  1. Send
    show vsx brief

    Sends Enter afterwards.

VSX ISL Status

Run: show vsx status linkup-delay

1 step

  1. Send
    show vsx status linkup-delay

    Sends Enter afterwards.

VSX Configuration Consistency

Run: show vsx configuration-consistency

1 step

  1. Send
    show vsx configuration-consistency

    Sends Enter afterwards.

MCLAG Interfaces

Run: show lacp interfaces multi-chassis

1 step

  1. Send
    show lacp interfaces multi-chassis

    Sends Enter afterwards.

DHCP Relay Status

Run: show dhcp-relay

1 step

  1. Send
    show dhcp-relay

    Sends Enter afterwards.

DHCP Snooping Bindings

Run: show dhcp-snooping binding

1 step

  1. Send
    show dhcp-snooping binding

    Sends Enter afterwards.

Ping Host

Run: ping {{HOST}} repetitions {{COUNT}}

1 step · 2 inputs

  1. Send
    ping {{HOST}} repetitions {{COUNT}}

    Sends Enter afterwards.

Ping in VRF

Run: ping {{HOST}} vrf {{VRF}} repetitions {{COUNT}}

1 step · 3 inputs

  1. Send
    ping {{HOST}} vrf {{VRF}} repetitions {{COUNT}}

    Sends Enter afterwards.

Traceroute

Run: traceroute {{HOST}}

1 step · 1 input

  1. Send
    traceroute {{HOST}}

    Sends Enter afterwards.

Traceroute in VRF

Run: traceroute {{HOST}} vrf {{VRF}}

1 step · 2 inputs

  1. Send
    traceroute {{HOST}} vrf {{VRF}}

    Sends Enter afterwards.

Add Static Route

Run: configure terminal ; ip route {{PREFIX}} {{NEXT_HOP}} ; exit

3 steps · asks for confirmation before it runs · 2 inputs

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    ip route {{PREFIX}} {{NEXT_HOP}}

    Sends Enter afterwards.

  3. Send
    exit

    Sends Enter afterwards.

Create SVI

Run: configure terminal ; interface vlan{{VLAN}} ; ip address {{IP}}/{{PREFIX_LEN}} ; no shutdown ; exit ; exit

6 steps · asks for confirmation before it runs · 3 inputs

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    interface vlan{{VLAN}}

    Sends Enter afterwards.

  3. Send
    ip address {{IP}}/{{PREFIX_LEN}}

    Sends Enter afterwards.

  4. Send
    no shutdown

    Sends Enter afterwards.

  5. Send
    exit

    Sends Enter afterwards.

  6. Send
    exit

    Sends Enter afterwards.

Add BGP Neighbour

Run: configure terminal ; router bgp {{ASN}} ; neighbor {{PEER}} remote-as {{PEER_AS}} ; exit ; exit

5 steps · asks for confirmation before it runs · 3 inputs

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    router bgp {{ASN}}

    Sends Enter afterwards.

  3. Send
    neighbor {{PEER}} remote-as {{PEER_AS}}

    Sends Enter afterwards.

  4. Send
    exit

    Sends Enter afterwards.

  5. Send
    exit

    Sends Enter afterwards.

Remove Static Route

Run: configure terminal ; no ip route {{PREFIX}} {{NEXT_HOP}} ; exit

4 steps · asks for confirmation before it runs · 2 inputs

  1. Confirm

    Asks yes or no: “Remove the route to {{PREFIX}}. Traffic for it follows whatever is left, or nothing. Continue?”

    Answering no stops the script here.

  2. Send
    configure terminal

    Sends Enter afterwards.

  3. Send
    no ip route {{PREFIX}} {{NEXT_HOP}}

    Sends Enter afterwards.

  4. Send
    exit

    Sends Enter afterwards.

Clear ARP Cache

Run: clear arp

2 steps · asks for confirmation before it runs

  1. Confirm

    Asks yes or no: “Flush the ARP cache. Expect a brief pause on active flows while it repopulates. Continue?”

    Answering no stops the script here.

  2. Send
    clear arp

    Sends Enter afterwards.

Clear BGP Neighbour

Run: clear bgp {{PEER}}

2 steps · asks for confirmation before it runs · 1 input

  1. Confirm

    Asks yes or no: “Reset the BGP session with {{PEER}}. Prefixes from that peer are withdrawn until it rebuilds. Continue?”

    Answering no stops the script here.

  2. Send
    clear bgp {{PEER}}

    Sends Enter afterwards.

AOS-CX - System, Checkpoints & Rescue

45 buttons

Health, logs, users, checkpoints, rollback and reboot.

Version

Run: show version

1 step

  1. Send
    show version

    Sends Enter afterwards.

System Summary

Run: show system

1 step

  1. Send
    show system

    Sends Enter afterwards.

Uptime & Resources

Run: show system resource-utilization

1 step

  1. Send
    show system resource-utilization

    Sends Enter afterwards.

CPU Usage

Run: show system resource-utilization | include CPU

1 step

  1. Send
    show system resource-utilization | include CPU

    Sends Enter afterwards.

Memory Usage

Run: show system resource-utilization | include Memory

1 step

  1. Send
    show system resource-utilization | include Memory

    Sends Enter afterwards.

Environment

Run: show environment temperature

1 step

  1. Send
    show environment temperature

    Sends Enter afterwards.

Power Supplies

Run: show environment power-supply

1 step

  1. Send
    show environment power-supply

    Sends Enter afterwards.

Fan Status

Run: show environment fan

1 step

  1. Send
    show environment fan

    Sends Enter afterwards.

LED Status

Run: show environment led

1 step

  1. Send
    show environment led

    Sends Enter afterwards.

Module Inventory

Run: show module

1 step

  1. Send
    show module

    Sends Enter afterwards.

Stack Status

Run: show vsf

1 step

  1. Send
    show vsf

    Sends Enter afterwards.

Filesystem Usage

Run: show core-dump

1 step

  1. Send
    show core-dump

    Sends Enter afterwards.

Running Config

Run: show running-config

1 step

  1. Send
    show running-config

    Sends Enter afterwards.

Running Config Section

Run: show running-config interface {{IFACE}}

1 step · 1 input

  1. Send
    show running-config interface {{IFACE}}

    Sends Enter afterwards.

Startup Config

Run: show startup-config

1 step

  1. Send
    show startup-config

    Sends Enter afterwards.

Config Differences

Run: checkpoint diff startup-config running-config

1 step

  1. Send
    checkpoint diff startup-config running-config

    Sends Enter afterwards.

Checkpoint List

Run: show checkpoint

1 step

  1. Send
    show checkpoint

    Sends Enter afterwards.

Checkpoint Detail

Run: show checkpoint {{NAME}}

1 step · 1 input

  1. Send
    show checkpoint {{NAME}}

    Sends Enter afterwards.

Event Log

Run: show events -n {{LINES}}

1 step · 1 input

  1. Send
    show events -n {{LINES}}

    Sends Enter afterwards.

Search Event Log

Run: show events | include {{PATTERN}}

1 step · 1 input

  1. Send
    show events | include {{PATTERN}}

    Sends Enter afterwards.

Error Events

Run: show events -s emer,alert,crit,err -n {{LINES}}

1 step · 1 input

  1. Send
    show events -s emer,alert,crit,err -n {{LINES}}

    Sends Enter afterwards.

Logging Config

Run: show running-config | include logging

1 step

  1. Send
    show running-config | include logging

    Sends Enter afterwards.

Users

Run: show user-list

1 step

  1. Send
    show user-list

    Sends Enter afterwards.

AAA Config

Run: show aaa authentication

1 step

  1. Send
    show aaa authentication

    Sends Enter afterwards.

Active Sessions

Run: show session

1 step

  1. Send
    show session

    Sends Enter afterwards.

SSH Server Config

Run: show ssh server

1 step

  1. Send
    show ssh server

    Sends Enter afterwards.

Management Interface

Run: show interface mgmt

1 step

  1. Send
    show interface mgmt

    Sends Enter afterwards.

NTP Status

Run: show ntp status

1 step

  1. Send
    show ntp status

    Sends Enter afterwards.

NTP Associations

Run: show ntp associations

1 step

  1. Send
    show ntp associations

    Sends Enter afterwards.

Clock

Run: show clock

1 step

  1. Send
    show clock

    Sends Enter afterwards.

SNMP Config

Run: show snmp-server

1 step

  1. Send
    show snmp-server

    Sends Enter afterwards.

Copp Policy

Run: show copp-policy statistics

1 step

  1. Send
    show copp-policy statistics

    Sends Enter afterwards.

Save Running Config

Run: copy running-config startup-config

1 step · asks for confirmation before it runs

  • Writes configuration to persistent storage
  1. Send
    copy running-config startup-config

    Sends Enter afterwards.

Set Hostname

Run: configure terminal ; hostname {{HOSTNAME}} ; exit

3 steps · asks for confirmation before it runs · 1 input

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    hostname {{HOSTNAME}}

    Sends Enter afterwards.

  3. Send
    exit

    Sends Enter afterwards.

Add NTP Server

Run: configure terminal ; ntp server {{NTP}} ; exit

3 steps · asks for confirmation before it runs · 1 input

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    ntp server {{NTP}}

    Sends Enter afterwards.

  3. Send
    exit

    Sends Enter afterwards.

Set Logging Host

Run: configure terminal ; logging {{SERVER}} ; exit

3 steps · asks for confirmation before it runs · 1 input

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    logging {{SERVER}}

    Sends Enter afterwards.

  3. Send
    exit

    Sends Enter afterwards.

Create Checkpoint

Named snapshot of the running config. Take one before any change you might need to undo.

1 step · asks for confirmation before it runs · 1 input

  1. Send
    copy running-config checkpoint {{NAME}}

    Sends Enter afterwards.

Back Up Config to TFTP

Run: copy running-config tftp://{{SERVER}}/{{FILE}}

1 step · asks for confirmation before it runs · 2 inputs

  1. Send
    copy running-config tftp://{{SERVER}}/{{FILE}}

    Sends Enter afterwards.

Enable Auto-Checkpoint

Automatically checkpoints the config every 5 minutes after a change.

3 steps · asks for confirmation before it runs

  1. Send
    configure terminal

    Sends Enter afterwards.

  2. Send
    checkpoint auto 5

    Sends Enter afterwards.

  3. Send
    exit

    Sends Enter afterwards.

Roll Back to Checkpoint

Run: copy checkpoint {{NAME}} running-config

2 steps · asks for confirmation before it runs · 1 input

  1. Confirm

    Asks yes or no: “Replace the running config with checkpoint {{NAME}}. Everything configured since is undone, which may include the access you are using now. Continue?”

    Answering no stops the script here.

  2. Send
    copy checkpoint {{NAME}} running-config

    Sends Enter afterwards.

Roll Back to Startup Config

Run: copy startup-config running-config

2 steps · asks for confirmation before it runs

  1. Confirm

    Asks yes or no: “Replace the running config with the startup config. Every unsaved change is undone at once. Continue?”

    Answering no stops the script here.

  2. Send
    copy startup-config running-config

    Sends Enter afterwards.

Restore Config from TFTP

Run: copy tftp://{{SERVER}}/{{FILE}} running-config

2 steps · asks for confirmation before it runs · 2 inputs

  1. Confirm

    Asks yes or no: “Replace the running config with {{FILE}}. Anything not in that file is removed, including management access. Continue?”

    Answering no stops the script here.

  2. Send
    copy tftp://{{SERVER}}/{{FILE}} running-config

    Sends Enter afterwards.

Reboot Switch

Run: boot system

2 steps · asks for confirmation before it runs

  1. Confirm

    Asks yes or no: “Reboot this switch. Everything through it stops for the length of the boot, and unsaved config is lost. Continue?”

    Answering no stops the script here.

  2. Send
    boot system

    Sends Enter afterwards.

Erase Startup Config

Run: erase startup-config

2 steps · asks for confirmation before it runs

  • Erases configuration or storage
  1. Confirm

    Asks yes or no: “Erase the startup config. On the next reboot this switch comes up unconfigured with no management access. Continue?”

    Answering no stops the script here.

  2. Send
    erase startup-config

    Sends Enter afterwards.

Factory Reset

Run: erase all zeroize

2 steps · asks for confirmation before it runs

  1. Confirm

    Asks yes or no: “Wipe the switch completely, including config, logs and keys, and reboot to factory state. Recovery needs console access. Continue?”

    Answering no stops the script here.

  2. Send
    erase all zeroize

    Sends Enter afterwards.

Version history

  • Revision 1 current

    First published version.

    14 Aug 2026 · 141.6 KB · needs 1.0.0+ · ee4d9edf0c1abb53…

Something wrong with this set?

Sign in to report it, or email abuse@smartcomrevisited.com.