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.
En esta página del sitio puede ver el video en línea Linux - My first Linux Shell Script for Network Automation de Duración hora minuto segunda en buena calidad , que subió el usuario Elric IT 10 febrero 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 3,736 veces y le gustó 62 a los espectadores. Disfruta viendo!