Pcornel
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

Keyboard shortcuts

/ Finals search · Ctrl K global command palette · Alt E Exam Mode · Alt G Golden Scripts · Alt T Exam Topics · Alt V Verify · Esc close dialog.

Case Skills Exam

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

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
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.
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
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
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

Primary verification Section link
show snmp
Example output
SNMP packets input
    10 Get-request PDUs

Inspect SNMP counters after manager polling.

Detailed verification Section link
show snmp host
Example output
Notification host: 192.0.2.10

Check the notification destination; receiver-side testing is still needed.

Detailed verification Section link
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.

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.

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
ModeMeaning
RORead only
RWRead and write; only if required
TrapUnsolicited notification
Remove configuration — separate, potentially disruptive actions

Remove community

Stops access using this community.

enable
configure terminal
no snmp-server community [COMMUNITY]
end

Remove trap destination

Stops notifications to the selected host.

enable
configure terminal
no snmp-server host [MANAGER-IP]
end

Related reference

Networking technical reference · Interface types · Connectivity verification

Reset checklist?

Command block

Back to Top

Confirmation

Confirm action

Continue?