Configuration File


Each of the Zebra beasts has its own configuration file. For example, zebra's default configuration file name is `zebra.conf'. Program name plus `.conf' is the default configuration file name. You can specify a configuration file by -f or -config-file option to the daemon.

In a configuration file, you can write the debugging options, a vty's password, routing daemon configurations, a logfile name, and so on.

Menu
Basic Configuration
Sample Configuration

Basic Configuration


Sample Configuration


Below is sample configuration of the zebra daemon.

     !
     ! Zebra configuration file
     !
     hostname Router
     password zebra
     enable password zebra
     !
     log stdout
! and # are comment characters. If the first character of the word is one of comment characters then, from the rest of the line will be ignored as a comment.
     password zebra!password

If a comment character is not the first character of the word, it's a normal character. So above ! will not be regarded as a comment and the password is set to zebra!password.


(C) Copyright 1999 Free Software Foundation, Inc.

Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.

Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.

Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Free Software Foundation.