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.
Auf dieser Seite können Sie das Online-Video Linux - My first Linux Shell Script for Network Automation mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Elric IT 10 Februar 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 3,736 Mal angesehen und es wurde von 62 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!