Difference between revisions of "Vyatta"

Jump to navigation Jump to search
324 bytes added ,  15:14, 24 March 2014
→‎SNMP Server: Corrected and added firewall example
(→‎Set-up: Added SNMP settings)
(→‎SNMP Server: Corrected and added firewall example)
Line 56: Line 56:
# Go into configuration mode
# Go into configuration mode
#* <code> configure </code>
#* <code> configure </code>
# Create a SNMP community
# Create a SNMP community (don't use public!)
#* <code> set service snmp community public </code>
#* <code> set service snmp community public </code>
# Go into the created community
#* <code> edit service snmp community mp-public </code>
# Create a SNMP client that's allowed to make SNMP requests
# Create a SNMP client that's allowed to make SNMP requests
#* <code> set client 192.168.1.25 </code>
#* <code> set service snmp community public client 192.168.1.25 </code>
# Apply changes and move back up to top-level part of config
# Apply changes and move back up to top-level part of config
#* <code> commit </code>
#* <code> commit </code>
#* <code> top </code>


To set up SNMP trapping (assumes you're already in config mode)
To set up SNMP trapping (assumes you're already in config mode)
Line 71: Line 68:
# Apply changes  
# Apply changes  
#* <code> commit </code>
#* <code> commit </code>
If you have the firewall enabled, you'll need to allow SNMP traffic in, eg
<pre>
set firewall name eth0-local rule 70 description 'VYATTA SNMP'
set firewall name eth0-local rule 70 action 'accept'
set firewall name eth0-local rule 70 destination port '161'
set firewall name eth0-local rule 70 protocol 'udp'
set firewall name eth0-local rule 70 source address '192.168.1.25'
</pre>


== Configuration ==
== Configuration ==

Navigation menu