Linux - My first Linux Shell Script for Network Automation

Pubblicato il: 10 febbraio 2019
sul canale di: Elric IT
3,736
62

In this video you will learn how to create a script to automate network daily tasks.

Here is the script:

#!/bin/bash

echo "Enter the IP address: "
read IP
echo "Enter the username: "
read user
echo "Enter the password: "
read passwd
echo "Enter the enable password: "
read en

(
echo open "$IP"
sleep 1
echo "$user"
sleep 1
echo "$passwd"
sleep 1
echo "enable"
sleep 1
echo "$en"
sleep 1
echo "terminal length 0"
sleep 1
echo "show version"
sleep 2
) | telnet


Visit our tech blog, lots of tutorials here.
https://placefortech.com

Also follow my Facebook page and group.
  / elricit  
  / 2066530200304406  

Don't forget to subscribe to my channel! :)

Thank you for watching.


In questa pagina del sito puoi guardare il video online Linux - My first Linux Shell Script for Network Automation della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Elric IT 10 febbraio 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,736 volte e gli è piaciuto 62 spettatori. Buona visione!