Snmp-Server Host - Edge-Core ES3510MA-DC Management Manual

Layer 2 switch with 8 10/100base-tx rj-45 ports, and 2 gigabit combination ports rj-45/sfp
Table of Contents

Advertisement

| SNMP Commands
C
22
HAPTER

snmp-server host

snmp-server enable traps command. If you enter the command with
no keywords, both authentication and link-up-down notifications are
enabled. If you enter the command with a keyword, only the
notification type related to that keyword is enabled.
The snmp-server enable traps command is used in conjunction with
the
snmp-server host
to specify which host or hosts receive SNMP notifications. In order to
send notifications, you must configure at least one
command.
The authentication, link-up, and link-down traps are legacy
notifications, and therefore when used for SNMP Version 3 hosts, they
must be enabled in conjunction with the corresponding entries in the
Notify View assigned by the
E
XAMPLE
Console(config)#snmp-server enable traps link-up-down
Console(config)#
R
C
ELATED
OMMANDS
snmp-server host (574)
This command specifies the recipient of a Simple Network Management
Protocol notification operation. Use the no form to remove the specified
host.
S
YNTAX
snmp-server host host-addr [inform [retry retries |
timeout seconds]] community-string
[version {1 | 2c | 3 {auth | noauth | priv} [udp-port port]}
no snmp-server host host-addr
host-addr - Internet address of the host (the targeted recipient).
(Maximum host addresses: 5 trap destination IP address entries)
inform - Notifications are sent as inform messages. Note that this
option is only available for version 2c and 3 hosts. (Default: traps
are used)
retries - The maximum number of times to resend an inform
message if the recipient does not acknowledge receipt. (Range:
0-255; Default: 3)
seconds - The number of seconds to wait for an
acknowledgment before resending an inform message. (Range:
0-2147483647 centiseconds; Default: 1500 centiseconds)
community-string - Password-like community string sent with the
notification operation to SNMP V1 and V2c hosts. Although you can
set this string using the snmp-server host command by itself, we
recommend defining it with the
– 574 –
command. Use the
snmp-server host
snmp-server group
snmp-server community
command
snmp-server host
command.
command

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents