Add BTS script: mgr

This commit is contained in:
Keith Whyte 2021-05-28 02:27:10 +02:00
parent b2351d2679
commit d00f59bbb8

View file

@ -0,0 +1,23 @@
#!/usr/bin/expect -f
spawn telnet localhost 4252
expect ">"
send "enable\r"
expect "#"
send "logging enable\r"
expect "#"
send "logging level all everything\r"
expect "#"
send "logging print category 1\r"
expect "#"
send "logging level set-all error\r"
expect "#"
send "logging filter all 1\r"
expect "#"
send "show manager\r"
expect "#"
interact