Discussion:
[rancid] cisco asa "terminal length"
Ignacio Freyre
2016-02-02 14:42:46 UTC
Permalink
hi, i was looking at the clogin debug for an asa, i see that "terminal length 0" and "terminal width 132" commands fail. cisco asa uses "terminal pager 0".
How can i correct this so my asa devices use the command "terminal pager 0".
regards



asa# terminal length 0
^
ERROR: % Invalid input detected at '^' marker.
asa# terminal width 132
^
ERROR: % Invalid input detected at '^' marker.
Ignacio Freyre
2016-02-02 17:36:08 UTC
Permalink
i have created a copy of clogin, asaclogin. For now its working.
Could this be corrected in upcoming releases of rancid?




--- clogin 2016-01-11 15:02:44.318068528 -0300
+++ asaclogin 2016-02-02 13:41:45.156787795 -0300
@@ -999,11 +999,9 @@
send "set width 132\r"
expect -re $prompt {}
send "set logging session disable\r"
} else {
- send "terminal length 0\r"
- expect -re $prompt {}
- send "terminal width 132\r"
+ send "terminal pager 0\r"
}
expect -re $prompt {}
} else {
send "disable clipaging\r"

Loading...