Add BTS script: mgr
This commit is contained in:
parent
b2351d2679
commit
d00f59bbb8
1 changed files with 23 additions and 0 deletions
23
modules/rhizo_base/files/var/SysmoBTS/mgr
Normal file
23
modules/rhizo_base/files/var/SysmoBTS/mgr
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue