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.
Nesta página do site você pode assistir ao vídeo on-line Linux - My first Linux Shell Script for Network Automation duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Elric IT 10 Fevereiro 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 3,736 vezes e gostou 62 espectadores. Boa visualização!