Blocking SNMP

Disable SNMP by using the SNMP block flag. By default, SNMP access is enabled.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Disable SNMP:

    boot config flags block-snmp

Example

Switch:1>enable

Switch:1#configure terminal

Disable SNMP:

Switch:1(config)#boot config flags block-snmp

Variable Definitions

The following table defines parameters for the boot config flags command.

Variable

Value

block-snmp

Configures the block SNMP flag as active. Use the no operator to remove this configuration. The default is off. To set this option to the default value, use the default operator with the command.