Configuration Commands : snmp-server

snmp-server
Description
Use the snmp-server command to configure SNMP server options.
Syntax
snmp-server community <community name> [ro]
no snmp-server community
snmp-server contact <name of contact>
no snmp-server contact
snmp-server enable
no snmp-server enable
snmp-server enable traps
no snmp-server enable traps
snmp-server encrypt {md5 | sha} {plaintext <password> | prompt}
snmp-server host <IP address> [disable]
no snmp-server host <IP address> [disable]
snmp-server host <IP address> traps [version <traps version>] <community string>
snmp-server listen enable
no snmp-server listen enable
snmp-server listen interface <interface>
no snmp-server listen interface <interface>
snmp-server location <location of system>
no snmp-server location
snmp-server traps event raise-alarm
no snmp-server traps event raise-alarm
Arguments
community <community name> [ro]
Use the no form of this command to reset the community string to its default.
contact <name of contact>
Sets a value for the syscontact variable in MIB-II.
Use the no form of this command to clear the contents of the syscontact variable.
Use the no form of this command to disable the SNMP server.
Use the no form of this command to disable sending of SNMP traps from this system.
encrypt {md5 | sha}
md5 Message-Digest algorithm 5 (a hash function with a
128-bit hash value)
sha Secure Hash Algorithm, SHA-1
host <IP address>
Use the no form of this command to stop sending SNMP traps to a specified host.
host <IP address> disable
Use the no form of this command to reenable sending of SNMP traps to a specified host.
host <IP address> traps <community string>
host <IP address> traps version {1 | 2c} <community string>
1 is SNMPv1
2c is SNMPv2c
Use the no form of this command to disable SNMP interface restriction access to this system.
Use the no form of this command to remove an interface to the SNMP server access restriction list.
location <location of system>
Use the no form of this command to clear the contents of the syslocation variable.
plaintext <password>
Use the no form of this command to negate this setting.
Defaults
None.
Command Mode
Global Configuration Mode
See Also
See the following related commands:
n
n
Usage Guidelines
You need an SNMP manager application such as HP OpenViewTM to browse the MIB II data and receive traps. There are many shareware and freeware SNMP manager applications available from the internet.
Examples
None.

Please send comments or suggestions regarding user documentation to techpubs@silver-peak.com.