Appendix 12: Cisco

Appendix 12: Cisco



Appendix 12: Cisco

Connecting to Cisco with SSH

  1. Use Putty to connect to CISCO Switch.
  2. Provide the given IP Address and Port and click on Open
  3. After clicking on Open, it will prompt for Security Alert, click on “Yes”.
  4. The console will ask you to enter the username and password by which you have to login to the Switch. Enter the provided username and password.



  1. It will prompt for “VyomSwitch#”, you can start writing your commands after #. 


Commands used for Plugins.

                      1. Backup Configuration:

  1. To take backup you require to have TFTP Server. Download and install Tftp Server.
  2. Connect to putty as mentioned above and use the below command to take backup of the switch: 
  3. VyomSwitch#copy running-config tftp
  4. Address or name of remote host []? 10.51.29.28
  5. Destination filename [vyomswitch-confg]? backupFile!!
  6. 8859 bytes copied in 2.156 secs (4109 bytes/sec)
  1. Get Interface from IP Address
    1. To get interface from IP Address execute the following command:
    2. show ip arp | include Hardware Addr | 172.24.50.9


  1. Get Interface from Mac Address
    1. To get interface from MAC Address execute the following command:
    2. show mac address-table | include Type | 0011.9390.f600


  1. Get Interface Status
    1. To get interface from MAC Address execute the following command:
    2. show interface fa0/1 status


  1. Shutdown Interface
    1. To shutdown the interface use the below set of  command:
    2. VyomSwitch# config terminal
    3. Enter configuration commands, one per line.  End with CNTL/Z.
    4. VyomSwitch(config)# interface f0/1
    5. VyomSwitch(config-if)# shutdown
    6. VyomSwitch(config-if)# end


  1. No Shutdown Interface
    1. To start the interface use the below set of  command:
    2. VyomSwitch#config terminal
    3. Enter configuration commands, one per line.  End with CNTL/Z. 
    4. VyomSwitch(config)#interface f0/1 
    5. VyomSwitch(config-if)#no shutdown 
    6. VyomSwitch(config-if)#end


Additional Commands used for Plugins.

  1. To get host name
  1. show configuration | inc hostname
  1. set terminal
  1. terminal length 0








      Links to better reach 

            Bot Store

             EPD