I would like to create a script shell that connects to the CISCO controller to insert the macAddres clients, using expect >, I actually need to create a script to automate the process.
Variables mac_description, description
controller command
config macfilter add mac_desejado 0 management "descrição"
#!/usr/bin/expect -f
spawn ssh -l andre 11.111.11.1
expect "password: "
send "PASSWORD\r"
expect "ls\r"
send "exit\r"