[rancid] Re: Extreme Issue

Peder peder at networkoblivion.com
Mon Nov 2 21:39:07 UTC 2009


It is an old Trustix Linux box.  It works fine for Cisco routers, switches,
PIX's and Juniper routers, it is just Extreme switches that fail.  It shows
the devices as up in routers.up, it just appears to hang when it tries to
pull down the config.  Here is the tail of this command:

./clogin -d -c "show configuration detail" 206.190.240.2


expect: does "config cpu-dos-protect port 25 alert-threshold 150
interval-time 1\r\nconfig cpu-dos-protect port 26 alert-threshold 150
interval-time 1\r\n# Enhanced-dos-protect configuration\r\ndisable
enhanced-dos-protect ipfdb\r\ndisable enhanced-dos-protect
rate-limit\r\n\r\n#\r\n# End of configuration file for
"S200-B".\r\n#\r\nS200-B:2 # " (spawn_id exp4) match regular expression
"\u0008+"? no
"^[^\n\r *]*.? ?S200-B:\[0-9\]+ #"? no
"^[^\n\r]*.? ?S200-B:\[0-9\]+ #."? no
"^--More--[\r\n]+"? no
"[\n\r]+"? yes
expect: set expect_out(0,string) "\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "config cpu-dos-protect port 25
alert-threshold 150 interval-time 1\r\n"
config cpu-dos-protect port 25 alert-threshold 150 interval-time 1
expect: continuing expect

expect: does "config cpu-dos-protect port 26 alert-threshold 150
interval-time 1\r\n# Enhanced-dos-protect configuration\r\ndisable
enhanced-dos-protect ipfdb\r\ndisable enhanced-dos-protect
rate-limit\r\n\r\n#\r\n# End of configuration file for
"S200-B".\r\n#\r\nS200-B:2 # " (spawn_id exp4) match regular expression
"\u0008+"? no
"^[^\n\r *]*.? ?S200-B:\[0-9\]+ #"? no
"^[^\n\r]*.? ?S200-B:\[0-9\]+ #."? no
"^--More--[\r\n]+"? no
"[\n\r]+"? yes
expect: set expect_out(0,string) "\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "config cpu-dos-protect port 26
alert-threshold 150 interval-time 1\r\n"
config cpu-dos-protect port 26 alert-threshold 150 interval-time 1
expect: continuing expect

expect: does "# Enhanced-dos-protect configuration\r\ndisable
enhanced-dos-protect ipfdb\r\ndisable enhanced-dos-protect
rate-limit\r\n\r\n#\r\n# End of configuration file for
"S200-B".\r\n#\r\nS200-B:2 # " (spawn_id exp4) match regular expression
"\u0008+"? no
"^[^\n\r *]*.? ?S200-B:\[0-9\]+ #"? no
"^[^\n\r]*.? ?S200-B:\[0-9\]+ #."? no
"^--More--[\r\n]+"? no
"[\n\r]+"? yes
expect: set expect_out(0,string) "\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "# Enhanced-dos-protect configuration\r\n"
# Enhanced-dos-protect configuration
expect: continuing expect

expect: does "disable enhanced-dos-protect ipfdb\r\ndisable
enhanced-dos-protect rate-limit\r\n\r\n#\r\n# End of configuration file for
"S200-B".\r\n#\r\nS200-B:2 # " (spawn_id exp4) match regular expression
"\u0008+"? no
"^[^\n\r *]*.? ?S200-B:\[0-9\]+ #"? no
"^[^\n\r]*.? ?S200-B:\[0-9\]+ #."? no
"^--More--[\r\n]+"? no
"[\n\r]+"? yes
expect: set expect_out(0,string) "\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "disable enhanced-dos-protect ipfdb\r\n"
disable enhanced-dos-protect ipfdb
expect: continuing expect

expect: does "disable enhanced-dos-protect rate-limit\r\n\r\n#\r\n# End of
configuration file for "S200-B".\r\n#\r\nS200-B:2 # " (spawn_id exp4) match
regular expression "\u0008+"? no
"^[^\n\r *]*.? ?S200-B:\[0-9\]+ #"? no
"^[^\n\r]*.? ?S200-B:\[0-9\]+ #."? no
"^--More--[\r\n]+"? no
"[\n\r]+"? yes
expect: set expect_out(0,string) "\r\n\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "disable enhanced-dos-protect
rate-limit\r\n\r\n"
disable enhanced-dos-protect rate-limit

expect: continuing expect

expect: does "#\r\n# End of configuration file for
"S200-B".\r\n#\r\nS200-B:2 # " (spawn_id exp4) match regular expression
"\u0008+"? no
"^[^\n\r *]*.? ?S200-B:\[0-9\]+ #"? no
"^[^\n\r]*.? ?S200-B:\[0-9\]+ #."? no
"^--More--[\r\n]+"? no
"[\n\r]+"? yes
expect: set expect_out(0,string) "\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "#\r\n"
#
expect: continuing expect

expect: does "# End of configuration file for "S200-B".\r\n#\r\nS200-B:2 # "
(spawn_id exp4) match regular expression "\u0008+"? no
"^[^\n\r *]*.? ?S200-B:\[0-9\]+ #"? no
"^[^\n\r]*.? ?S200-B:\[0-9\]+ #."? no
"^--More--[\r\n]+"? no
"[\n\r]+"? yes
expect: set expect_out(0,string) "\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "# End of configuration file for
"S200-B".\r\n"
# End of configuration file for "S200-B".
expect: continuing expect

expect: does "#\r\nS200-B:2 # " (spawn_id exp4) match regular expression
"\u0008+"? no
"^[^\n\r *]*.? ?S200-B:\[0-9\]+ #"? no
"^[^\n\r]*.? ?S200-B:\[0-9\]+ #."? no
"^--More--[\r\n]+"? no
"[\n\r]+"? yes
expect: set expect_out(0,string) "\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "#\r\n"
#
expect: continuing expect

expect: does "S200-B:2 # " (spawn_id exp4) match regular expression
"\u0008+"? no
"^[^\n\r *]*.? ?S200-B:\[0-9\]+ #"? no
"^[^\n\r]*.? ?S200-B:\[0-9\]+ #."? no
"^--More--[\r\n]+"? no
"[\n\r]+"? no
"[^\r\n]*Press <SPACE> to cont[^\r\n]*"? no
"^ *--More--[^\n\r]*"? no
"^<-+ More -+>[^\n\r]*"? no




More information about the Rancid-discuss mailing list