Dialog Patterns

Note

This document is automatically generated and is intended to document the default per-platform patterns used to match CLI dialogs for each plugin, and the corresponding action when a pattern is matched.

.

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

aireos

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?User:\s*$

login_handler()

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

(.*?)Press any key to continue

send({‘key’: ‘ ‘})

(.*?)Are you sure.*\([yY]/[nN]\)\s*$

sendline({‘key’: ‘y’})

(.?)Press Enter to continue.*

sendline({‘key’: ‘’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

aireos/ap

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

apic

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

^(.*?)Enter the fabric name|^(.*?)Enter the fabric ID|^(.*?)Enter the number of active controllers in the fabric|^(.*?)Enter the POD ID|^(.*?)Is this a standby controller|^(.*?)Enter the controller ID|^(.*?)Enter the controller name|^(.*?)Enter address pool for TEP addresses|^(.*?)Enter the VLAN ID for infra network|^(.*?)Enter address pool for BD multicast addresses|^(.*?)Enable IPv6 for Out of Band Mgmt Interface|^(.*?)Enter the IPv4 address \[|^(.*?)Enter the IPv4 address of the default gateway|^(.*?)Enter the interface speed/duplex mode|^(.*?)Enable strong passwords\?|^(.*?)(Enter|Reenter) the password for admin:|^(.*?)Would you like to edit the configuration\?

update_state({‘con’: <unicon.plugins.apic.connection.AciApicConnection object at 0x7fad00f018b0>, ‘state’: ‘setup’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

asa

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

^Permission denied, please try again.$

bad_password_handler()

Beginning [Cc]onfiguration [Rr]eplication:? (from mate|Sending to mate)

sendline()

End [Cc]onfiguration [Rr]eplication (to|from) mate

sendline()

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^(.*?)Would you like to enable anonymous error reporting to help improve the product\? \[Y\]es, \[N\]o, \[A\]sk later\s*$

sendline({‘key’: ‘A’})

^(.*?)config has been modified. Save\? \[Y]es\/\[N]o\/\[S]ave all/\[C]ancel:\s*?

sendline({‘key’: ‘S’})

Beginning [Cc]onfiguration [Rr]eplication:? (from mate|Sending to mate)

sendline()

End [Cc]onfiguration [Rr]eplication (to|from) mate

sendline()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

asa/ASAv

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

^Permission denied, please try again.$

bad_password_handler()

Beginning [Cc]onfiguration [Rr]eplication:? (from mate|Sending to mate)

sendline()

End [Cc]onfiguration [Rr]eplication (to|from) mate

sendline()

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^(.*?)Would you like to enable anonymous error reporting to help improve the product\? \[Y\]es, \[N\]o, \[A\]sk later\s*$

sendline({‘key’: ‘A’})

^(.*?)config has been modified. Save\? \[Y]es\/\[N]o\/\[S]ave all/\[C]ancel:\s*?

sendline({‘key’: ‘S’})

Beginning [Cc]onfiguration [Rr]eplication:? (from mate|Sending to mate)

sendline()

End [Cc]onfiguration [Rr]eplication (to|from) mate

sendline()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

asa/fp2k

default

Pattern

Action

^.*?  +Type \? for list of commands

flag_ssh_session()

^.*\x07$

clear_command_line()

Syntax error: The command is not completed

clear_command_line()

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

cheetah/ap

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

cimc

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^(.*?)Enter 'yes' or 'no' to confirm.*->\s*$

sendline({‘key’: ‘yes’})

comware

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^ *login as: *$

login_handler()

^.* password: $

password_handler()

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

confd

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

^(.*?)connected from .* using console

console_session()

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

confd/csp

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

^(.*?)connected from .* using console

console_session()

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

confd/esc

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

^(.*?)connected from .* using console

console_session()

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

confd/nfvis

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

^(.*?)connected from .* using console

console_session()

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

dell

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

dell/os6

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

eos

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

fxos

default

Pattern

Action

^.*?  +Type \? for list of commands

flag_ssh_session()

^.*\x07$

clear_command_line()

Syntax error: The command is not completed

clear_command_line()

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

fxos/fp4k

default

Pattern

Action

^.*?  +Type \? for list of commands

flag_ssh_session()

^.*\x07$

clear_command_line()

Syntax error: The command is not completed

clear_command_line()

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

fxos/fp9k

default

Pattern

Action

^.*?  +Type \? for list of commands

flag_ssh_session()

^.*\x07$

clear_command_line()

Syntax error: The command is not completed

clear_command_line()

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

fxos/ftd

connect

Pattern

Action

^.*?  +Type \? for list of commands

flag_ssh_session()

Syntax error: The command is not completed

clear_command_line()

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

gaia

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

generic

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

ios

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

ios/ap

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

ios/iol

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

ios/iosv

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

.*Destination filename \[startup-config\]\?\s*$

sendline({‘key’: ‘’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

ios/pagent

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

iosxe

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Overwrite the previous NVRAM configuration\?\[confirm\].*$

sendline({‘key’: ‘’})

^.*Delete filename \[.*\]\?\s*$

sendline({‘key’: ‘’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Do you want to remove the above files\? \[y\/n]\s*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Are you sure you want to continue\? \(y\/n\)\[y\]:?\s?$

sendline({‘key’: ‘y’})

^.*Do you wish to continue\? \[yes\]:\s*$

sendline({‘key’: ‘yes’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

Are you sure you want to do this\? \[yes/no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Proceed\? \[yes,no\]\s*$

sendline({‘key’: ‘yes’})

iosxe/cat3k

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Overwrite the previous NVRAM configuration\?\[confirm\].*$

sendline({‘key’: ‘’})

^.*Delete filename \[.*\]\?\s*$

sendline({‘key’: ‘’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Do you want to remove the above files\? \[y\/n]\s*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Are you sure you want to continue\? \(y\/n\)\[y\]:?\s?$

sendline({‘key’: ‘y’})

^.*Do you wish to continue\? \[yes\]:\s*$

sendline({‘key’: ‘yes’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

Are you sure you want to do this\? \[yes/no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Proceed\? \[yes,no\]\s*$

sendline({‘key’: ‘yes’})

iosxe/cat3k

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Overwrite the previous NVRAM configuration\?\[confirm\].*$

sendline({‘key’: ‘’})

^.*Delete filename \[.*\]\?\s*$

sendline({‘key’: ‘’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Do you want to remove the above files\? \[y\/n]\s*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Are you sure you want to continue\? \(y\/n\)\[y\]:?\s?$

sendline({‘key’: ‘y’})

^.*Do you wish to continue\? \[yes\]:\s*$

sendline({‘key’: ‘yes’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

Are you sure you want to do this\? \[yes/no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Proceed\? \[yes,no\]\s*$

sendline({‘key’: ‘yes’})

iosxe/cat9k

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Overwrite the previous NVRAM configuration\?\[confirm\].*$

sendline({‘key’: ‘’})

^.*Delete filename \[.*\]\?\s*$

sendline({‘key’: ‘’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Do you want to remove the above files\? \[y\/n]\s*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Are you sure you want to continue\? \(y\/n\)\[y\]:?\s?$

sendline({‘key’: ‘y’})

^.*Do you wish to continue\? \[yes\]:\s*$

sendline({‘key’: ‘yes’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

Are you sure you want to do this\? \[yes/no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Proceed\? \[yes,no\]\s*$

sendline({‘key’: ‘yes’})

iosxe/csr1000v

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Overwrite the previous NVRAM configuration\?\[confirm\].*$

sendline({‘key’: ‘’})

^.*Delete filename \[.*\]\?\s*$

sendline({‘key’: ‘’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Do you want to remove the above files\? \[y\/n]\s*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Are you sure you want to continue\? \(y\/n\)\[y\]:?\s?$

sendline({‘key’: ‘y’})

^.*Do you wish to continue\? \[yes\]:\s*$

sendline({‘key’: ‘yes’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

Are you sure you want to do this\? \[yes/no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Proceed\? \[yes,no\]\s*$

sendline({‘key’: ‘yes’})

iosxe/csr1000v

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Overwrite the previous NVRAM configuration\?\[confirm\].*$

sendline({‘key’: ‘’})

^.*Delete filename \[.*\]\?\s*$

sendline({‘key’: ‘’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Do you want to remove the above files\? \[y\/n]\s*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Are you sure you want to continue\? \(y\/n\)\[y\]:?\s?$

sendline({‘key’: ‘y’})

^.*Do you wish to continue\? \[yes\]:\s*$

sendline({‘key’: ‘yes’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

Are you sure you want to do this\? \[yes/no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Proceed\? \[yes,no\]\s*$

sendline({‘key’: ‘yes’})

iosxe/quad

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Overwrite the previous NVRAM configuration\?\[confirm\].*$

sendline({‘key’: ‘’})

^.*Delete filename \[.*\]\?\s*$

sendline({‘key’: ‘’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Do you want to remove the above files\? \[y\/n]\s*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Are you sure you want to continue\? \(y\/n\)\[y\]:?\s?$

sendline({‘key’: ‘y’})

^.*Do you wish to continue\? \[yes\]:\s*$

sendline({‘key’: ‘yes’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

Are you sure you want to do this\? \[yes/no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Proceed\? \[yes,no\]\s*$

sendline({‘key’: ‘yes’})

iosxe/sdwan

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Overwrite the previous NVRAM configuration\?\[confirm\].*$

sendline({‘key’: ‘’})

^.*Delete filename \[.*\]\?\s*$

sendline({‘key’: ‘’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Do you want to remove the above files\? \[y\/n]\s*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Are you sure you want to continue\? \(y\/n\)\[y\]:?\s?$

sendline({‘key’: ‘y’})

^.*Do you wish to continue\? \[yes\]:\s*$

sendline({‘key’: ‘yes’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

Are you sure you want to do this\? \[yes/no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Proceed\? \[yes,no\]\s*$

sendline({‘key’: ‘yes’})

iosxe/stack

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Overwrite the previous NVRAM configuration\?\[confirm\].*$

sendline({‘key’: ‘’})

^.*Delete filename \[.*\]\?\s*$

sendline({‘key’: ‘’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Do you want to remove the above files\? \[y\/n]\s*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Are you sure you want to continue\? \(y\/n\)\[y\]:?\s?$

sendline({‘key’: ‘y’})

^.*Do you wish to continue\? \[yes\]:\s*$

sendline({‘key’: ‘yes’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

Are you sure you want to do this\? \[yes/no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Proceed\? \[yes,no\]\s*$

sendline({‘key’: ‘yes’})

iosxr

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^.*Enter secret(\sagain)?:\s?$

password_handler()

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

Do you wish to proceed?.*$

sendline({‘key’: ‘yes’})

\[confirm( with only 'y' or 'n')?\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

iosxr/asr9k

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^.*Enter secret(\sagain)?:\s?$

password_handler()

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

Do you wish to proceed?.*$

sendline({‘key’: ‘yes’})

\[confirm( with only 'y' or 'n')?\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

iosxr/iosxrv

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^.*Enter secret(\sagain)?:\s?$

password_handler()

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

Do you wish to proceed?.*$

sendline({‘key’: ‘yes’})

\[confirm( with only 'y' or 'n')?\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

iosxr/iosxrv9k

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^.*Enter secret(\sagain)?:\s?$

password_handler()

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

Do you wish to proceed?.*$

sendline({‘key’: ‘yes’})

\[confirm( with only 'y' or 'n')?\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

iosxr/moonshine

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^.*Enter secret(\sagain)?:\s?$

password_handler()

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

Do you wish to proceed?.*$

sendline({‘key’: ‘yes’})

\[confirm( with only 'y' or 'n')?\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

iosxr/ncs5k

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^.*Enter secret(\sagain)?:\s?$

password_handler()

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

Do you wish to proceed?.*$

sendline({‘key’: ‘yes’})

\[confirm( with only 'y' or 'n')?\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

iosxr/spitfire

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^(.*?)spitfire-arm login:\s*?$

bmc_login_handler()

^.*([Uu]sername|[Ll]ogin):\s*?$

xr_login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword:\s*?$

password_handler()

^.*Enter secret(\sagain)?:\s?$

password_handler({‘reuse_current_credential’: True})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

ironware

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

ise

connect

Pattern

Action

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

wait_and_send_yes()

^.*[Pp]ermission denied

permission_denied()

^.*([Uu]sername|[Ll]ogin): ?$

username_handler()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused()

Enter session number to resume or press <Enter> to start a new one:

send_enter()

^.*--More--.*

more_handler()

Press <Enter> to continue

send_enter()

Escape character is

send_enter()

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

junos

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*[Ll]ogin: ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword: ?$

password_handler()

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

junos/vsrx

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*[Ll]ogin: ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword: ?$

password_handler()

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

linux

connect

Pattern

Action

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

^.*Login incorrect

incorrect_login_handler()

^.*[Pp]ermission denied

permission_denied()

^.*([Uu]sername|[Ll]ogin): ?$

username_handler()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^.*Enter passphrase for key .*?:\s*?

password_handler()

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*\[sudo\] password for .*?:\s*?

sudo_password_handler()

nso

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

^(.*?)connected from .* using console

console_session()

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

nxos

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

Do you want to enable admin vdc\s?\(yes\/no\)\s?\[n\]\:

send_response({‘response’: ‘no’})

^.*Boot up system with default vdc \(yes\/no\) \[y\]\:

send_response({‘response’: ‘yes’})

^.*Enable the SNMP port\? \(yes\/no\) \[y\]:

send_response({‘response’: ‘’})

^.*(Enter|Confirm) the password for .*admin

admin_password_handler()

^.*Do you want to enforce secure password standard \(yes\/no\) \[y\]\:

send_response({‘response’: ‘n’})

Abort( Power On)? Auto Provisioning .*:

send_response({‘response’: ‘y’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

This command will reload module \S+ Proceed\[y\/n]\?

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

nxos/aci

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

nxos/mds

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

Do you want to enable admin vdc\s?\(yes\/no\)\s?\[n\]\:

send_response({‘response’: ‘no’})

^.*Boot up system with default vdc \(yes\/no\) \[y\]\:

send_response({‘response’: ‘yes’})

^.*Enable the SNMP port\? \(yes\/no\) \[y\]:

send_response({‘response’: ‘’})

^.*(Enter|Confirm) the password for .*admin

admin_password_handler()

^.*Do you want to enforce secure password standard \(yes\/no\) \[y\]\:

send_response({‘response’: ‘n’})

Abort( Power On)? Auto Provisioning .*:

send_response({‘response’: ‘y’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

This command will reload module \S+ Proceed\[y\/n]\?

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

nxos/n5k

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

Do you want to enable admin vdc\s?\(yes\/no\)\s?\[n\]\:

send_response({‘response’: ‘no’})

^.*Boot up system with default vdc \(yes\/no\) \[y\]\:

send_response({‘response’: ‘yes’})

^.*Enable the SNMP port\? \(yes\/no\) \[y\]:

send_response({‘response’: ‘’})

^.*(Enter|Confirm) the password for .*admin

admin_password_handler()

^.*Do you want to enforce secure password standard \(yes\/no\) \[y\]\:

send_response({‘response’: ‘n’})

Abort( Power On)? Auto Provisioning .*:

send_response({‘response’: ‘y’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

This command will reload module \S+ Proceed\[y\/n]\?

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

nxos/n7k

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

Do you want to enable admin vdc\s?\(yes\/no\)\s?\[n\]\:

send_response({‘response’: ‘no’})

^.*Boot up system with default vdc \(yes\/no\) \[y\]\:

send_response({‘response’: ‘yes’})

^.*Enable the SNMP port\? \(yes\/no\) \[y\]:

send_response({‘response’: ‘’})

^.*(Enter|Confirm) the password for .*admin

admin_password_handler()

^.*Do you want to enforce secure password standard \(yes\/no\) \[y\]\:

send_response({‘response’: ‘n’})

Abort( Power On)? Auto Provisioning .*:

send_response({‘response’: ‘y’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

This command will reload module \S+ Proceed\[y\/n]\?

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

nxos/n9k

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

Do you want to enable admin vdc\s?\(yes\/no\)\s?\[n\]\:

send_response({‘response’: ‘no’})

^.*Boot up system with default vdc \(yes\/no\) \[y\]\:

send_response({‘response’: ‘yes’})

^.*Enable the SNMP port\? \(yes\/no\) \[y\]:

send_response({‘response’: ‘’})

^.*(Enter|Confirm) the password for .*admin

admin_password_handler()

^.*Do you want to enforce secure password standard \(yes\/no\) \[y\]\:

send_response({‘response’: ‘n’})

Abort( Power On)? Auto Provisioning .*:

send_response({‘response’: ‘y’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

This command will reload module \S+ Proceed\[y\/n]\?

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

nxos/nxosv

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

Do you want to enable admin vdc\s?\(yes\/no\)\s?\[n\]\:

send_response({‘response’: ‘no’})

^.*Boot up system with default vdc \(yes\/no\) \[y\]\:

send_response({‘response’: ‘yes’})

^.*Enable the SNMP port\? \(yes\/no\) \[y\]:

send_response({‘response’: ‘’})

^.*(Enter|Confirm) the password for .*admin

admin_password_handler()

^.*Do you want to enforce secure password standard \(yes\/no\) \[y\]\:

send_response({‘response’: ‘n’})

Abort( Power On)? Auto Provisioning .*:

send_response({‘response’: ‘y’})

^.*([Uu]sername|[Ll]ogin): ?

login_handler()

^.*[Pp]assword: ?

password_handler()

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

This command will reload module \S+ Proceed\[y\/n]\?

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

sdwan

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

sdwan/iosxe

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Overwrite the previous NVRAM configuration\?\[confirm\].*$

sendline({‘key’: ‘’})

^.*Delete filename \[.*\]\?\s*$

sendline({‘key’: ‘’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Do you want to remove the above files\? \[y\/n]\s*$

sendline({‘key’: ‘y’})

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*Are you sure you want to continue\? \(y\/n\)\[y\]:?\s?$

sendline({‘key’: ‘y’})

^.*Do you wish to continue\? \[yes\]:\s*$

sendline({‘key’: ‘yes’})

^.*\[confirm\]\s*$

sendline({‘key’: ‘’})

^.*Do you want to continue\? \[no\]:\s*$

sendline({‘key’: ‘yes’})

Are you sure you want to do this\? \[yes/no\]:\s*$

sendline({‘key’: ‘yes’})

^.*Proceed\? \[yes,no\]\s*$

sendline({‘key’: ‘yes’})

sdwan/viptela

default

Pattern

Action

^.*--\s?[Mm]ore\s?--.*$

more_prompt_handler()

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

connect

Warning

Duplicate statement [pattern=’^(.*?)connected from .* using console’, action=console_session, args=None, loop_continue=True, continue_timer=False, trim_buffer=True]

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

^(.*?)connected from .* using console

console_session()

^(.*?)connected from .* using console

console_session()

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

slxos

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*[Ll]ogin:\s*$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword:\s*$

password_handler()

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

sros

connect

Pattern

Action

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

^Permission denied, please try again\.\s?$

permission_denied()

^.*([Uu]sername|[Ll]ogin): ?$

username_handler()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

staros

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

vos

default

Pattern

Action

^.*?\x1b\[1mPress <enter> for 1 line, <space> for one page, or <q> to quit\x1b\[0m

press_space()

^.*?\x1b\[1m\r\noptions: q=quit, n=next, p=prev, b=begin, e=end \(lines (\d+) - (\d+) of (\d+)\) : \x1b\[0m

paginate()

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

.*Continue \(y/n\)\?

sendline({‘key’: ‘y’})

windows

connect

Pattern

Action

^.*?% (Bad passwords|Access denied|Authentication failed)

bad_password_handler()

^.*Login incorrect

incorrect_login_handler()

^.*([Uu]sername|[Ll]ogin): ?$

login_handler()

^.*User Access Verification

user_access_verification()

^.*[Pp]assword( for )?(\S+)?: ?$

password_handler()

^(.*)Kerberos:\s*No default realm defined for Kerberos!

sendline()

Password OK\s*$

sendline()

^.*Enter passphrase for key .*?:\s*?

passphrase_handler()

^.*?(Enter|Confirm) enable secret:\s*$

enable_password_handler()

^.*(initial|basic) configuration dialog\s?\??\s*((\[yes.*\])|(\(yes/no\))|(\(yes/no\)\s*(\[y\]))):

sendline({‘key’: ‘no’})

Would you like to enter basic management setup\? \[yes/no\]:

send({‘key’: ‘x03’})

^.*?Enter your selection \[2]:\s*$

sendline({‘key’: ‘’})

Escape character is .*\n

escape_char_callback()

^.*RETURN to get started

wait_and_enter()

Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)

ssh_continue_connecting()

^.*(Connection refused|Connection reset by peer|Broken pipe|Network is down|closed by remote host)

connection_refused_handler()

Received disconnect from .*:

connection_failure_handler()

Hit Enter to proceed:

wait_and_enter()

^(.*?)Press Ctrl\+x to Exit the session

wait_and_enter()

^(.*?)Connected.

sendline()

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

^.*?Press any key to continue\.\s*$

sendline({‘key’: ‘’})

execute

Pattern

Action

^.*\[confirm\]\s*\[y/n\].*$

sendline({‘key’: ‘y’})

^.*\[confirm(\(y/n\))?\].*$

sendline()

^.*\[yes[/,][Nn][Oo]\]\s?:?\s*$

sendline({‘command’: ‘y’})

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()

configure

Pattern

Action

^.*?%\w+(-\S+)?-\d+-\w+.*$

syslog_wait_send_return()