.\" Man page generated from reStructuredText. . .TH "VTYSH" "1" "Jan 07, 2020" "6.0.2" "FRR" .SH NAME vtysh \- an integrated shell for FRRouting. . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp vtysh [ \-b ] .sp vtysh [ \-E ] [ \-d \fIdaemon\fP ] [ \-c \fIcommand\fP ] .SH DESCRIPTION .sp vtysh is an integrated shell for the FRRouting suite of protocol daemons. .SH OPTIONS .sp OPTIONS available for the vtysh command: .INDENT 0.0 .TP .B \-b, \-\-boot Execute boot startup configuration. It makes sense only if integrated config file is in use (not default in FRRouting). See Info file frr for more info. .UNINDENT .INDENT 0.0 .TP .B \-c, \-\-command command Specify command to be executed under batch mode. It behaves like \-c option in any other shell \- command is executed and vtysh exits. .sp It\(aqs useful for gathering info from FRRouting daemons or reconfiguring daemons from inside shell scripts, etc. Note that multiple commands may be executed by using more than one \-c option and/or embedding linefeed characters inside the command string. .UNINDENT .INDENT 0.0 .TP .B \-d, \-\-daemon daemon_name Specify which daemon to connect to. By default, vtysh attempts to connect to all FRRouting daemons running on the system. With this flag, one can specify a single daemon to connect to instead. For example, specifying \(aq\-d ospfd\(aq will connect only to ospfd. This can be particularly useful inside scripts with \-c where the command is targeted for a single daemon. .UNINDENT .INDENT 0.0 .TP .B \-e, \-\-execute command Alias for \-c. It\(aqs here only for compatibility with Zebra routing software and older FRR versions. This will be removed in future. .UNINDENT .INDENT 0.0 .TP .B \-E, \-\-echo When the \-c option is being used, this flag will cause the standard vtysh prompt and command to be echoed prior to displaying the results. This is particularly useful to separate the results when executing multiple commands. .UNINDENT .INDENT 0.0 .TP .B \-C, \-\-dryrun When the \-C option is being used, this flag will check the config for syntatic validity. .UNINDENT .INDENT 0.0 .TP .B \-m, \-\-markfile Mark the input file with context ends, useful for cleanup of a config file that has a lot of extraneous space and end markers .UNINDENT .INDENT 0.0 .TP .B \-n, \-\-noerror When executing cli that does not invoke a vtysh shell, if an error ocurrs ignore it for purposes of return codes from vtysh. .UNINDENT .INDENT 0.0 .TP .B \-u, \-\-user Restrict access to configuration commands by preventing use of the "enable" command. This option provides the same limited "security" as password\-protected telnet access. \fIThis security should not be relied on in production environments.\fP .sp Caveat emptor: VTYSH was never designed to be a privilege broker and is not built using secure coding practices. No guarantees of security are provided for this option and under no circumstances should this option be used to provide any semblance of secure read\-only access to FRR. .UNINDENT .INDENT 0.0 .TP .B \-h, \-\-help Display a usage message on standard output and exit. .UNINDENT .SH ENVIRONMENT VARIABLES .INDENT 0.0 .TP .B VTYSH_PAGER This should be the name of the pager to use. Default is more. .UNINDENT .SH FILES .INDENT 0.0 .TP .B /usr/lib/frr/vtysh The default location of the vtysh binary. .TP .B /etc/frr/vtysh.conf The default location of the vtysh config file. .TP .B /etc/frr/frr.conf The default location of the integrated FRRouting routing engine config file if integrated config file is in use. .TP .B ${HOME}/.history_frr Location of history of commands entered via cli .TP .B $(PWD)/vtysh\&.log If the vtysh process is configured to output logs to a file, then you will find this file in the directory where you started vtysh\&. .UNINDENT .SH WARNING .sp This man page is intended to be a quick reference for command line options. The definitive document is the info file frr 6.0.2 or the documentation available on the project website at \fI\%https://frrouting.org/\fP\&. .SH DIAGNOSTICS .sp The daemon may log to standard output, to a VTY, to a log file, or through syslog to the system logs. FRR supports many debugging options, see the Info file, web docs or source for details. .SH SEE ALSO .sp zebra(8), vtysh(1), ripd(8), ripngd(8), ospfd(8), ospf6d(8), bgpd(8), isisd(8), babeld(8), nhrpd(8), pimd(8), pbrd(8), ldpd(8), eigrpd(8), staticd(8), mtracebis(8) \fI\%https://frrouting.org/\fP .SH BUGS .sp FRR eats bugs for breakfast. If you have food for the maintainers, please email <\fI\%dev@lists.frrouting.org\fP>. .SH COPYRIGHT 2020, FRR .\" Generated by docutils manpage writer. .