Discussion:
[rancid] Extreme Networks - Disable CLI Paging
Fleming, Graham
2013-09-10 23:34:56 UTC
Permalink
Hi there. I have very basic scripting knowledge so I’m not very good at figuring these things out and I’m finally resorting to asking some much smarter folk!

I have a bunch of Extreme networks switches and Ive managed to tweak the ‘xrancid’ script to fix some issues that I had out of the box with RANCID and Extreme switches.

The last issue that I cannot figure out is in my saved configs, it appears the word “quit” gets mangled up in the output seemingly from the pager prompts. Example at the end.

I looked through the ‘clogin’ script to see about disabling the pager but there are some comments in that script about how Extreme switches can’t have the pager disabled. Assuming this is old stuff as now they can. Running XOS v15 on these X440’s. The command “disable cli paging” will disable the pager per-session.

I’ve tried messing around with ‘clogin’ to try and get it to pass this command but it doesn’t work. Anyone know if this is easy to do? Please help.

Here’s what my daily diffs look like (extract). Note the work quit appears spread out in random places:

Index: configs/x440-0
===================================================================
#
- u#
# Module devmgr configuration.
#
enable ip-option record-timestamp
- disable ipforwarding broadcast vlan
+ disabule ipforwarding broadcast vlan
disable ipforwarding broadcast vlan
- i
#
# Module dosprotect configuration.
- t
#
configure mvrp stpd s0
+ i
#
disable ripng export isis-level-1
+ t
#
Paul Thornton
2013-09-13 14:17:03 UTC
Permalink
Hi

I have had this exact same issue; and we fixed it with the attached
patch to clogin (not xrancid - the problem is a mis-identification of
the prompt).

However, there is a patch on the mailing list here:
http://www.shrubbery.net/pipermail/rancid-discuss/2009-February/003645.html

which should also achieve the same thing (although I have not tried this).

Paul.
Hi there. I have very basic scripting knowledge so I’m not very good at figuring these things out and I’m finally resorting to asking some much smarter folk!
I have a bunch of Extreme networks switches and Ive managed to tweak the ‘xrancid’ script to fix some issues that I had out of the box with RANCID and Extreme switches.
The last issue that I cannot figure out is in my saved configs, it appears the word “quit” gets mangled up in the output seemingly from the pager prompts. Example at the end.
I looked through the ‘clogin’ script to see about disabling the pager but there are some comments in that script about how Extreme switches can’t have the pager disabled. Assuming this is old stuff as now they can. Running XOS v15 on these X440’s. The command “disable cli paging” will disable the pager per-session.
I’ve tried messing around with ‘clogin’ to try and get it to pass this command but it doesn’t work. Anyone know if this is easy to do? Please help.
Index: configs/x440-0
===================================================================
#
- u#
# Module devmgr configuration.
#
enable ip-option record-timestamp
- disable ipforwarding broadcast vlan
+ disabule ipforwarding broadcast vlan
disable ipforwarding broadcast vlan
- i
#
# Module dosprotect configuration.
- t
#
configure mvrp stpd s0
+ i
#
disable ripng export isis-level-1
+ t
#
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Paul Thornton
2013-09-13 14:15:44 UTC
Permalink
Hi

I have had this exact same issue; and we fixed it with the attached
patch to clogin (not xrancid - the problem is a mis-identification of
the prompt).

However, there is a patch on the mailing list here:
http://www.shrubbery.net/pipermail/rancid-discuss/2009-February/003645.html

which should also achieve the same thing (although I have not tried this).

Paul.
Hi there. I have very basic scripting knowledge so I’m not very good at figuring these things out and I’m finally resorting to asking some much smarter folk!
I have a bunch of Extreme networks switches and Ive managed to tweak the ‘xrancid’ script to fix some issues that I had out of the box with RANCID and Extreme switches.
The last issue that I cannot figure out is in my saved configs, it appears the word “quit” gets mangled up in the output seemingly from the pager prompts. Example at the end.
I looked through the ‘clogin’ script to see about disabling the pager but there are some comments in that script about how Extreme switches can’t have the pager disabled. Assuming this is old stuff as now they can. Running XOS v15 on these X440’s. The command “disable cli paging” will disable the pager per-session.
I’ve tried messing around with ‘clogin’ to try and get it to pass this command but it doesn’t work. Anyone know if this is easy to do? Please help.
Index: configs/x440-0
===================================================================
#
- u#
# Module devmgr configuration.
#
enable ip-option record-timestamp
- disable ipforwarding broadcast vlan
+ disabule ipforwarding broadcast vlan
disable ipforwarding broadcast vlan
- i
#
# Module dosprotect configuration.
- t
#
configure mvrp stpd s0
+ i
#
disable ripng export isis-level-1
+ t
#
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Loading...