snmp

Prev Next

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 <string>} |
        {ro-community <string>} |
        {rw-community <string> } |
        {system-location <string>} |
        {system-name <string>} |
        {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. Map 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

© 2025 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks