snmp-server

Enable SNMP access.
Syntax
snmp-server
no snmp-server
Command Default

SNMP is enabled by default.

Modes

Global configuration mode

Usage Guidelines

The no form of the command removes the SNMP access.

Examples

To disable SNMP, enter the no snmp-server command in global configuration mode.

device(config)# no snmp-server
device(config)# show snmp server
Status: Disabled
Contact:
Location:

To re-enable SNMP, enter the snmp-server command in global configuration mode.

device(config)# snmp-server
device(config)# show snmp server
Status: Enabled
Contact:
Location: