--- title: "snmp" slug: "cli-sc-snmp" updated: 2025-07-02T03:25:07Z published: 2025-09-03T14:11:33Z canonical: "docs.crossworkassurance.cisco.com/cli-sc-snmp" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # snmp ## snmp edit snmp edit - Edit SNMP agent configuration **Description:** snmp edit allows you to change the SNMP agent configuration. **Syntax:** ``` snmp edit { {state {disable | enable}} | {use-host-name {enable | disable} | {agent-port <1-65535>} | {contact-info } | {ro-community } | {rw-community } | {system-location } | {system-name } | {authentication-trap {enable | disable}} | {link-trap {enable | disable}}+ ``` **Parameters:** | Parameter | Description | | --- | --- | | state | Enable or disable the SNMP agent. | | use-host-name | Use the configured host name as system-name. | | agent-port | Makes the agent listen on the specified UDP port on all interfaces. **Note:** Changing this value restarts the SNMP agent. | | contact-info | The textual identification of the contact person for this managed node, together with information on how to contact this person (see RFC-1213 for more details). | | ro-community | Community string used for Read-Only operations. | | rw-community | Community string used for Read-Write operations. | | system-location | The physical location of this node. For instance, it can be the address of the building and the floor number (see RFC-1213 for more details). | | system-name | An administratively-assigned name for this managed node. By convention, this is the node's fully-qualified domain name (see RFC-1213 for more details). | | authentication-trap | Enable this option to have a trap generated when authentication to the agent fails. Maps to the generic trap 4(1.3.6.1.6.3.1.1.5.5). | | link-trap | Enable this option to have a trap generated when link status changes. Maps to generic traps 2(1.3.6.1.6.3.1.1.5.3 linkDown) and 3(1.3.6.1.6.3.1.1.5.4 linkUp). | ## snmp show snmp show - Show snmp configuration **Description:** snmp show displays the SNMP configuration. **Syntax:** ``` snmp show ``` **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)