For detailed information, see sk90860: How to configure SNMP on Gaia OS.
Description
Configure SNMP.
Syntax for set
commands
|
Where:
Command |
Description |
|
Enables ( |
|
Configures the supported SNMP version:
|
|
Configures how to run the SNMP daemon:
|
|
Configures the SNMP community password and if this password lets you only read the values of SNMP objects ( |
|
Configures the contact name for the SNMP community |
|
Configures the contact location for the SNMP community |
|
Configures the SNMPv3 USM user |
|
Configures the indication of a custom SNMP trap termination |
|
Configures the custom SNMP trap |
|
Enables ( |
|
Configures the threshold for the SNMP |
|
Configures the polling interval for the SNMP traps |
|
Configures the IPv4 address of the SNMP Trap Sink |
|
Configures the Gaia built-in SNMP traps |
|
Configures the user, which will generate the SNMP traps |
Syntax for add
commands
|
Where:
Command |
Description |
|
Adds a local interface to the list of local interfaces, on which the SNMP daemon listens |
|
Adds a SNMP Trap Sink |
|
Adds a customer SNMP trap |
|
Adds an SNMPv3 USM user |
Syntax for delete
commands
|
Where:
Command |
Description |
|
Removes the SNMP community password |
|
Removes the local interface from the list of local interfaces, on which the SNMP daemon listens |
|
Removes the contact name for the SNMP community |
|
Removes the contact location for the SNMP community |
|
Removes the SNMPv3 USM user |
|
Removes the indication of a custom SNMP trap termination |
|
Removes the threshold for the SNMP coldStart trap |
|
Removes the polling interval for the SNMP traps |
|
Removes the IPv4 address of the SNMP Trap Sink |
|
Removes the user, which will generate the SNMP traps |
|
Removes the custom SNMP trap |
Best Practice
For commands that include auth-pass-phrase
, privacy-pass-phrase
, or both, use the hashed commands.
To get the hashed password, run: show configuration snmp