SNMP Commands
333
Syntax
•
snmp-server host
{
ip4-address
|
ip6-address
|
hostname
}
community-string
[
traps
|
informs
] [
1
|
2
]
[
udp-port
port
] [
filter
filtername
] [
timeout
seconds
] [
retries
retries
]
•
no snmp-server host
{
ip4-address
|
ip6-address
|
hostname
} [
traps
|
informs
]
•
ip4-address
— The host IPv4 address (the targeted recipient).
•
ip6-address
— The host IPv6 address (the targeted recipient). When the IPv6 address is a Link
Local address (IPv6Z address), the outgoing interface name must be specified. Refer to the usage
guidelines for the interface name syntax.
•
hostname
— Hostname of the host. (Range: 1 - 158 characters)
•
community-string
— Password-like community string sent with the notification operation. (Range:
1 - 20 characters)
•
traps
— Sends SNMP traps to this host (Default).
•
informs
— Sends SNMP informs to this host. Not applicable to SNMPv1.
•
1
— SNMPv1 traps will be used.
•
2
— SNMPv2 traps will be used (Default).
•
udp-port
port
— UDP port of the host to use. The default is 162. (Range: 1 - 65535)
•
filter
filtername
— A string that is the name of the filter that define the filter for this host. If
unspecified, does not filter anything. (Range: Up to 30 characters).
•
timeout
seconds
— Number of seconds to wait for an acknowledgment before resending informs.
The default is 15 seconds. (Range: 1 - 300)
•
retries
retries
— Maximum number of times to resend an inform request, when response is not
received for generated message. The default is 3. (Range: 0 - 255)
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode.
User Guidelines
•
The command logical key is the pair (ip-address/hostname, traps/informs).
•
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
Inform
option cannot be selected.
5400_CLI.book Page 333 Wednesday, December 17, 2008 4:33 PM
Содержание PowerConnect 5424
Страница 114: ...114 Address Table Commands 5400_CLI book Page 114 Wednesday December 17 2008 4 33 PM ...
Страница 178: ...178 Ethernet Configuration Commands 5400_CLI book Page 178 Wednesday December 17 2008 4 33 PM ...
Страница 194: ...194 GVRP Commands 5400_CLI book Page 194 Wednesday December 17 2008 4 33 PM ...
Страница 204: ...204 IGMP Snooping Commands 5400_CLI book Page 204 Wednesday December 17 2008 4 33 PM ...
Страница 252: ...252 Line Commands 5400_CLI book Page 252 Wednesday December 17 2008 4 33 PM ...
Страница 268: ...268 LLDP Commands 5400_CLI book Page 268 Wednesday December 17 2008 4 33 PM ...
Страница 280: ...280 PHY Diagnostics Commands 5400_CLI book Page 280 Wednesday December 17 2008 4 33 PM ...
Страница 288: ...288 Port Monitor Commands 5400_CLI book Page 288 Wednesday December 17 2008 4 33 PM ...
Страница 300: ...300 QoS Commands 5400_CLI book Page 300 Wednesday December 17 2008 4 33 PM ...
Страница 308: ...308 Radius Commands 5400_CLI book Page 308 Wednesday December 17 2008 4 33 PM ...
Страница 326: ...326 RMON Commands 5400_CLI book Page 326 Wednesday December 17 2008 4 33 PM ...
Страница 386: ...386 SSH Commands 5400_CLI book Page 386 Wednesday December 17 2008 4 33 PM ...
Страница 400: ...400 Syslog Commands 5400_CLI book Page 400 Wednesday December 17 2008 4 33 PM ...
Страница 418: ...418 System Management 5400_CLI book Page 418 Wednesday December 17 2008 4 33 PM ...
Страница 432: ...432 TIC Commands 5400_CLI book Page 432 Wednesday December 17 2008 4 33 PM ...
Страница 440: ...440 Tunnel 5400_CLI book Page 440 Wednesday December 17 2008 4 33 PM ...
Страница 476: ...476 Voice VLAN 5400_CLI book Page 476 Wednesday December 17 2008 4 33 PM ...
Страница 490: ...490 Web Server 5400_CLI book Page 490 Wednesday December 17 2008 4 33 PM ...