Merge pull request #2183 from Thomas-Gelf/fix/doc-snmp-file-formatting

doc, snmp: fix file formatting
This commit is contained in:
Quentin Young 2018-05-09 10:41:59 -04:00 committed by GitHub
commit 216972dd3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,9 @@ master SNMP agent (snmpd) and each of the FRR daemons must be configured. In
In each of the FRR daemons, ``agentx`` command will enable AgentX support. In each of the FRR daemons, ``agentx`` command will enable AgentX support.
:file:`/etc/snmp/snmpd.conf`: :file:`/etc/snmp/snmpd.conf`:
::
# #
# example access restrictions setup # example access restrictions setup
# #
@ -113,6 +116,9 @@ using the password "frr_ospfd". For testing it is recommending to take exactly
the below snmpd.conf as wrong access restrictions can be hard to debug. the below snmpd.conf as wrong access restrictions can be hard to debug.
:file:`/etc/snmp/snmpd.conf`: :file:`/etc/snmp/snmpd.conf`:
::
# #
# example access restrictions setup # example access restrictions setup
# #
@ -126,6 +132,9 @@ the below snmpd.conf as wrong access restrictions can be hard to debug.
smuxpeer .1.3.6.1.4.1.3317.1.2.5 frr_ospfd smuxpeer .1.3.6.1.4.1.3317.1.2.5 frr_ospfd
:file:`/etc/frr/ospf`: :file:`/etc/frr/ospf`:
::
! ... the rest of ospfd.conf has been omitted for clarity ... ! ... the rest of ospfd.conf has been omitted for clarity ...
! !
smux peer .1.3.6.1.4.1.3317.1.2.5 frr_ospfd smux peer .1.3.6.1.4.1.3317.1.2.5 frr_ospfd