Differences between version 12 and predecessor to the previous major change of zebra.conf.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 12 | Last edited on Thursday, September 11, 2003 9:29:58 am | by StuartYeates | Revert |
Older page: | version 8 | Last edited on Friday, April 18, 2003 10:09:16 pm | by GavinGrieve | Revert |
@@ -1,8 +1,8 @@
Sample zebra.conf
hostname hostname(1)
password YourVTYPassword
- enable password YourEnablePassword
+ enable password !
YourEnablePassword
log file /var/log/zebra/zebra.log
interface lo
ipv6 nd suppress-ra
interface eth0
@@ -15,53 +15,11 @@
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")
line vty %%%
- ! allows you to configure zebra
via a telnet connection to localhost on port 2601 (zebra), requires password set
+ ! 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 dont have [
IPv6]
Support, you will need to remove the ipv6 lines ''
---- /etc/snmp/snmpd.conf --------------------------------------------------
- ###########################################################################
- # SECTION: SMUX for
Zebra Routing Daemon
- #
-
- 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
-
- --- /etc/zebra/bgpd.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.
+To get SNMP working with
Zebra, refer to
[ZebraSNMP
]