Command line function to see NS Layer

This commit is contained in:
Monocots 2020-05-19 23:11:06 +00:00
parent 149014be19
commit 27241a8300

View file

@ -95,3 +95,7 @@ pdp () {
pdpc () {
expect -c 'spawn -noecho telnet 0 4245; expect >; send enable\r; expect #; send "show pdp-context all\r"; expect #' | grep "PDP Address" | grep -v invalid | wc -l
}
ns () {
expect -c 'spawn -noecho telnet 0 4245; expect >; send enable\r; expect #; send "show ns\r"; expect #' | grep ALIVE;
}