EdgeRouter - SNMP


Overview


Readers will learn how to enable and configure the Simple Network Management Protocol (SNMP) on an EdgeRouter.

NOTES & REQUIREMENTS:
Applicable to the latest EdgeOS firmware on all EdgeRouter models. Please see the Related Articles below for more information.
 
Device used in this article:

Configuring SNMP using the Command Line


Back to Top

CLI: Access the command line interface (CLI). You can do this using the CLI button in the GUI or by using a program such as PuTTY.

1. Enter configuration mode.

configure

2. Define the SNMP community name and set the authorization (replace <community> with your defined community name).

set service snmp community <community> authorization ro
NOTE: The ro authorization option indicates that the community is read-only. The other option is rw, which also allows write access. In most scenarios, we recommend to not allow write access to the device via SNMP.

3. Commit the changes and save the configuration.

commit ; save

The EdgeRouter also allows you to customize the SNMP settings. In order to limit the community to a single client, add the client statement behind the community name.

set service snmp community <community> client <ip-address>

The other available options are:

set service snmp description <description>
set service snmp location <location>
set service snmp contact <name>
set service snmp trap-target <ip-address>
set service snmp listen-address <ip-address>

Related Articles


Back to Top

Intro to Networking - How to Establish a Connection Using SSH


We're sorry to hear that!