diff options
Diffstat (limited to 'man/clogin.1')
-rw-r--r-- | man/clogin.1 | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/man/clogin.1 b/man/clogin.1 index 909adc6..cbc6a65 100644 --- a/man/clogin.1 +++ b/man/clogin.1 @@ -11,6 +11,9 @@ clogin \- Cisco/Foundry login script .BI \-c\ command] [\c +.BI \-E\ +var=x] +[\c .BI \-e\ enable-password] [\c @@ -47,8 +50,8 @@ router is an .BR expect (1) script to automate the process of logging into a Cisco router, catalyst -switch, or Redback router. There are complementary scripts for Alteon, -Juniper, Foundry, and ADC-kentrox EZ-T3 mux named +switch, Extreme switch, or Redback router. There are complementary scripts +for Alteon, Juniper, Foundry, and ADC-kentrox EZ-T3 mux named .B alogin, .B jlogin, .B flogin, @@ -74,6 +77,12 @@ commands maybe listed by separating them with semi-colons (;). The argument should be quoted to avoid shell expansion. .\" .TP +.B \-E +Specifies a variable to pass through to scripts (\-s). For example, the +command-line option \-Efoo=bar will produce a global variable by the name +Efoo with the initial value "foo". +.\" +.TP .B \-e Specify a password to be supplied when gaining enable privileges on the router(s). Also see the password directive of the @@ -100,7 +109,8 @@ The filename of an script which will be sourced after the login is successful and is expected to return control to .B clogin, -with the connection to the router intact, when it is done. +with the connection to the router intact, when it is done. Example script(s) +can be found in util/*.exp. .\" .TP .B \-t |