For detailed information, see sk90860: How to configure SNMP on Gaia OS.
To enable SNMP:
Step |
Description |
---|---|
1 |
In the navigation tree, click System Management > SNMP. |
2 |
Select Enable SNMP Agent. |
3 |
In the Version drop down list, select the version of SNMP to run:
|
4 |
In SNMP Location String, enter a string that contains the location for the system. The maximum length for the string is 128 characters. That includes letters, numbers, spaces, special characters For example: |
5 |
In SNMP Contact String, enter a string that contains the contact information for the device. The maximum length for the string is 128 characters. That includes letters, numbers, spaces, special characters. For example: |
6 |
Click Apply. |
To set an SNMP Agent interface:
Step |
Description |
---|---|
1 |
In the navigation tree, click System Management > SNMP. The SNMP Addresses table shows the applicable interfaces and their IP addresses. |
2 |
By default, all interfaces are selected. You can select the individual interfaces. |
Note - If you do not specify agent addresses, the SNMP protocol responds to requests from all interfaces.
To configure the SNMP community strings:
Step |
Description |
---|---|
1 |
In the V1/V2 Settings section, in Read Only Community String, set a string other than public. You must always use this is a basic security precaution. |
2 |
Optional. Set a Read-Write Community String. Warning - Set a read-write community string only if you have reason to enable set operations, and if your network is secure. |
To add a USM user:
Step |
Description |
---|---|
1 |
In the navigation tree, click System Management > SNMP. |
2 |
In the V3 - User-Based Security Model (USM) section, click Add. The Add New USM User window opens. |
3 |
In the User Name, enter the desired user name that is between 1 and 31 alphanumeric characters with no spaces, backslash, or colon characters. This can be the same as a user name for system access. |
4 |
In the Security Level, select one of these options from the drop-down list:
|
5 |
In the User Permissions, select one of these options from the drop-down list:
|
6 |
In the Authentication Protocol, select one of these options from the drop-down list:
The default is MD5. |
7 |
In the Authentication Pass Phrase, enter a password for the user that is between 8 and 128 characters in length. |
8 |
In the Privacy Protocol, select:
The default is DES. |
9 |
In the Privacy Pass Phrase, enter a pass phrase that is between 8 and 128 characters in length. Used for protection against disclosure of SNMP message payloads. |
10 |
Click Save. The new user shows in the table. |
To delete a USM user:
Step |
Description |
---|---|
1 |
In the navigation tree, click System Management > SNMP. |
2 |
In the V3 - User-Based Security Model (USM) section, select the user and click Remove. The Deleting USM User Entry window opens. |
3 |
The window shows this message: Are you sure you want to delete "username" entry? Click Yes. |
To edit a USM user:
Step |
Description |
---|---|
1 |
In the navigation tree, click System Management > SNMP. |
2 |
In the V3 - User-Based Security Model (USM) section, select the user and click Edit. The Edit USM User window opens. |
3 |
You can change the Security Level, User Permissions, the Authentication Protocol, the Authentication Passphrase, or the Privacy Protocol. |
4 |
Click Save. |
To enable or disable SNMP trap types:
Step |
Description |
---|---|
1 |
In the navigation tree, click System Management > SNMP. |
2 |
In the Enabled Traps section, click Set. The Add New Trap Receiver window opens.
|
3 |
Click Save. |
4 |
Add a USM user. You must do this even if you use only SNMPv1 or SNMPv2. In the Trap User, select an SNMP user. |
5 |
In Polling Frequency, specify the number of seconds between polls. |
6 |
Click Apply. |
To configure SNMP trap receivers:
Step |
Description |
---|---|
1 |
In the navigation tree, click System Management > SNMP. |
2 |
In the Trap Receivers Settings section, click Add. The Add New Trap Receiver window opens. |
3 |
In the IPv4 Address, enter the IP address of an SNMP receiver. |
4 |
In the Version, select the SNMP Version for the specified receiver. |
5 |
In the Community String, enter the SNMP community string for the specified receiver. |
6 |
Click Save. |
To edit SNMP trap receivers:
Step |
Description |
---|---|
1 |
In the navigation tree, click System Management > SNMP. |
2 |
In the Trap Receivers Settings section, select the SNMP receiver and click Edit. The Edit Trap Receiver window opens. |
3 |
You can change the SNMP version or the SNMP community string. |
4 |
Click Save. |
To delete SNMP trap receivers:
Step |
Description |
---|---|
1 |
In the navigation tree, click System Management > SNMP. |
2 |
In the Trap Receivers Settings section, select the SNMP trap receiver and click Remove. The Deleting Trap Receiver Entry window opens. |
3 |
The window shows this message: Are you sure you want to delete "IPv4 address" entry? Click Yes. |