Node:Basic Config Commands, Next:, Previous:Config Commands, Up:Config Commands



Basic Config Commands

hostname hostname Command
Set hostname of the router.

password password Command
Set password for vty interface. If there is no password, a vty won't accept connections.

enable password password Command
Set enable password.

log stdout Command
no log stdout Command
Set logging output to stdout.

log file filename Command
If you want to log into a file please specify filename as follows.
          log file /usr/local/etc/bgpd.log
          

log syslog Command
no log syslog Command
Set logging output to syslog.

write terminal Command
Displays the current configuration to the vty interface.

write file Command
Write current configuration to configuration file.

configure terminal Command
Change to configuration mode. This command is the first step to configuration.

terminal length <0-512> Command
Set terminal display length to <0-512>. If length is 0, no display control is performed.

who Command

list Command
List commands.

service password-encryption Command
Encrypt password.

service advanced-vty Command
Enable advanced mode VTY.

service terminal-length <0-512> Command
Set system wide line configuration. This configuration command applies to all VTY interfaces.

show version Command
Show the current version of the Zebra and its build host information.

line vty Command
Enter vty configuration mode.

banner motd default Command
Set default motd string.

no banner motd Command
No motd banner string will be printed.

exec-timeout minute Line Command
exec-timeout minute second Line Command
Set VTY connection timeout value. When only one argument is specified it is used for timeout value in minutes. Optional second argument is used for timeout value in seconds. Default timeout value is 10 minutes. When timeout value is zero, it means no timeout.

no exec-timeout Line Command
Do not perform timeout at all. This command is as same as exec-timeout 0 0.

access-class access-list Line Command
Restrict vty connections with an access list.