<div dir="ltr">Hi,<div><br></div><div>We recently started deploying Arista 7504 switches, with dual supervisor modules. Rancid backup won't work for the switches. </div><div><br></div><div><u>Here is the error message</u>:</div><div><br></div><div>=====================================</div><div>Getting missed routers: round 3.</div><div><b>couldn't compile regular expression pattern: parentheses () not balanced</b></div><div>    while executing</div><div>"expect {</div><div>            -re "\b+"                           { exp_continue }</div><div>            -re "^\[^\n\r *]*$reprompt"         { send_user -- "$expect_out(buffer)"</div><div>                                                }</div><div>            -re "^\[^\n\r]*$reprom..."</div><div>    (procedure "run_commands" line 27)</div><div>    invoked from within</div><div>"run_commands $prompt $command"</div><div>    ("foreach" body line 186)</div><div>    invoked from within</div><div>"foreach router [lrange $argv $i end] {</div><div>    set router [string tolower $router]</div><div>    # attempt at platform switching.</div><div>    set platform ""</div><div>    send_user ..."</div><div>    (file "/usr/local/rancid/bin/clogin" line 740)</div><div>switch1: missed cmd(s): dir flash:,show env all,show inventory,show extensions,show boot-config,show version,show boot-extensions,show running-config</div><div>switch1: End of run not found</div><div>!</div><div><br></div><div><u>clogin to the switch works fine though</u>.</div><div><br></div><div><div>rancid@net-server:~$ bin/clogin switch1</div><div>switch1</div><div>spawn ssh -c 3des -x -l rancid switch1</div><div>Password: </div><div>switch1(s1)>enable</div><div>Password: </div><div>switch1(s1)#</div><div>switch1(s1)#exit</div><div>Connection to switch1 closed.</div></div><div><br></div><div><br></div><div>Does this look like a problem with the hostname itself? The switch has switch1(s1) or switch1(s2) prompt, depending on which supervisor is the active one. Here is a similar previous thread I found:</div><div><a href="http://www.shrubbery.net/pipermail/rancid-discuss/2014-May/007644.html">http://www.shrubbery.net/pipermail/rancid-discuss/2014-May/007644.html</a></div><div><br></div><div>Let me know if anyone has experienced the similar issue. If so, what needs to be done to resolve this? </div><div><div><br></div><div>Thanks.</div></div></div>