5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
91
snmp-server host host-addr community-string [informs [timeout seconds] [retries retries] version
{1 | 2c}] [udp-port port] [filter filter-name]
no snmp-server host host-addr {traps | informs} version {1 | 2c}
Parameters
host-addr
Indicates the IPv4 or IPv6 address of the host to which the trap or inform
notification is sent.
community-string
Indicates the community string that is sent as part of the notification. The
allowable range of characters is 1 to 20 characters.
version 1
Indicates that SNMPv1 traps will be sent. This option is unavailable in
the event that informs is selected.
version 2c
Indicates that SNMPv2c traps will be sent. This option is unavailable in
the event that informs is selected. By default, this option is selected.
traps
Indicates that SNMP traps will be sent to the host. By default, this option
is selected.
informs
(Optional) Indicates that SNMPv2 inform notifications will be sent to the
host.
timeout seconds
(Optional) Indicates the number of seconds that the system will wait for
an acknowledgment before the inform notification is resent. The default
value for this option is 15 seconds. The allowable range of time is 1 to
300 seconds.
retries retries
(Optional) Indicates the number of times that an inform notification will
be resent. The default value for this option is 3 attempts. The allowed
range of retries is 0 to 255 retries.
udp-port port
(Optional) Indicates the SNMP trap receiver port. Port 162 is set for this
purpose by default.
filter filter-name
(Optional) Indicates t
he filter name that is to be associated with the host
in question. Filters can be utilized to specify which traps will be sent to
the host. The allowed range of characters is 1 to 30 characters.
Default
The default is as follows: hosts are not configured.
Command Mode
Global Config
4-104 snmp-server port
This command is used to configure the UDP port number upon which requests are listened for by the
SNMP server.
The
no
command is used to restore the specified SNMP server listen port to its factory default value.
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...