Differences between version 7 and previous revision of zebra.conf.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 7 | Last edited on Sunday, December 8, 2002 11:25:01 pm | by JohnMcPherson | Revert |
Older page: | version 2 | Last edited on Saturday, October 5, 2002 12:01:11 am | by PerryLorier | Revert |
@@ -1,4 +1,5 @@
+Sample zebra.conf
hostname hostname(1)
password YourVTYPassword
enable password YourEnablePassword
log file /var/log/zebra/zebra.log
@@ -7,23 +8,56 @@
interface eth0
ipv6 nd suppress-ra
interface sit0
ipv6 nd suppress-ra
- interface tap0
+ ! use tap0 if using ETHERTAP, or wan0 if using TUN
+ !
interface tap0
+ interface wan0
ipv6 nd suppress-ra
interface ppp0
ipv6 nd suppress-ra
! not sure if smux is necessary, mine works without it even though I spend hours trying to get it working
- ! smux is "SNMP Multiplexer" it lets you query the routing daemon, but requires a SNMP daemon to be running (hence why you may see smux "errors")
+ ! smux is "SNMP Multiplexer" it lets you query the routing daemon, but requires a SNMP daemon to be running
+ !
(hence why you may see smux "errors")
line vty %%%
! allows you to configure zebra via a telnet connection to localhost on port 2601 (zebra), requires password set
''If you dont have IPv6 Support, you will need to remove the ipv6 lines ''
-''If you're sick of the
snmp warning messages add:''
- snmp peer .1.3.6.1.4.1.3317.1.2
.1 ''password''
+--- /etc/
snmp/snmpd
.conf --------------------------------------------------
-then add to snmpd.conf
- smuxpeer .1.3.6.1.4.1.3317.1.2.1 ''samepasswordhere''
+ ###########################################################################
+ # SECTION: SMUX for Zebra Routing Daemon
+ #
-warning this
password should be considered insecure, it syslogs it all over the place! Note that snmpd.conf doesn't have the space while zebra
does
+ smuxpeer .1.3.6.1.4.1.3317.1.2.1 snmpcommunity
+ smuxpeer .1.3.6.1.4.1.3317.1.2.2 snmpcommunity
+ smuxpeer .1.3.6.1.4.1.3317.1.2.3 snmpcommunity
+ smuxpeer .1.3.6.1.4.1.3317.1.2.4 snmpcommunity
+ smuxpeer .1.3.6.1.4.1.3317.1.2.5 snmpcommunity
+ # obsolete hardcoded OID
+ smuxpeer .1.3.6.1.6.3.1 snmpcommunity
+ # OSPF2MIB
+ smuxpeer .1.3.6.1.2.1.14 snmpcommunity
+ # BGP4MIB ("mib-2.15 of RFC1657")
+ smuxpeer .1.3.6.1.2.1.15 snmpcommunity
+ # RIPV2MIB
+ smuxpeer .1.3.6.1.2.1.4.23 snmpcommunity
+ # IPFWMIB
+ smuxpeer .1.3.6.1.2.1.4.24 snmpcommunity
+
+-----
+
+ --- /etc/zebra/zebra.conf -------------------------------------------------
+
+ smux peer 1.3.6.1.4.1.3317.1.2.5 snmpcommunity
+
+-----
+
+ --- /etc/zebra/ospfd.conf -------------------------------------------------
+
+ smux peer 1.3.6.1.2.1.14 snmpcommunity
+
+-----
+
+Warning: snmpcommunity is technically a
password and
should be considered insecure, -
it syslogs it all over the place! (Stupid snmpd.)
Note that snmpd.conf doesn't have the space in 'smuxpeer'
while [Zebra]
does.