Chapter 7: Using the Command Line Interface
284
Setting the SNMP Read Community
This command syntax sets the SNMP read-only community string.
config:#
network services snmp readCommunity <string>
Variables:
<string> is a string comprising 4 to 64 ASCII printable characters.
The string CANNOT include spaces.
Example
This command syntax sets the SNMP read-only community string to
"public."
config:#
network services snmp readCommunity public
Setting the SNMP Write Community
This command syntax sets the SNMP read/write community string.
config:#
network services snmp writeCommunity <string>
Variables:
<string> is a string comprising 4 to 64 ASCII printable characters.
The string CANNOT include spaces.
Example
The following command sets the SNMP read/write community string to
"private."
config:#
network services snmp writeCommunity private
Setting the sysContact Value
This command syntax sets the SNMP sysContact MIB-II value.
config:#
network services snmp sysContact <value>
Variables:
<value> is a string comprising 0 to 255 alphanumeric characters.