disable snmp community

disable snmp community [encrypted enc_community_name | community_name |alphanumeric-community-string | hex hex_community_name]

Description

Disables SNMP community strings on the switch.

Syntax Description

encrypted Community name is encrypted.
enc_community_name Encrypted community name.
community_name Community name in ASCII format.
hex Provide value in hexadecimal.
hex_community_name Community name in hexadecimal.
alphanumeric-community-string Specifies the SNMP community string name.

Default

N/A.

Usage Guidelines

This command allows the administrator to disable an snmp community. It sets the row status of the community to NotInService. When disabled, SNMP access to the switch using the designated community is not allowed.

Example

The following command disables the community string named extreme:

disable snmp community hex 61:01

History

This command was first available in ExtremeXOS 12.1.

The hex keyword and hex_community_name variable were added in ExtremeXOS 15.6.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.