H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7
Command Reference
Set Setup SNMP
59272-00 C 229
Set Setup SNMP
Configures SNMP on the Switch Module.
Authority Admin session
Syntax set setup snmp
common
trap [trap_number]
Keywords common
Prompts you in a line-by-line fashion to change SNMP configuration parameters
that are common for all traps. For each parameter, enter a new value or press the
Enter key to accept the current value. To configure common parameters and trap
parameters, omit the Common keyword. Refer to Table 26 for a description of the
SNMP trap settings. Table 25 describes the common SNMP configuration
parameters.
Table 25. SNMP Common Configuration Settings
Entry Description
SNMPEnabled Enables (True) or disables (False) SNMP on the Switch Mod-
ule. The default is True.
Contact Specifies the name of the person to be contacted to respond to
trap events. The name can be up to 64 characters excluding #,
semicolon (;), and comma (,). The default is undefined. This
value is also passed to the Call Home service configuration
Location Specifies the name of the Switch Module location. The name
can be up to 64 characters excluding #, semicolon (;), and
comma (,). The default is undefined. This value is also passed
to the Call Home service configuration
ReadCommunity Read community password that authorizes an SNMP agent to
read information from the Switch Module. This is a write-only
field. The value on the Switch Module and the SNMP manage-
ment server must be the same. The read community password
can be up to 32 characters excluding #, semicolon (;), and
comma (,). The default is “public”.
WriteCommunity Write community password that authorizes an SNMP agent to
write information to the Switch Module. This is a write-only
field. The value on the Switch Module and the SNMP manage-
ment server must be the same. The write community password
can be up to 32 characters excluding #, semicolon (;), and
comma (,). The default is “private”.










