liveBook · Manning

SNMP Set request

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

An SNMP Set request asks an SNMP agent to change specified management-object values on a managed device.

An SNMP Set request asks an SNMP agent to change one or more variables in a managed device’s Management Information Base (MIB). The agent applies the change and returns a Response message, allowing an NMS to manage devices centrally without logging into each device’s CLI. section 6.1.1 section 6.4

Key behavior and limits include:

  • A Set can change interface status, add configuration such as a DNS server, initiate a reboot or shutdown, or trigger a configuration backup. section 6.1.1
  • The SNMP manager sends the request to the agent on UDP port 161; the agent returns a Response to the manager on UDP port 162. section 6.1.2
  • SNMPv1 and SNMPv2c require a read-write (RW) community string for Set requests; a read-only (RO) string permits Get operations but rejects changes. section 6.3.1

Centralized interface and device configuration

An NMS can send a Set request to R1 to change G0/1 to Up, equivalent to configuring no shutdown. It can also use Set requests to add a new DNS server across multiple routers instead of entering ip name-server on each CLI. section 6.1.1

Figure 6.2 An SNMP Set and Response exchange. (1) The NMS sends a Set message instructing R1 to change its G0/1 interface to Up. (2) R1 changes G0/1’s status as instructed. (3) R1 sends a Response message to the NMS.

Trace the Set-and-Response exchange from the NMS request through the interface change to the agent’s reply. section 6.1.1

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Explains request flow, MIB modification, transport ports, uses, and RO/RW authorization without detailing Set packet encoding.
Examples
Uses interface-status changes, DNS-server additions, reboots, shutdowns, and configuration backups as operational examples.
What it assumes
Assumes familiarity with managed devices and networking, while defining the NMS, agent, manager, MIB, and community-string roles.
What you can do after
Apply it via SNMP to centrally change supported MIB variables when the NMS supplies write authorization.
How it connects
Connects SNMP Set requests with NMS, SNMP manager, SNMP agent, MIB, Response messages, community strings, and Get operations.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.