RMVCOMSNMP (Remove Community for SNMP)

RMVCOMSNMP Command syntax diagram

 

Purpose

The Remove Community for SNMP (RMVCOMSNMP) command is used to remove a Simple Network Management Protocol (SNMP) community profile from the SNMP agent community list. The community profile consists of a community name, an object access specification, and a list of the SNMP managers that are part of the community. The combination of the community name (COM) and the translate to ASCII community (ASCIICOM) parameters defines a community.

 

Required Parameters

COM
Specifies the name of the SNMP community being removed. The community must already exist in the SNMP agent community list.

community-name: Specify the name of the SNMP community being removed. The name may contain characters that cannot be displayed.

 

Optional Parameters

ASCIICOM
Specifies whether the community name is translated to ASCII characters before it is compared with the community name specified in a request from an SNMP manager. This parameter is used in combination with the community name to determine the community to be removed. If two communities have the same name and you don't specify the ASCIICOM parameter, the community with ASCIICOM set to *YES is removed.

*YES: The community name is translated to ASCII characters before it is compared with a community name specified by an SNMP manager.

*NO: The community name is not translated to ASCII characters before it is compared with a community name specified by an SNMP manager.

Example for RMVCOMSNMP

RMVCOMSNMP   COM(ROCHESTER)

This command removes community ROCHESTER from the SNMP agent community list.

Error messages for RMVCOMSNMP

*ESCAPE Messages

TCP4001
Error occurred accessing SNMP configuration information.
TCP4009
Community does not exist.
TCP8050
*IOSYSCFG authority required to use &1.