[rancid] Modifying Cisco Login Banner

Chip Pleasants wpleasants at gmail.com
Mon Jan 26 18:57:55 UTC 2015


Hi all,

I realize this topic has beat up, but I'm hoping someone can point me in
the right direction.  I'm trying to change my current cisco login banner,
which doesn't have > or # in it. The new login banner doesn't either. It
appears rancid is getting hung up on the router output "Enter TEXT
message.  End with the character 'X' and end up timing out. I found a
couple old threads, but not any specific solutions to this issue.  Bellow
is the configuration I'm adding/modifying, and I've attached the debug
output. Let me know if you any questions and thanks in advance for any
assistance.

-Chip



!
conf t
!
no banner login X
banner login X
Rev 3(1-17)
___________
X
!
end
!
wr
!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150126/c10fb354/attachment.html>
-------------- next part --------------
[rancid at server222 login-banner]$ ./login-banner.sh 
router111.poop.net
spawn ssh -c 3des -x -l svc_rancid router111.poop.net
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {10660}
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* *'. Activating booster.
Gate keeper glob pattern for 'Offending key for .* (yes/no)?' is 'Offending key for * *'. 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 '@[^
]+ ([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 '(Username|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.

expect: does "" (spawn_id exp4) match regular expression "(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* *"? gate=no
"Offending key for .* (yes/no)?"? Gate "Offending key for * *"? 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
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"(Username|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

Rev 3(1-17)
___________

expect: does "\r\r\nRev 3(1-17)\r\r\n___________\r\r\n" (spawn_id exp4) match regular expression "(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\r\nRev 3(1-17)\r\r\n___________\r\r\n" (spawn_id exp4) match glob pattern "unknown host\r"? no

expect: does "\r\r\nRev 3(1-17)\r\r\n___________\r\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* *"? gate=no
"Offending key for .* (yes/no)?"? Gate "Offending key for * *"? 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
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"(Username|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
password: 
expect: does "\r\r\nRev 3(1-17)\r\r\n___________\r\r\npassword: " (spawn_id exp4) match regular expression "(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\r\nRev 3(1-17)\r\r\n___________\r\r\npassword: " (spawn_id exp4) match glob pattern "unknown host\r"? no

expect: does "\r\r\nRev 3(1-17)\r\r\n___________\r\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* *"? gate=no
"Offending key for .* (yes/no)?"? Gate "Offending key for * *"? 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
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"(Username|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) "\r\r\nRev 3(1-17)\r\r\n___________\r\r\npassword:"
send: sending "passwordpoop\r" to { exp4 }
expect: continuing expect

expect: does " " (spawn_id exp4) match regular expression "(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* *"? gate=no
"Offending key for .* (yes/no)?"? Gate "Offending key for * *"? 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
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"(Username|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


expect: does " \r\n" (spawn_id exp4) match regular expression "(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* *"? gate=no
"Offending key for .* (yes/no)?"? Gate "Offending key for * *"? 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
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"(Username|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

===============================================================================
||                                NOTICE TO USERS                            ||
||  This is an official computer system and is the property of POOP, Inc.     ||
||  It is for authorized users only.  Unauthorized users are prohibited.     ||
||  Users (authorized or unauthorized) have no explicit or implicit          ||
||  expectation of privacy.  Any or all uses of this system may be subject   ||
||  to one or more of the following actions: interception, monitoring,       ||
||  recording, auditing, inspection and disclosing to security personnel     ||
||  and law enforcement personnel, as well as authorized officials of other  ||
||  agencies, both domestic and foreign. By using this system, the user      ||
||  consents to these actions.  Unauthorized or improper use of this system  ||
||  may result in administrative disciplinary action and civil and criminal  ||
||  penalties.  By accessing this system you indicate your awareness of and  ||
||  consent to these terms and conditions of use. Discontinue access         ||
||  immediately if you do not agree to the conditions stated in this notice. ||
===============================================================================


expect: does " \r\n\r\n===============================================================================\r\n||                                NOTICE TO USERS                            ||\r\n||  This is an official computer system and is the property of POOP, Inc.     ||\r\n||  It is for authorized users only.  Unauthorized users are prohibited.     ||\r\n||  Users (authorized or unauthorized) have no explicit or implicit          ||\r\n||  expectation of privacy.  Any or all uses of this system may be subject   ||\r\n||  to one or more of the following actions: interception, monitoring,       ||\r\n||  recording, auditing, inspection and disclosing to security personnel     ||\r\n||  and law enforcement personnel, as well as authorized officials of other  ||\r\n||  agencies, both domestic and foreign. By using this system, the user      ||\r\n||  consents to these actions.  Unauthorized or improper use of this system  ||\r\n||  may result in administrative disciplinary action and civil and criminal  ||\r\n||  penalties.  By accessing this system you indicate your awareness of and  ||\r\n||  consent to these terms and conditions of use. Discontinue access         ||\r\n||  immediately if you do not agree to the conditions stated in this notice. ||\r\n===============================================================================\r\n\r\n" (spawn_id exp4) match regular expression "(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\r\n===============================================================================\r\n||                                NOTICE TO USERS                            ||\r\n||  This is an official computer system and is the property of POOP, Inc.     ||\r\n||  It is for authorized users only.  Unauthorized users are prohibited.     ||\r\n||  Users (authorized or unauthorized) have no explicit or implicit          ||\r\n||  expectation of privacy.  Any or all uses of this system may be subject   ||\r\n||  to one or more of the following actions: interception, monitoring,       ||\r\n||  recording, auditing, inspection and disclosing to security personnel     ||\r\n||  and law enforcement personnel, as well as authorized officials of other  ||\r\n||  agencies, both domestic and foreign. By using this system, the user      ||\r\n||  consents to these actions.  Unauthorized or improper use of this system  ||\r\n||  may result in administrative disciplinary action and civil and criminal  ||\r\n||  penalties.  By accessing this system you indicate your awareness of and  ||\r\n||  consent to these terms and conditions of use. Discontinue access         ||\r\n||  immediately if you do not agree to the conditions stated in this notice. ||\r\n===============================================================================\r\n\r\n" (spawn_id exp4) match glob pattern "unknown host\r"? no

expect: does " \r\n\r\n===============================================================================\r\n||                                NOTICE TO USERS                            ||\r\n||  This is an official computer system and is the property of POOP, Inc.     ||\r\n||  It is for authorized users only.  Unauthorized users are prohibited.     ||\r\n||  Users (authorized or unauthorized) have no explicit or implicit          ||\r\n||  expectation of privacy.  Any or all uses of this system may be subject   ||\r\n||  to one or more of the following actions: interception, monitoring,       ||\r\n||  recording, auditing, inspection and disclosing to security personnel     ||\r\n||  and law enforcement personnel, as well as authorized officials of other  ||\r\n||  agencies, both domestic and foreign. By using this system, the user      ||\r\n||  consents to these actions.  Unauthorized or improper use of this system  ||\r\n||  may result in administrative disciplinary action and civil and criminal  ||\r\n||  penalties.  By accessing this system you indicate your awareness of and  ||\r\n||  consent to these terms and conditions of use. Discontinue access         ||\r\n||  immediately if you do not agree to the conditions stated in this notice. ||\r\n===============================================================================\r\n\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* *"? gate=no
"Offending key for .* (yes/no)?"? Gate "Offending key for * *"? 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
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"(Username|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
router111#
expect: does " \r\n\r\n===============================================================================\r\n||                                NOTICE TO USERS                            ||\r\n||  This is an official computer system and is the property of POOP, Inc.     ||\r\n||  It is for authorized users only.  Unauthorized users are prohibited.     ||\r\n||  Users (authorized or unauthorized) have no explicit or implicit          ||\r\n||  expectation of privacy.  Any or all uses of this system may be subject   ||\r\n||  to one or more of the following actions: interception, monitoring,       ||\r\n||  recording, auditing, inspection and disclosing to security personnel     ||\r\n||  and law enforcement personnel, as well as authorized officials of other  ||\r\n||  agencies, both domestic and foreign. By using this system, the user      ||\r\n||  consents to these actions.  Unauthorized or improper use of this system  ||\r\n||  may result in administrative disciplinary action and civil and criminal  ||\r\n||  penalties.  By accessing this system you indicate your awareness of and  ||\r\n||  consent to these terms and conditions of use. Discontinue access         ||\r\n||  immediately if you do not agree to the conditions stated in this notice. ||\r\n===============================================================================\r\n\r\nrouter111#" (spawn_id exp4) match regular expression "(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\r\n===============================================================================\r\n||                                NOTICE TO USERS                            ||\r\n||  This is an official computer system and is the property of POOP, Inc.     ||\r\n||  It is for authorized users only.  Unauthorized users are prohibited.     ||\r\n||  Users (authorized or unauthorized) have no explicit or implicit          ||\r\n||  expectation of privacy.  Any or all uses of this system may be subject   ||\r\n||  to one or more of the following actions: interception, monitoring,       ||\r\n||  recording, auditing, inspection and disclosing to security personnel     ||\r\n||  and law enforcement personnel, as well as authorized officials of other  ||\r\n||  agencies, both domestic and foreign. By using this system, the user      ||\r\n||  consents to these actions.  Unauthorized or improper use of this system  ||\r\n||  may result in administrative disciplinary action and civil and criminal  ||\r\n||  penalties.  By accessing this system you indicate your awareness of and  ||\r\n||  consent to these terms and conditions of use. Discontinue access         ||\r\n||  immediately if you do not agree to the conditions stated in this notice. ||\r\n===============================================================================\r\n\r\nrouter111#" (spawn_id exp4) match glob pattern "unknown host\r"? no

expect: does " \r\n\r\n===============================================================================\r\n||                                NOTICE TO USERS                            ||\r\n||  This is an official computer system and is the property of POOP, Inc.     ||\r\n||  It is for authorized users only.  Unauthorized users are prohibited.     ||\r\n||  Users (authorized or unauthorized) have no explicit or implicit          ||\r\n||  expectation of privacy.  Any or all uses of this system may be subject   ||\r\n||  to one or more of the following actions: interception, monitoring,       ||\r\n||  recording, auditing, inspection and disclosing to security personnel     ||\r\n||  and law enforcement personnel, as well as authorized officials of other  ||\r\n||  agencies, both domestic and foreign. By using this system, the user      ||\r\n||  consents to these actions.  Unauthorized or improper use of this system  ||\r\n||  may result in administrative disciplinary action and civil and criminal  ||\r\n||  penalties.  By accessing this system you indicate your awareness of and  ||\r\n||  consent to these terms and conditions of use. Discontinue access         ||\r\n||  immediately if you do not agree to the conditions stated in this notice. ||\r\n===============================================================================\r\n\r\nrouter111#" (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* *"? gate=no
"Offending key for .* (yes/no)?"? Gate "Offending key for * *"? 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
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"(Username|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) " \r\n\r\n===============================================================================\r\n||                                NOTICE TO USERS                            ||\r\n||  This is an official computer system and is the property of POOP, Inc.     ||\r\n||  It is for authorized users only.  Unauthorized users are prohibited.     ||\r\n||  Users (authorized or unauthorized) have no explicit or implicit          ||\r\n||  expectation of privacy.  Any or all uses of this system may be subject   ||\r\n||  to one or more of the following actions: interception, monitoring,       ||\r\n||  recording, auditing, inspection and disclosing to security personnel     ||\r\n||  and law enforcement personnel, as well as authorized officials of other  ||\r\n||  agencies, both domestic and foreign. By using this system, the user      ||\r\n||  consents to these actions.  Unauthorized or improper use of this system  ||\r\n||  may result in administrative disciplinary action and civil and criminal  ||\r\n||  penalties.  By accessing this system you indicate your awareness of and  ||\r\n||  consent to these terms and conditions of use. Discontinue access         ||\r\n||  immediately if you do not agree to the conditions stated in this notice. ||\r\n===============================================================================\r\n\r\nrouter111#"
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 "" (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

router111#
expect: does "\r\nrouter111#" (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 "router111#" (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) "router111#"
expect: set expect_out(1,string) "#"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "router111#"
send: sending "terminal length 0\r" to { exp4 }
Gate keeper glob pattern for 'router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?' is 'router111*'. Activating booster.
Gate keeper glob pattern for '[
]+' is ''. Not usable, disabling the performance booster.

expect: does "" (spawn_id exp4) match regular expression "router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "router111*"? gate=no
"[\n\r]+"? (No Gate, RE only) gate=yes re=no
ter
expect: does "ter" (spawn_id exp4) match regular expression "router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "router111*"? gate=no
"[\n\r]+"? (No Gate, RE only) gate=yes re=no
m
expect: does "term" (spawn_id exp4) match regular expression "router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "router111*"? gate=no
"[\n\r]+"? (No Gate, RE only) gate=yes re=no
inal
expect: does "terminal" (spawn_id exp4) match regular expression "router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "router111*"? gate=no
"[\n\r]+"? (No Gate, RE only) gate=yes re=no
 l
expect: does "terminal l" (spawn_id exp4) match regular expression "router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "router111*"? gate=no
"[\n\r]+"? (No Gate, RE only) gate=yes re=no
ength 0

expect: does "terminal length 0\r\n" (spawn_id exp4) match regular expression "router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "router111*"? gate=no
"[\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) "terminal length 0\r\n"
expect: continuing expect

expect: does "" (spawn_id exp4) match regular expression "router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "router111*"? gate=no
"[\n\r]+"? (No Gate, RE only) gate=yes re=no
router111#
expect: does "router111#" (spawn_id exp4) match regular expression "router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "router111*"? gate=yes re=yes
expect: set expect_out(0,string) "router111#"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "router111#"
send: sending "!\r" to { exp4 }
Gate keeper glob pattern for +' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '^[^
 *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?' is '*router111*'. Activating booster.
Gate keeper glob pattern for '^[^
]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?.' is '*router111*'. 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 *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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\nrouter111#" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=yes re=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=yes re=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "router111#" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=yes re=yes
expect: set expect_out(0,string) "router111#"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "router111#"
router111#send: sending "conf t\r" to { exp4 }
Gate keeper glob pattern for +' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '^[^
 *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?' is '*router111*'. Activating booster.
Gate keeper glob pattern for '^[^
]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?.' is '*router111*'. 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 *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "co" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "conf" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "conf t" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "conf t\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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) "conf t\r\n"
conf t
expect: continuing expect

expect: does "" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "Enter configuration commands, one per line.  End with CNTL/Z.\r\nrouter111(config)#" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=yes re=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=yes re=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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) "Enter configuration commands, one per line.  End with CNTL/Z.\r\n"
Enter configuration commands, one per line.  End with CNTL/Z.
expect: continuing expect

expect: does "router111(config)#" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=yes re=yes
expect: set expect_out(0,string) "router111(config)#"
expect: set expect_out(1,string) "(config)"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "router111(config)#"
router111(config)#send: sending "!\r" to { exp4 }
Gate keeper glob pattern for +' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '^[^
 *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?' is '*router111*'. Activating booster.
Gate keeper glob pattern for '^[^
]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?.' is '*router111*'. 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 *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "router111(config)#" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=yes re=yes
expect: set expect_out(0,string) "router111(config)#"
expect: set expect_out(1,string) "(config)"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "router111(config)#"
router111(config)#send: sending "no banner login X\r" to { exp4 }
Gate keeper glob pattern for +' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '^[^
 *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?' is '*router111*'. Activating booster.
Gate keeper glob pattern for '^[^
]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?.' is '*router111*'. 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 *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "no " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "no ba" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "no ban" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "no bann" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "no banner" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "no banner " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "no banner l" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "no banner log" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "no banner login" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "no banner login X" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "no banner login X\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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) "no banner login X\r\n"
no banner login X
expect: continuing expect

expect: does "" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "router111(config)#" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=yes re=yes
expect: set expect_out(0,string) "router111(config)#"
expect: set expect_out(1,string) "(config)"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "router111(config)#"
router111(config)#send: sending "banner login X\r" to { exp4 }
Gate keeper glob pattern for +' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '^[^
 *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?' is '*router111*'. Activating booster.
Gate keeper glob pattern for '^[^
]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?.' is '*router111*'. 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 *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "banne" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "banner lo" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "banner login " (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "banner login X\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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) "banner login X\r\n"
banner login X
expect: continuing expect

expect: does "" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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 "Enter TEXT message.  End with the character 'X'.\r\n" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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) "Enter TEXT message.  End with the character 'X'.\r\n"
Enter TEXT message.  End with the character 'X'.
expect: continuing expect

expect: does "" (spawn_id exp4) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
"^[^\n\r *]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? Gate "*router111*"? gate=no
"^[^\n\r]*router111([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? Gate "*router111*"? gate=no
"^--More--[\r\n]+"? Gate "--More--*"? gate=no
"[\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
^Csighandler: handling signal(2)
async event handler: Tcl_Eval(exit 130)


More information about the Rancid-discuss mailing list