
HP PC Blade Switch CLI Reference Guide
www.hp.com
21-11
SNMP Commands
snmp-server host
The
snmp-server host
Global Configuration mode command specifies the recipient of Simple
Network Management Protocol Version 1 or Version 2 notifications. To remove the specified
host, use the
no
form of this command.
Syntax
snmp-server host
{
ip-address
|
hostname
}
community-string
[
traps
|
informs
] [
1
|
2
]
[
udp-port
port
]
[
filter
filtername
] [
timeout
seconds
] [
retries
retries
]
no snmp-server host
{
ip-address
|
hostname
} [
traps
|
informs
]
Parameters
n
ip-address
— Specifies the IP address of the host (targeted recipient).
n
hostname
— Specifies the name of the host. (Range:1-158 characters)
n
community-string
— Specifies a password-like community string sent with the notification
operation. (Range: 1-20)
n
traps
— Indicates that SNMP traps are sent to this host. If unspecified, SNMPv2 traps are
sent to the host.
n
informs
— Indicates that SNMP informs are sent to this host. Not applicable to SNMPv1.
n
1
— Indicates that SNMPv1 traps will be used.
n
2
— Indicates that SNMPv2 traps will be used.
n
port
— Specifies the UDP port of the host to use. If unspecified, the default UDP port
number is 162. (Range: 1-65535)
n
filtername
— Specifies a string that defines the filter for this host. If unspecified, nothing is
filtered. (Range: 1-30 characters)
n
seconds
— Specifies the number of seconds to wait for an acknowledgment before resending
informs. If unspecified, the default timeout period is 15 seconds. (Range: 1-300)
n
retries
— Specifies the maximum number of times to resend an inform request. If
unspecified, the default maximum number of retries is 3. (Range: 1-255)
Default Setting
This command has no default configuration.
Command Mode
Global Configuration mode
Command Usage
When configuring an SNMPv1 or SNMPv2 notification recipient, a notification view for that
recipient is automatically generated for all the MIB.
When configuring an SNMPv1 notification recipient, the
Informs
option cannot be selected.
If a trap and inform are defined on the same target, and an inform was sent, the trap is not sent.
Summary of Contents for BladeSystem bc2000 - Blade PC
Page 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Page 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Page 142: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Page 152: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Page 162: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Page 178: ...1 1 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Page 194: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Page 202: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Page 208: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Page 216: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Page 272: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Page 362: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...