summaryrefslogtreecommitdiffstats
path: root/man/clogin.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/clogin.1')
-rw-r--r--man/clogin.124
1 files changed, 18 insertions, 6 deletions
diff --git a/man/clogin.1 b/man/clogin.1
index 53f1971..1f22ff2 100644
--- a/man/clogin.1
+++ b/man/clogin.1
@@ -1,13 +1,13 @@
.\"
.hys 50
-.TH "clogin" "1" "23 November 2006"
+.TH "clogin" "1" "7 February 2008"
.SH NAME
clogin \- Cisco/Foundry login script
.SH SYNOPSIS
.B clogin
[\fB\-autoenable\fP]
[\fB\-noenable\fP]
-[\fB\-V\fR]
+[\fB\-dV\fR]
[\c
.BI \-c\
command]
@@ -55,11 +55,11 @@ catalyst switch, Extreme switch, Juniper ERX/E-series, Procket Networks,
or Redback router.
There are complementary scripts for
Alteon,
-ADC-kentrox EZ-T3 mux,
+Avocent (Cyclades),
Bay Networks (nortel),
-Cisco AGM,
+ADC-kentrox EZ-T3 mux,
Foundry,
-HP Procurve Switches,
+HP Procurve Switches and Cisco AGMs,
Hitachi Routers,
Juniper Networks,
Netscreen firewalls,
@@ -68,6 +68,7 @@ Riverstone,
and Lucent TNT,
named
.B alogin,
+.B avologin,
.B blogin,
.B elogin,
.B flogin,
@@ -84,7 +85,7 @@ respectively.
.B clogin
reads the
.IR .cloginrc
-file for its configuration, then connects and logins into each of the
+file for its configuration, then connects and logs into each of the
routers specified on the command line in the order listed. Command-line
options exist to override some of the directives found in the
.IR .cloginrc
@@ -94,6 +95,7 @@ The command-line options are as follows:
.TP
.B \-V
Prints package name and version strings.
+.\"
.TP
.B \-c
Command to be run on each router list on the command-line. Multiple
@@ -101,6 +103,10 @@ commands maybe listed by separating them with semi-colons (;). The argument
should be quoted to avoid shell expansion.
.\"
.TP
+.B \-d
+Enable expect debugging.
+.\"
+.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
@@ -196,6 +202,12 @@ Specifies the encryption algorithm for use with the
.BR ssh (1)
man page for details. The default is 3des.
.El
+.\"
+.SH RETURNS
+If the login script fails for any of the devices on the command-line, the
+exit value of the script will be non-zero and the value will be the number
+of failures.
+.\"
.SH ENVIRONMENT
.B clogin
recognizes the following environment variables.