snmp-v2-community
snmp-v2-communitycommunityno snmp-v2-communitycommunityAfter the
snmp-v2-community command is entered to enable the SNMP v2 Community configuration mode, the following
configuration syntax is available:
After the
notification command is entered in SNMP v2 Community configuration mode, the following additional
configuration syntax is available:
No SNMP communities are configured.
Global configuration mode
The
no form of the command deletes the SNMP community when entered in Configuration mode.
In SNMP v2 Community Configuration mode, the
no form is available for the
notification,
notification-target,
read, and
write keywords and applicable variables.
The following example shows how to create an SNMP community named comm3 and configure
related parameters. The
notification syntax in this example is supported on the SmartZone 100 and vSZ-E controllers only.
device# config device(config)# snmp-v2-community comm3 device(config-snmp-v2-community)# read device(config-snmp-v2-community)# notification device(config-snmp-v2-community)# notification-target 10.10.1.2 port device(config-snmp-v2-community)# notification-type inform
The following example shows how to disable the read privileges from the SNMP community named comm3.
device# config device(config)# snmp-v2-community comm3 device(config-snmp-v2-community)# no read