Configuring and Validating SNMP
Simple network management protocol (SNMP) applications are used in URWB software for network management functionalities.
The SNMP client sends a request to the SNMP agent. The SNMP agent passes the request to the subagent. The subagent responds to the SNMP agent. The SNMP agent creates an SNMP response packet and sends it to the remote network management station that initiates the request.

Configuring SNMP from CLI
To configure SNMP, use the following CLI commands:
![]() Note |
|
Device#configure snmp [enable | disable]
Device#configure snmp version {v2c | v3}
Device#configure snmp v2c community-id <length 1-64>
Device#configure snmp v3 username <length 32>
Device#configure snmp v3 password <length 8-64>
Device#configure snmp auth-method <md5|sha>
Device#configure snmp encryption {des | aes | none}
Possible encryption values are des or aes. Alternatively, enter none if a v3 encryption protocol is not needed.
Device#configure snmp secret <length 8-64>
Device#configure snmp periodic-trap {enable | disable}
Device#configure snmp trap-period <1-2147483647>
Notification value trap period measured in minutes.Device#configure snmp event-trap {enable | disable}
Device#configure snmp nms-hostname {hostname |Ip Address}
Device#configure snmp disabled
Once you disable SNMP, it clears all the sensitive information including credentials. You have to re-specify all the valid values again to enable SNMP.
Example of SNMP configuration:
Device#configure snmp v2 community-id <length 1-64>
Device#configure snmp nms-hostname hostname/Ip Address
Device#configure snmp trap-period <1-2147483647>
Device#configure snmp periodic-trap enable/disable
Device#configure snmp event-trap enable/disable
Device#configure snmp version v2c
Device#configure snmp enabled
Device #configure snmp nms-hostname hostname/Ip Address
Device#configure snmp trap-period <1-2147483647>
Device#configure snmp v3 username <length 32>
Device#configure snmp v3 password <length 8-64>
Device#configure snmp auth-method <md5|sha>
Device#configure snmp encryption <aes|des|none>
Device#configure snmp secret <length 8-64>
Device#configure snmp periodic-trap enable/disable
Device#configure snmp event-trap enable/disable
Device#configure snmp version v3
Device#configure snmp enabled
Validating SNMP from CLI
To validate the SNMP, use the following show command:
Device# show snmp
SNMP: enabled
Version: v3
Username: username
Password: password
Authentication method: SHA
Encryption: AES
Encryption Passphrase: passphrase
Engine ID: 0x8000000903c0f87fe5f314
Periodic Trap: enabled
Notification Period (minutes): 5
Event Trap: enabled
NMS hostname: 192.168.116.11
Device# show snmp
SNMP: enabled
Version: v2c
Community ID: test
Periodic Trap: enabled
Notification Period (minutes): 5
Event Trap: enabled
NMS hostname: 192.168.116.11
Device# show system status snmpd
Service Status
Service Name : snmpd
Loaded : loaded
Active : active (running)
Main ProcessID : 6437
Running Since : Mon 2022-09-19 14:45:27 UTC; 3h 34min ago
Service Restart : 0
Configuring SNMP from GUI
The following images shows the configuration of SNMP from GUI
GUI for SNMP v2:

GUI for SNMP v3:

Disable SNMP via GUI
