diff options
author | Tar Committer <tar@ocjtech.us> | 2001-08-03 03:13:25 +0000 |
---|---|---|
committer | Tar Committer <tar@ocjtech.us> | 2001-08-03 03:13:25 +0000 |
commit | af496d2efa0969f29a22a4236c620f513eb90287 (patch) | |
tree | f3bc37d0d677b7ae1b58ae643fa25a91b80655aa /man/clogin.1 | |
parent | 0e84b727786a16ade28bb081742e5c39c33ed7fa (diff) | |
download | rancid-af496d2efa0969f29a22a4236c620f513eb90287.tar.gz rancid-af496d2efa0969f29a22a4236c620f513eb90287.tar.xz rancid-af496d2efa0969f29a22a4236c620f513eb90287.zip |
Imported from rancid-2.2b5.tar.gz.rancid-2.2b5
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 |