EdgeRouter - SNMP


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

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.You can do this using the CLI button in the GUI or by using a program such as PuTTY.

1. Enter configuration mode.


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

set service snmp community <community> authorization ro
NOTE: Theauthorization ro option indicates that the community is read only.

3. Commit the changes and save the configuration.

commit ; save

The EdgeRouter also allows you to customize the SNMP settings. The available options are:

set service snmp community <community> client <ip-address>
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

EdgeRouter - How to Access the EdgeRouter

EdgeRouter - Access the CLI from the Web UI

EdgeRouter - Configuration and Operational Mode

Intro to Networking - How to Establish a Connection Using SSH

Was this article helpful?
2 out of 8 found this helpful
Can't find what you're looking for?
Visit our worldwide community of Ubiquiti experts for more answers
Visit the Ubiquiti Community