summaryrefslogtreecommitdiffstats
path: root/doc/vtysh.texi
diff options
context:
space:
mode:
authorpaul <paul>2003-06-20 01:18:07 +0000
committerpaul <paul>2003-06-20 01:18:07 +0000
commita0ebbad0645b02e94b8f9f26ab3dd543baebb861 (patch)
tree114d87c00ce0ce6a13438d3e3fb052a70409e20d /doc/vtysh.texi
parent54498d3c194a2c2bee258bde43023124173cbe34 (diff)
downloadquagga-a0ebbad0645b02e94b8f9f26ab3dd543baebb861.tar.bz2
quagga-a0ebbad0645b02e94b8f9f26ab3dd543baebb861.tar.xz
2003-06-20 Paul Jakma <paul@dishone.st>
* *.texi: update the docs a bit. Add some info about zebra.dishone.st in the overview. Add link-detect and update static routes section in zebra. Add write-config in vtysh. Update version handling and add passive-interface default for ripd.
Diffstat (limited to 'doc/vtysh.texi')
-rw-r--r--doc/vtysh.texi40
1 files changed, 33 insertions, 7 deletions
diff --git a/doc/vtysh.texi b/doc/vtysh.texi
index 72490dba..960b20ea 100644
--- a/doc/vtysh.texi
+++ b/doc/vtysh.texi
@@ -12,16 +12,42 @@ is the vtysh configuration file. Vtysh does not search current
directory for configuration file because the file includes user
authentication settings.
-Currently, vtysh.conf has only one command.
+Currently, vtysh.conf has only two commands.
-@example
-!
-username foo nopassword
-!
-@end example
+@deffn {Command} {username @var{username} nopassword} {}
With this set, user foo does not need password authentication for user vtysh.
With PAM vtysh uses PAM authentication mechanism.
If vtysh is compiled without PAM authentication, every user can use vtysh
-without authentication.
+without authentication. vtysh requires read/write permission
+to the various daemons vty sockets, this can be accomplished through use
+of unix groups and the --enable-vty-group configure option.
+
+@end deffn
+
+@deffn {Command} {write-conf daemon} {}
+Instruct daemons to write out their config files when 'write file'
+is issued.
+@end deffn
+@deffn {Command} {write-conf integrated} {}
+Write out integrated Zebra.conf file when 'write file' is issued.
+@end deffn
+
+This command controls the behaviour of vtysh when it is told
+to write out the configuration. If @command{write-conf integrated} is
+set, the daemon will write out a Zebra.conf with all daemons' commands
+integrated into it. If @command{write-conf daemon} is set, vtysh
+will instruct each daemon to write out their config files.
+
+Vtysh per default behaves as if @command{write-conf daemon} is set. Note
+that both may be set at same time if one wishes to have both
+Zebra.conf and daemon specific files written out. Further, note that the
+daemons are hard-coded to first look for the integrated Zebra.conf
+file before looking for their own file.
+
+We recommend you do not mix the use of the two types of files.
+Further, it is better not to use the integrated Zebra.conf file,
+as any syntax error in it can lead to /all/ of your daemons being unable
+to start up. Per daemon files are more robust as impact of errors in
+configuration are limited to the daemon in whose file the error is made.