SNMP Commands
Page 173
Parameters
•
ip-address
—Specifies the IP address of the host (targeted recipient).
•
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: 1-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.
If a trap and inform are defined on the same target, and an inform was sent, the trap is not sent.
Example
The following example enables SNMP traps for host 10.1.1.1 with community string "management" using
SNMPv2.
snmp-server v3-host
The
snmp-server v3-host
Global Configuration mode command specifies the recipient of Simple Network
Management Protocol Version 3 notifications. To remove the specified host, use the
no
form of this command.
Syntax
snmp-server v3-host {ip-address | hostname} username [traps | informs] {noauth | auth | priv} [udp-port port]
[filter filtername] [timeout seconds] [retries retries]
no snmp-server host {ip-address | hostname} username [traps | informs]
Console(config)#
snmp-server host
10.1.1.1 management 2
Содержание AT-8000S Series
Страница 1: ...Layer 2 Ethernet Switch Allied Telesyn AT 8000S CLI Reference Guide...
Страница 2: ...Allied Telesyn AT 8000S CLI Reference Guide...
Страница 15: ...Preface Contacting Allied Telesyn Page 13 Page 13...
Страница 23: ...Using the CLI Editing Features Page 21...
Страница 61: ...Clock Commands Page 59...
Страница 69: ...Configuration and Image File Commands Page 67...
Страница 95: ...GVRP Commands Page 93...
Страница 102: ...Page 100 Allied Telesyn AT 8000S Switch CLI Reference Guide Vlan IP Address Ports 1 224 239 130 2 2 3 1 e19...
Страница 103: ...IGMP Snooping Commands Page 101...
Страница 107: ...IP Addressing Commands Page 105 IP address Interface Type 10 7 1 192 24 VLAN 1 Static...
Страница 119: ...Management ACL Commands Page 117...
Страница 123: ...PHY Diagnostics Commands Page 121...
Страница 127: ...Port Channel Commands Page 125...
Страница 131: ...Port Monitor Commands Page 129...
Страница 147: ...QoS Commands Page 145...
Страница 153: ...Radius Commands Page 151...
Страница 211: ...Spanning Tree Commands Page 209...
Страница 221: ...SSH Commands Page 219...
Страница 233: ...Syslog Commands Page 231...
Страница 245: ...System Management Commands Page 243...
Страница 257: ...User Interface Commands Page 255...
Страница 283: ...Web Server Commands Page 281...
Страница 299: ...802 1x Commands Page 297...