shell function ns: Update to match SGSN output
This is compatible with the old vty output
This commit is contained in:
parent
87713ca071
commit
765196882d
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ mmc () {
|
||||||
}
|
}
|
||||||
|
|
||||||
ns () {
|
ns () {
|
||||||
expect -c 'spawn -noecho telnet 0 4245; expect >; send enable\r; expect #; send "show ns\r"; expect #' | grep ALIVE;
|
expect -c 'spawn -noecho telnet 0 4245; expect >; send enable\r; expect #; send "show ns\r"; expect #' | grep NSEI | grep ALIVE;
|
||||||
}
|
}
|
||||||
|
|
||||||
pp () {
|
pp () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue