H3 · Practical network exams · Cisco IOS / IOS XE
SNMPv2c · Finals
Configuration first, verification second, theory third. Reference templates require task-specific adaptation.
Content version 1.1-draft
Case Skills Exam
Mark topic as completed
Quick explanation SNMPv2c allows a manager to poll device information and receive notifications using a community string. It lacks modern authenticated encryption and is included for the exam.
Configuration Show / Verify Common Mistakes Back to topics
Copy Topic
Configuration
Replace highlighted placeholders. Configure only the variants required by the task.
Prerequisites and dependency links
Ensure manager reachability and restrict access to authorized management hosts. Use RO for ordinary monitoring; RW only if explicitly required.
Read-only community with ACL Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode.
Section link
Copy
Fullscreen
enable
configure terminal
ip access-list standard [MGMT-ACL]
permit host [MANAGER-IP]
exit
snmp-server community [COMMUNITY] RO [MGMT-ACL]
end
Command parameters
[MGMT-ACL]Management ACL name. [MANAGER-IP]Authorized SNMP manager IPv4 address. [COMMUNITY]SNMPv2c community string; keep secret.
Optional read-write community with ACL Optional when requested
Start in privileged EXEC; block enters and exits configuration mode.
Section link
Allows write operations; use only where requested.
Copy
Fullscreen
enable
configure terminal
ip access-list standard [MGMT-ACL]
permit host [MANAGER-IP]
exit
snmp-server community [COMMUNITY] RW [MGMT-ACL]
end
Command parameters
[MGMT-ACL]Management ACL name. [MANAGER-IP]Authorized SNMP manager IPv4 address. [COMMUNITY]SNMPv2c community string; keep secret.
SNMPv2c trap destination Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.
Section link
Copy
Fullscreen
enable
configure terminal
snmp-server host [MANAGER-IP] traps version 2c [COMMUNITY]
snmp-server enable traps snmp linkdown linkup
end
Command parameters
[MANAGER-IP]Authorized SNMP manager IPv4 address. [COMMUNITY]SNMPv2c community string; keep secret.
Device location and contact Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.
Section link
Copy
Fullscreen
enable
configure terminal
snmp-server location [LOCATION]
snmp-server contact [CONTACT]
end
Command parameters
[LOCATION]SNMP device location string. [CONTACT]SNMP administrative contact string.
Show / Verify Copy Verify
Example output
SNMP packets input
10 Get-request PDUs
Inspect SNMP counters after manager polling.
Example output
Notification host: 192.0.2.10
Check the notification destination; receiver-side testing is still needed.
show running-config | include ^snmp-server
Example output
snmp-server community [REDACTED] RO MGMT
Check configured access and destinations without disclosing the community.
Connectivity verification IPv4 reachability Check success rate; use source or VRF context if required.
Copy
Fullscreen
ping [DESTINATION-IP]
Management receiver test Inspect the service-specific state. Confirm receipt of a generated log/trap or a permitted poll on the relevant remote collector. Local counters alone do not prove receiver delivery.
Copy
Fullscreen
show logging
show snmp
show ntp status
Common mistakes Incorrect community or ACL. Confusing trap delivery with successful polling. Unnecessary RW access. Treating SNMPv2c as encrypted.
Quick reference and default values
SNMPv2c access
Mode Meaning
RO Read only RW Read and write; only if required Trap Unsolicited notification
Remove configuration — separate, potentially disruptive actions
Remove community Stops access using this community.
Copy
Fullscreen
enable
configure terminal
no snmp-server community [COMMUNITY]
end
Remove trap destination Stops notifications to the selected host.
Copy
Fullscreen
enable
configure terminal
no snmp-server host [MANAGER-IP]
end