
SNMP Commands
345
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
— Specifies the name of the host. (Range:1 - 158 characters)
•
community-string
— Specifies a password-like community string sent with the notification
operation. (Range: 1 - 20)
•
traps
— Indicates that SNMP traps are sent to this host. If unspecified, SNMPv2 traps are sent to
the host.
•
informs
— Indicates that SNMP informs are sent to this host. Not applicable to SNMPv1.
•
1
— Indicates that SNMPv1 traps will be used.
•
2
— Indicates that SNMPv2 traps will be used. If
•
port
— Specifies the UDP port of the host to use. If unspecified, the default UDP port number is
162. (Range: 1 - 65535)
•
filtername
— Specifies a string that defines the filter for this host. If unspecified, nothing is
filtered. (Range: 1 - 30 characters)
•
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)
•
retries
— Specifies the maximum number of times to resend an inform request. If unspecified, the
default maximum number of retries is 3. (Range: 0 - 255)
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode.
User Guidelines
•
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.
book.book Page 345 Thursday, December 18, 2008 7:40 PM
Содержание PowerConnect 3500 Series
Страница 62: ...62 Command Groups book book Page 62 Thursday December 18 2008 7 40 PM ...
Страница 80: ...80 Command Modes book book Page 80 Thursday December 18 2008 7 40 PM ...
Страница 124: ...124 Address Table Commands book book Page 124 Thursday December 18 2008 7 40 PM ...
Страница 162: ...162 DHCP Snooping book book Page 162 Thursday December 18 2008 7 40 PM ...
Страница 244: ...244 Line Commands book book Page 244 Thursday December 18 2008 7 40 PM ...
Страница 266: ...266 LLDP Commands book book Page 266 Thursday December 18 2008 7 40 PM ...
Страница 276: ...276 Login Banner book book Page 276 Thursday December 18 2008 7 40 PM ...
Страница 280: ...280 PHY Diagnostics Commands book book Page 280 Thursday December 18 2008 7 40 PM ...
Страница 290: ...290 Power over Ethernet Commands book book Page 290 Thursday December 18 2008 7 40 PM ...
Страница 294: ...294 Port Channel Commands book book Page 294 Thursday December 18 2008 7 40 PM ...
Страница 298: ...298 Port Monitor Commands book book Page 298 Thursday December 18 2008 7 40 PM ...
Страница 310: ...310 QoS Commands book book Page 310 Thursday December 18 2008 7 40 PM ...
Страница 318: ...318 RADIUS Commands book book Page 318 Thursday December 18 2008 7 40 PM ...
Страница 414: ...414 Syslog Commands book book Page 414 Thursday December 18 2008 7 40 PM ...
Страница 440: ...440 TACACS Commands book book Page 440 Thursday December 18 2008 7 40 PM ...
Страница 452: ...452 TIC Commands book book Page 452 Thursday December 18 2008 7 40 PM ...
Страница 460: ...460 Tunnel book book Page 460 Thursday December 18 2008 7 40 PM ...
Страница 492: ...492 VLAN Commands book book Page 492 Thursday December 18 2008 7 40 PM ...
Страница 500: ...500 Voice VLAN book book Page 500 Thursday December 18 2008 7 40 PM ...
Страница 514: ...514 Web Server book book Page 514 Thursday December 18 2008 7 40 PM ...