[rancid] CentOS 6.6, recent upgrade, now all CatOS devices broken
Brooks Bridges
bbridges at easymail.us
Sun Jun 14 04:51:08 UTC 2015
Had a system with Rancid installed from the EPEL repos. All switches
were configured and everything worked great. Someone ran a yum update
on the system yesterday, and it upgraded the package to
"rancid-3.2-1.el6.x86_64", which broke all kinds of crap.
The first indication was the Socket module bug, which I got corrected,
however now all CatOS devices in the network are "down" and cannot get
the configs pulled from them. After adding a bit of debugging, the logs
show:
smfits1.domain.com: missed cmd(s): write term all,show port ifindex,show
module,dir sup-microcode:,dir sup-bootflash:,dir bootflash:,dir
slot0:,show flash,show running-config,write term,show boot,dir
slot1:,show inventory raw
smfits1.domain.com - Clean_run is: 0 <--- added debugging statement
smfits1.domain.com - found_end is: 0 <--- added debugging statement
smfits1.domain.com: End of run not found
After many hours of digging, I've determined that the issue appears to
be that clogin is not properly recognizing the end of the output of the
commands. Debug log is attached showing this behavior when running
"show version", where it gets to the end of the output from the command
and then just hangs there. It appears that none of the regexes are
being matched when the command prompt pops back up after the command
completes (perhaps it's only looking for a 'more' prompt?).
Since the FTP site still doesn't let you download anything from the .old
directory (and doesn't show any indication that it's going to be fixed
anytime soon) I can't get my hands on the old version to compare it
against. My lack of perl, tcl, and expect skills are quite an obstacle
here as well.
Any pointers in how to hammer this thing back into submission?
--
-Brooks Bridges
-------------- next part --------------
smfits1.domain.com
spawn telnet smfits1.domain.com
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {9195}
Gate keeper glob pattern for '^<-+ More -+>[^
]*' is '<* More *>*'. Activating booster.
Gate keeper glob pattern for '(Connection refused|Secure connection [^
]+ refused)' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '(Connection closed by|Connection to [^
]+ closed)' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for 'HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?' is 'HOST IDENTIFICATION HAS CHANGED* (yes/no)\?'. Activating booster.
Gate keeper glob pattern for 'HOST IDENTIFICATION HAS CHANGED[^
]+' is 'HOST IDENTIFICATION HAS CHANGED*'. Activating booster.
Gate keeper glob pattern for 'Offending key for .* \(yes/no\)\?' is 'Offending key for * (yes/no)\?'. Activating booster.
Gate keeper glob pattern for '(denied|Sorry)' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '% (Bad passwords|Authentication failed)' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for 'Enter Selection: ' is 'Enter Selection: '. Activating booster.
Gate keeper glob pattern for 'Last login:' is 'Last login:'. Activating booster.
Gate keeper glob pattern for 'Press the <tab> key [^
]+[
]+' is 'Press the <tab> key *'. Activating booster.
Gate keeper glob pattern for '@[^
]+ ([Pp]assword|passwd|Enter password for [^ :]+):' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for 'Enter passphrase.*: ' is 'Enter passphrase*: '. Activating booster.
Gate keeper glob pattern for '([Uu]sername|Login|login|user name|User):' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '([Pp]assword|passwd|Enter password for [^ :]+):' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '(>|#| \(enable\))' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '[^
]*[
]+' is ''. Not usable, disabling the performance booster.
expect: does "" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no
expect: does "" (spawn_id exp4) match glob pattern "unknown host\r"? no
expect: does "" (spawn_id exp4) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no
"(denied|Sorry)"? (No Gate, RE only) gate=yes re=no
"Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Last login:"? Gate "Last login:"? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no
Trying 123.123.123.123...
Connected to smfits1.domain.com.
Escape character is '^]'.
Cisco Systems Console
***************************************************************************
WARNING
This network device is a private property of O1 Communications.
Unauthorized access is strictly prohibited and subject to
prosecution under international, state, federal and local
statutes. This device is subject to monitoring. If you
are unauthorized or do not consent to O1 Communications
monitoring of usage, disconnect NOW.
****************************************************************************
Username:
expect: does "Trying 123.123.123.123...\r\r\nConnected to smfits1.domain.com.\r\r\nEscape character is '^]'.\r\r\n\r\n\r\nCisco Systems Console\r\n\r\n\r\n\r\n\r\n***************************************************************************\r\n WARNING\r\n This network device is a private property of O1 Communications.\r\n Unauthorized access is strictly prohibited and subject to\r\n prosecution under international, state, federal and local\r\n statutes. This device is subject to monitoring. If you\r\n are unauthorized or do not consent to O1 Communications\r\n monitoring of usage, disconnect NOW.\r\n\r\n****************************************************************************\r\n\r\n\r\n\r\nUsername: " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no
expect: does "Trying 123.123.123.123...\r\r\nConnected to smfits1.domain.com.\r\r\nEscape character is '^]'.\r\r\n\r\n\r\nCisco Systems Console\r\n\r\n\r\n\r\n\r\n***************************************************************************\r\n WARNING\r\n This network device is a private property of O1 Communications.\r\n Unauthorized access is strictly prohibited and subject to\r\n prosecution under international, state, federal and local\r\n statutes. This device is subject to monitoring. If you\r\n are unauthorized or do not consent to O1 Communications\r\n monitoring of usage, disconnect NOW.\r\n\r\n****************************************************************************\r\n\r\n\r\n\r\nUsername: " (spawn_id exp4) match glob pattern "unknown host\r"? no
expect: does "Trying 123.123.123.123...\r\r\nConnected to smfits1.domain.com.\r\r\nEscape character is '^]'.\r\r\n\r\n\r\nCisco Systems Console\r\n\r\n\r\n\r\n\r\n***************************************************************************\r\n WARNING\r\n This network device is a private property of O1 Communications.\r\n Unauthorized access is strictly prohibited and subject to\r\n prosecution under international, state, federal and local\r\n statutes. This device is subject to monitoring. If you\r\n are unauthorized or do not consent to O1 Communications\r\n monitoring of usage, disconnect NOW.\r\n\r\n****************************************************************************\r\n\r\n\r\n\r\nUsername: " (spawn_id exp4) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no
"(denied|Sorry)"? (No Gate, RE only) gate=yes re=no
"Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Last login:"? Gate "Last login:"? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Username:"
expect: set expect_out(1,string) "Username"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "Trying 123.123.123.123...\r\r\nConnected to smfits1.domain.com.\r\r\nEscape character is '^]'.\r\r\n\r\n\r\nCisco Systems Console\r\n\r\n\r\n\r\n\r\n***************************************************************************\r\n WARNING\r\n This network device is a private property of O1 Communications.\r\n Unauthorized access is strictly prohibited and subject to\r\n prosecution under international, state, federal and local\r\n statutes. This device is subject to monitoring. If you\r\n are unauthorized or do not consent to O1 Communications\r\n monitoring of usage, disconnect NOW.\r\n\r\n****************************************************************************\r\n\r\n\r\n\r\nUsername:"
send: sending "rancid\r" to { exp4 }
expect: continuing expect
expect: does " " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no
expect: does " " (spawn_id exp4) match glob pattern "unknown host\r"? no
expect: does " " (spawn_id exp4) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no
"(denied|Sorry)"? (No Gate, RE only) gate=yes re=no
"Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Last login:"? Gate "Last login:"? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no
rancid
Password:
expect: does " rancid\r\r\n\r\nPassword: " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no
expect: does " rancid\r\r\n\r\nPassword: " (spawn_id exp4) match glob pattern "unknown host\r"? no
expect: does " rancid\r\r\n\r\nPassword: " (spawn_id exp4) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no
"(denied|Sorry)"? (No Gate, RE only) gate=yes re=no
"Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Last login:"? Gate "Last login:"? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Password:"
expect: set expect_out(1,string) "Password"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " rancid\r\r\n\r\nPassword:"
send: sending "XXXXXXXXXX\r" to { exp4 }
expect: continuing expect
expect: does " " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no
expect: does " " (spawn_id exp4) match glob pattern "unknown host\r"? no
expect: does " " (spawn_id exp4) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no
"(denied|Sorry)"? (No Gate, RE only) gate=yes re=no
"Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Last login:"? Gate "Last login:"? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no
expect: does " \r" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no
expect: does " \r" (spawn_id exp4) match glob pattern "unknown host\r"? no
expect: does " \r" (spawn_id exp4) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no
"(denied|Sorry)"? (No Gate, RE only) gate=yes re=no
"Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Last login:"? Gate "Last login:"? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " \r"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " \r"
expect: continuing expect
expect: does "" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no
expect: does "" (spawn_id exp4) match glob pattern "unknown host\r"? no
expect: does "" (spawn_id exp4) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no
"(denied|Sorry)"? (No Gate, RE only) gate=yes re=no
"Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Last login:"? Gate "Last login:"? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no
expect: does "\r\n" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no
expect: does "\r\n" (spawn_id exp4) match glob pattern "unknown host\r"? no
expect: does "\r\n" (spawn_id exp4) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no
"(denied|Sorry)"? (No Gate, RE only) gate=yes re=no
"Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Last login:"? Gate "Last login:"? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=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 "" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no
expect: does "" (spawn_id exp4) match glob pattern "unknown host\r"? no
expect: does "" (spawn_id exp4) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no
"(denied|Sorry)"? (No Gate, RE only) gate=yes re=no
"Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Last login:"? Gate "Last login:"? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no
S
expect: does "S" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no
expect: does "S" (spawn_id exp4) match glob pattern "unknown host\r"? no
expect: does "S" (spawn_id exp4) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no
"(denied|Sorry)"? (No Gate, RE only) gate=yes re=no
"Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Last login:"? Gate "Last login:"? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no
MFITS1> (enable)
expect: does "SMFITS1> (enable) " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no
expect: does "SMFITS1> (enable) " (spawn_id exp4) match glob pattern "unknown host\r"? no
expect: does "SMFITS1> (enable) " (spawn_id exp4) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no
"(denied|Sorry)"? (No Gate, RE only) gate=yes re=no
"Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Last login:"? Gate "Last login:"? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) ">"
expect: set expect_out(1,string) ">"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "SMFITS1>"
send: sending "\r" to { exp4 }
Gate keeper glob pattern for '[
]+' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '^(.+[:.])1 ((>|#| \(enable\)))' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '^.+(>|#| \(enable\))' is ''. Not usable, disabling the performance booster.
expect: does " (enable) " (spawn_id exp4) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
expect: does " (enable) \r" (spawn_id exp4) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "\r"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " (enable) \r"
expect: continuing expect
expect: does "" (spawn_id exp4) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
SMFITS1> (enable)
expect: does "\r\nSMFITS1> (enable) " (spawn_id exp4) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=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 "SMFITS1> (enable) " (spawn_id exp4) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "SMFITS1> (enable)"
expect: set expect_out(1,string) " (enable)"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "SMFITS1> (enable)"
send: sending "set length 0\r" to { exp4 }
Gate keeper glob pattern for 'SMFITS1> \(enable\)' is 'SMFITS1> (enable)'. Activating booster.
expect: does " " (spawn_id exp4) match regular expression "SMFITS1> \(enable\)"? Gate "SMFITS1> (enable)"? gate=no
s
expect: does " s" (spawn_id exp4) match regular expression "SMFITS1> \(enable\)"? Gate "SMFITS1> (enable)"? gate=no
et length 0
Screen length for this session set to 0.
SMFITS1> (enable)
expect: does " set length 0\r\r\nScreen length for this session set to 0.\r\nSMFITS1> (enable) " (spawn_id exp4) match regular expression "SMFITS1> \(enable\)"? Gate "SMFITS1> (enable)"? gate=yes re=yes
expect: set expect_out(0,string) "SMFITS1> (enable)"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " set length 0\r\r\nScreen length for this session set to 0.\r\nSMFITS1> (enable)"
send: sending "set width 132\r" to { exp4 }
Gate keeper glob pattern for 'SMFITS1> \(enable\)' is 'SMFITS1> (enable)'. Activating booster.
expect: does " " (spawn_id exp4) match regular expression "SMFITS1> \(enable\)"? Gate "SMFITS1> (enable)"? gate=no
s
expect: does " s" (spawn_id exp4) match regular expression "SMFITS1> \(enable\)"? Gate "SMFITS1> (enable)"? gate=no
et width 132
Unknown command "set width". Use 'set help' for more info.
SMFITS1> (enable)
expect: does " set width 132\r\r\nUnknown command "set width". Use 'set help' for more info.\r\nSMFITS1> (enable) " (spawn_id exp4) match regular expression "SMFITS1> \(enable\)"? Gate "SMFITS1> (enable)"? gate=yes re=yes
expect: set expect_out(0,string) "SMFITS1> (enable)"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " set width 132\r\r\nUnknown command "set width". Use 'set help' for more info.\r\nSMFITS1> (enable)"
send: sending "set logging session disable\r" to { exp4 }
Gate keeper glob pattern for 'SMFITS1> \(enable\)' is 'SMFITS1> (enable)'. Activating booster.
expect: does " " (spawn_id exp4) match regular expression "SMFITS1> \(enable\)"? Gate "SMFITS1> (enable)"? gate=no
s
expect: does " s" (spawn_id exp4) match regular expression "SMFITS1> \(enable\)"? Gate "SMFITS1> (enable)"? gate=no
et logging session disable
System logging messages will not be sent to the current login session.
SMFITS1> (enable)
expect: does " set logging session disable\r\r\nSystem logging messages will not be sent to the current login session.\r\nSMFITS1> (enable) " (spawn_id exp4) match regular expression "SMFITS1> \(enable\)"? Gate "SMFITS1> (enable)"? gate=yes re=yes
expect: set expect_out(0,string) "SMFITS1> (enable)"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " set logging session disable\r\r\nSystem logging messages will not be sent to the current login session.\r\nSMFITS1> (enable)"
send: sending "show version\r" to { exp4 }
Gate keeper glob pattern for '+' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '^[^
*]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?' is '*SMFITS1> (enable)*'. Activating booster.
Gate keeper glob pattern for '^[^
]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?.' is '*SMFITS1> (enable)*'. Activating booster.
Gate keeper glob pattern for '^--More--[
]+' is '--More--*'. Activating booster.
Gate keeper glob pattern for '[^
]*[
]+' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '[^
]*Press <SPACE> to cont[^
]*' is '*Press <SPACE> to cont*'. Activating booster.
Gate keeper glob pattern for '^ *--More--[^
]*' is '*--More--*'. Activating booster.
Gate keeper glob pattern for '^<-+ More -+>[^
]*' is '<* More *>*'. Activating booster.
expect: does " " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=no
"[^\r\n]*Press <SPACE> to cont[^\r\n]*"? Gate "*Press <SPACE> to cont*"? gate=no
"^ *--More--[^\n\r]*"? Gate "*--More--*"? gate=no
"^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
expect: does " s" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=no
"[^\r\n]*Press <SPACE> to cont[^\r\n]*"? Gate "*Press <SPACE> to cont*"? gate=no
"^ *--More--[^\n\r]*"? Gate "*--More--*"? gate=no
"^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
expect: does " show version\r\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " show version\r\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " show version\r\r\n"
show version
expect: continuing expect
expect: does "" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=no
"[^\r\n]*Press <SPACE> to cont[^\r\n]*"? Gate "*Press <SPACE> to cont*"? gate=no
"^ *--More--[^\n\r]*"? Gate "*--More--*"? gate=no
"^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
expect: does "\r\nWARNING: This product contains cryptographic features and is subject to United\r\nStates and local country laws governing import, export, transfer and use.\r\nDelivery of Cisco cryptographic products does not imply third-party authority\r\nto import, export, distribute or use encryption. Importers, exporters,\r\ndistributors and users are responsible for compliance with U.S. and local\r\ncountry laws. By using this product you agree to comply with applicable\r\nlaws and regulations. If you are unable to comply with U.S. and local laws,\r\nreturn this product immediately.\r\n\r\nWS-C6509 Software, Version NmpSW: 7.6(4)\r\nCopyright (c) 1995-2003 by Cisco Systems\r\nNMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\nSystem Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=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 "WARNING: This product contains cryptographic features and is subject to United\r\nStates and local country laws governing import, export, transfer and use.\r\nDelivery of Cisco cryptographic products does not imply third-party authority\r\nto import, export, distribute or use encryption. Importers, exporters,\r\ndistributors and users are responsible for compliance with U.S. and local\r\ncountry laws. By using this product you agree to comply with applicable\r\nlaws and regulations. If you are unable to comply with U.S. and local laws,\r\nreturn this product immediately.\r\n\r\nWS-C6509 Software, Version NmpSW: 7.6(4)\r\nCopyright (c) 1995-2003 by Cisco Systems\r\nNMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\nSystem Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "WARNING: This product contains cryptographic features and is subject to United\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "WARNING: This product contains cryptographic features and is subject to United\r\n"
WARNING: This product contains cryptographic features and is subject to United
expect: continuing expect
expect: does "States and local country laws governing import, export, transfer and use.\r\nDelivery of Cisco cryptographic products does not imply third-party authority\r\nto import, export, distribute or use encryption. Importers, exporters,\r\ndistributors and users are responsible for compliance with U.S. and local\r\ncountry laws. By using this product you agree to comply with applicable\r\nlaws and regulations. If you are unable to comply with U.S. and local laws,\r\nreturn this product immediately.\r\n\r\nWS-C6509 Software, Version NmpSW: 7.6(4)\r\nCopyright (c) 1995-2003 by Cisco Systems\r\nNMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\nSystem Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "States and local country laws governing import, export, transfer and use.\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "States and local country laws governing import, export, transfer and use.\r\n"
States and local country laws governing import, export, transfer and use.
expect: continuing expect
expect: does "Delivery of Cisco cryptographic products does not imply third-party authority\r\nto import, export, distribute or use encryption. Importers, exporters,\r\ndistributors and users are responsible for compliance with U.S. and local\r\ncountry laws. By using this product you agree to comply with applicable\r\nlaws and regulations. If you are unable to comply with U.S. and local laws,\r\nreturn this product immediately.\r\n\r\nWS-C6509 Software, Version NmpSW: 7.6(4)\r\nCopyright (c) 1995-2003 by Cisco Systems\r\nNMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\nSystem Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Delivery of Cisco cryptographic products does not imply third-party authority\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "Delivery of Cisco cryptographic products does not imply third-party authority\r\n"
Delivery of Cisco cryptographic products does not imply third-party authority
expect: continuing expect
expect: does "to import, export, distribute or use encryption. Importers, exporters,\r\ndistributors and users are responsible for compliance with U.S. and local\r\ncountry laws. By using this product you agree to comply with applicable\r\nlaws and regulations. If you are unable to comply with U.S. and local laws,\r\nreturn this product immediately.\r\n\r\nWS-C6509 Software, Version NmpSW: 7.6(4)\r\nCopyright (c) 1995-2003 by Cisco Systems\r\nNMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\nSystem Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "to import, export, distribute or use encryption. Importers, exporters,\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "to import, export, distribute or use encryption. Importers, exporters,\r\n"
to import, export, distribute or use encryption. Importers, exporters,
expect: continuing expect
expect: does "distributors and users are responsible for compliance with U.S. and local\r\ncountry laws. By using this product you agree to comply with applicable\r\nlaws and regulations. If you are unable to comply with U.S. and local laws,\r\nreturn this product immediately.\r\n\r\nWS-C6509 Software, Version NmpSW: 7.6(4)\r\nCopyright (c) 1995-2003 by Cisco Systems\r\nNMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\nSystem Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "distributors and users are responsible for compliance with U.S. and local\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "distributors and users are responsible for compliance with U.S. and local\r\n"
distributors and users are responsible for compliance with U.S. and local
expect: continuing expect
expect: does "country laws. By using this product you agree to comply with applicable\r\nlaws and regulations. If you are unable to comply with U.S. and local laws,\r\nreturn this product immediately.\r\n\r\nWS-C6509 Software, Version NmpSW: 7.6(4)\r\nCopyright (c) 1995-2003 by Cisco Systems\r\nNMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\nSystem Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "country laws. By using this product you agree to comply with applicable\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "country laws. By using this product you agree to comply with applicable\r\n"
country laws. By using this product you agree to comply with applicable
expect: continuing expect
expect: does "laws and regulations. If you are unable to comply with U.S. and local laws,\r\nreturn this product immediately.\r\n\r\nWS-C6509 Software, Version NmpSW: 7.6(4)\r\nCopyright (c) 1995-2003 by Cisco Systems\r\nNMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\nSystem Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "laws and regulations. If you are unable to comply with U.S. and local laws,\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "laws and regulations. If you are unable to comply with U.S. and local laws,\r\n"
laws and regulations. If you are unable to comply with U.S. and local laws,
expect: continuing expect
expect: does "return this product immediately.\r\n\r\nWS-C6509 Software, Version NmpSW: 7.6(4)\r\nCopyright (c) 1995-2003 by Cisco Systems\r\nNMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\nSystem Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "return this product immediately.\r\n\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "return this product immediately.\r\n\r\n"
return this product immediately.
expect: continuing expect
expect: does "WS-C6509 Software, Version NmpSW: 7.6(4)\r\nCopyright (c) 1995-2003 by Cisco Systems\r\nNMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\nSystem Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "WS-C6509 Software, Version NmpSW: 7.6(4)\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "WS-C6509 Software, Version NmpSW: 7.6(4)\r\n"
WS-C6509 Software, Version NmpSW: 7.6(4)
expect: continuing expect
expect: does "Copyright (c) 1995-2003 by Cisco Systems\r\nNMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\nSystem Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Copyright (c) 1995-2003 by Cisco Systems\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "Copyright (c) 1995-2003 by Cisco Systems\r\n"
Copyright (c) 1995-2003 by Cisco Systems
expect: continuing expect
expect: does "NMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\nSystem Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "NMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "NMP S/W compiled on Nov 4 2003, 20:34:11\r\n\r\n"
NMP S/W compiled on Nov 4 2003, 20:34:11
expect: continuing expect
expect: does "System Bootstrap Version: 7.1(1)\r\nSystem Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "System Bootstrap Version: 7.1(1)\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "System Bootstrap Version: 7.1(1)\r\n"
System Bootstrap Version: 7.1(1)
expect: continuing expect
expect: does "System Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\nSystem Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "System Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "System Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40\r\n"
System Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 2.0 ADK: 40
expect: continuing expect
expect: does "System Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\nSystem Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "System Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "System Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'\r\n"
System Boot Image File is 'bootflash:cat6000-sup2cvk9.7-6-4.bin'
expect: continuing expect
expect: does "System Configuration register is 0x2102\r\n\r\nHardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "System Configuration register is 0x2102\r\n\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "System Configuration register is 0x2102\r\n\r\n"
System Configuration register is 0x2102
expect: continuing expect
expect: does "Hardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\nPS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Hardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "Hardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY\r\n\r\n"
Hardware Version: 3.0 Model: WS-C6509 Serial #: SAL0744NXYY
expect: continuing expect
expect: does "PS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\nPS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "PS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "PS1 Module: WS-CAC-1300W Serial #: ACP03040024\r\n"
PS1 Module: WS-CAC-1300W Serial #: ACP03040024
expect: continuing expect
expect: does "PS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\nMod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "PS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "PS2 Module: WS-CAC-1300W Serial #: SON05010444\r\n\r\n"
PS2 Module: WS-CAC-1300W Serial #: SON05010444
expect: continuing expect
expect: does "Mod Port Model Serial # Versions\r\n--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Mod Port Model Serial # Versions\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "Mod Port Model Serial # Versions\r\n"
Mod Port Model Serial # Versions
expect: continuing expect
expect: does "--- ---- ------------------- ----------- --------------------------------------\r\n1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=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 "1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0\r\n"
1 2 WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0
expect: continuing expect
expect: does " Fw : 7.1(1)\r\n Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " Fw : 7.1(1)\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " Fw : 7.1(1)\r\n"
Fw : 7.1(1)
expect: continuing expect
expect: does " Fw1: 6.1(3)\r\n Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " Fw1: 6.1(3)\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " Fw1: 6.1(3)\r\n"
Fw1: 6.1(3)
expect: continuing expect
expect: does " Sw : 7.6(4)\r\n " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " Sw : 7.6(4)\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " Sw : 7.6(4)\r\n"
Sw : 7.6(4)
expect: continuing expect
expect: does " " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=no
"[^\r\n]*Press <SPACE> to cont[^\r\n]*"? Gate "*Press <SPACE> to cont*"? gate=no
"^ *--More--[^\n\r]*"? Gate "*--More--*"? gate=no
"^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
expect: does " Sw1: 7.6(4)\r\n WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0 \r\n Sw : \r\n2 8 WS-X6408A-GBIC SAD041904EA Hw : 2.1\r\n Fw : 5.4(2)\r\n Sw : 7.6(4)\r\n3 48 WS-X6548-RJ-45 SAD05260569 Hw : 1.1\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " Sw1: 7.6(4)\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " Sw1: 7.6(4)\r\n"
Sw1: 7.6(4)
expect: continuing expect
expect: does " WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0 \r\n Sw : \r\n2 8 WS-X6408A-GBIC SAD041904EA Hw : 2.1\r\n Fw : 5.4(2)\r\n Sw : 7.6(4)\r\n3 48 WS-X6548-RJ-45 SAD05260569 Hw : 1.1\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0 \r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0 \r\n"
WS-X6K-SUP2-2GE SAL0751R1G8 Hw : 5.0
expect: continuing expect
expect: does " Sw : \r\n2 8 WS-X6408A-GBIC SAD041904EA Hw : 2.1\r\n Fw : 5.4(2)\r\n Sw : 7.6(4)\r\n3 48 WS-X6548-RJ-45 SAD05260569 Hw : 1.1\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " Sw : \r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " Sw : \r\n"
Sw :
expect: continuing expect
expect: does "2 8 WS-X6408A-GBIC SAD041904EA Hw : 2.1\r\n Fw : 5.4(2)\r\n Sw : 7.6(4)\r\n3 48 WS-X6548-RJ-45 SAD05260569 Hw : 1.1\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "2 8 WS-X6408A-GBIC SAD041904EA Hw : 2.1\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "2 8 WS-X6408A-GBIC SAD041904EA Hw : 2.1\r\n"
2 8 WS-X6408A-GBIC SAD041904EA Hw : 2.1
expect: continuing expect
expect: does " Fw : 5.4(2)\r\n Sw : 7.6(4)\r\n3 48 WS-X6548-RJ-45 SAD05260569 Hw : 1.1\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " Fw : 5.4(2)\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " Fw : 5.4(2)\r\n"
Fw : 5.4(2)
expect: continuing expect
expect: does " Sw : 7.6(4)\r\n3 48 WS-X6548-RJ-45 SAD05260569 Hw : 1.1\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " Sw : 7.6(4)\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " Sw : 7.6(4)\r\n"
Sw : 7.6(4)
expect: continuing expect
expect: does "3 48 WS-X6548-RJ-45 SAD05260569 Hw : 1.1\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "3 48 WS-X6548-RJ-45 SAD05260569 Hw : 1.1\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "3 48 WS-X6548-RJ-45 SAD05260569 Hw : 1.1\r\n"
3 48 WS-X6548-RJ-45 SAD05260569 Hw : 1.1
expect: continuing expect
expect: does " Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " Fw : 6.3(1)\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " Fw : 6.3(1)\r\n"
Fw : 6.3(1)
expect: continuing expect
expect: does " Sw : 7.6(4)\r\n6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " Sw : 7.6(4)\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " Sw : 7.6(4)\r\n"
Sw : 7.6(4)
expect: continuing expect
expect: does "6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5\r\n Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5\r\n"
6 16 WS-X6516-GE-TX SAL0712AH58 Hw : 2.5
expect: continuing expect
expect: does " Fw : 6.3(1)\r\n Sw : 7.6(4)\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " Fw : 6.3(1)\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " Fw : 6.3(1)\r\n"
Fw : 6.3(1)
expect: continuing expect
expect: does " Sw : 7.6(4)\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " Sw : 7.6(4)\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " Sw : 7.6(4)\r\n"
Sw : 7.6(4)
expect: continuing expect
expect: does "" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=no
"[^\r\n]*Press <SPACE> to cont[^\r\n]*"? Gate "*Press <SPACE> to cont*"? gate=no
"^ *--More--[^\n\r]*"? Gate "*--More--*"? gate=no
"^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
expect: does "\r" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "\r"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "\r"
expect: continuing expect
expect: does "" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=no
"[^\r\n]*Press <SPACE> to cont[^\r\n]*"? Gate "*Press <SPACE> to cont*"? gate=no
"^ *--More--[^\n\r]*"? Gate "*--More--*"? gate=no
"^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
expect: does "\n DRAM FLASH NVRAM\r\nModule Total Used Free Total Used Free Total Used Free\r\n------ ------- ------- ------- ------- ------- ------- ----- ----- -----\r\n1 131072K 68696K 62376K 32768K 13566K 19202K 512K 321K 191K\r\n\r\nUptime is 345 days, 20 hours, 14 minutes\r\nSMFITS1> (enable) " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "\n"
expect: continuing expect
expect: does " DRAM FLASH NVRAM\r\nModule Total Used Free Total Used Free Total Used Free\r\n------ ------- ------- ------- ------- ------- ------- ----- ----- -----\r\n1 131072K 68696K 62376K 32768K 13566K 19202K 512K 321K 191K\r\n\r\nUptime is 345 days, 20 hours, 14 minutes\r\nSMFITS1> (enable) " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " DRAM FLASH NVRAM\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " DRAM FLASH NVRAM\r\n"
DRAM FLASH NVRAM
expect: continuing expect
expect: does "Module Total Used Free Total Used Free Total Used Free\r\n------ ------- ------- ------- ------- ------- ------- ----- ----- -----\r\n1 131072K 68696K 62376K 32768K 13566K 19202K 512K 321K 191K\r\n\r\nUptime is 345 days, 20 hours, 14 minutes\r\nSMFITS1> (enable) " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Module Total Used Free Total Used Free Total Used Free\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "Module Total Used Free Total Used Free Total Used Free\r\n"
Module Total Used Free Total Used Free Total Used Free
expect: continuing expect
expect: does "------ ------- ------- ------- ------- ------- ------- ----- ----- -----\r\n1 131072K 68696K 62376K 32768K 13566K 19202K 512K 321K 191K\r\n\r\nUptime is 345 days, 20 hours, 14 minutes\r\nSMFITS1> (enable) " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=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 "1 131072K 68696K 62376K 32768K 13566K 19202K 512K 321K 191K\r\n\r\nUptime is 345 days, 20 hours, 14 minutes\r\nSMFITS1> (enable) " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "1 131072K 68696K 62376K 32768K 13566K 19202K 512K 321K 191K\r\n\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "1 131072K 68696K 62376K 32768K 13566K 19202K 512K 321K 191K\r\n\r\n"
1 131072K 68696K 62376K 32768K 13566K 19202K 512K 321K 191K
expect: continuing expect
expect: does "Uptime is 345 days, 20 hours, 14 minutes\r\nSMFITS1> (enable) " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Uptime is 345 days, 20 hours, 14 minutes\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "Uptime is 345 days, 20 hours, 14 minutes\r\n"
Uptime is 345 days, 20 hours, 14 minutes
expect: continuing expect
expect: does "SMFITS1> (enable) " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?"? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^[^\n\r]*SMFITS1> \(enable\)([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?."? Gate "*SMFITS1> (enable)*"? gate=yes re=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[^\r\n]*[\n\r]+"? (No Gate, RE only) gate=yes re=no
"[^\r\n]*Press <SPACE> to cont[^\r\n]*"? Gate "*Press <SPACE> to cont*"? gate=no
"^ *--More--[^\n\r]*"? Gate "*--More--*"? gate=no
"^<-+ More -+>[^\n\r]*"? Gate "<* More *>*"? gate=no
expect: timed out
Error: TIMEOUT reached
More information about the Rancid-discuss
mailing list