cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
232
Views
0
Helpful
4
Replies

SSH to Catalyst Switches

olliga0520
Level 1
Level 1

@Ed Novak - Cisco Workflows TME  Probably a super basic question but, I have a handful of Catalyst switches I was hoping to ssh to via workflows.  I don't really want to set up Catalyst Center for the handful.  Is there anyway to do a direct SSH session to the Catalysts? Ive tried a few things but I cant seem to get it to work. 

Please let me know! Thanks! 

1 Accepted Solution

Accepted Solutions

Yes, you can use Cisco Workflows with SSH to automate devices.  This currently requires that you create a Terminal Endpoint Target for each device.  Then in your workflow you can use the Terminal Execute Terminal Command(s) Activity. You may need to use a Automation Remote to proxy the connection if your devices are not directly reachable from the cloud.  Could you provide more details on what you've tried and what isn't working?

View solution in original post

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

If the switch is configured for SSH, you can log in to the switch using SSH (using any terminal client like Putty)

Is this what you're looking for, or is there something else? ( DNAC) Catalyst Centre does automation using Netconf.

If this is not SD-Access, you can do workflows of configuration using Python or another mode - depends on the requirement (so kindly elaborate more on the requirement)

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Yes, you can use Cisco Workflows with SSH to automate devices.  This currently requires that you create a Terminal Endpoint Target for each device.  Then in your workflow you can use the Terminal Execute Terminal Command(s) Activity. You may need to use a Automation Remote to proxy the connection if your devices are not directly reachable from the cloud.  Could you provide more details on what you've tried and what isn't working?

PEBCAK... Looking at everything but the mirror. My bad. 

PCasa512
Level 1
Level 1

Yes:

1. enable
2. configure terminal
3. hostname {define-hostname-without-braces}
4. ip domain-name {define-domain-name-without-braces}
5. crypto key generate rsa
6. ip ssh version 2
7. line vty 0 15
8. transport input ssh
! transport input all may want to use all if telnet is needed as well
6. end
7. show running-config
8. write memory

REF: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-2_3_e/consolidated_guide/b_1523e_consolidated_2960x_cg/b_consolidated_152ex_2960-X_cg_chapter_0100110.pdf