August 2005
Intermediate to advanced
798 pages
31h 12m
English
snmp-server host — global
snmp-server hosthostname[version {1 | 2c}]community[udp-portport]trap-typeno snmp-server hosthostname
SNMP agent; trap behavior
Disabled
This command defines which host should receive SNMP traps.
hostname
The hostname or IP address of the host that should receive traps.
version
n
The version of SNMP to use (1 or 2c).
community
The SNMP community string to use when sending traps to this host.
udp-port
port
The UDP port to use. Default is 162.
trap-type
Optional. Specifies which types of traps are sent to this host. If no trap type is specified, all traps are sent to this host. Possible values are listed in Table 17-22, under the command snmp-server enable traps.
snmp-server enable traps snmp-server host myhost.xyz.com public