SNMP Commands
snmp-server host
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
Syntax
ipv4address
snmp-server host {
{1 | 2c | 3} [noauth | auth | priv]]
timeout-value
] [retries
no snmp-server host {
Parameters
ipv4address
•
—IPv4 address of the host (the targeted recipient). The default
is all IP addresses.
hostname
•
—Hostname of the host (the targeted recipient).
ipv6address
•
—IPv6 address of the host (the targeted recipient). The default
is all IP addresses.
•
traps—(Optional) Sends SNMP traps to the host. This is the default setting.
•
informs—(Optional) Sends SNMP informs to the host.
•
version {1 | 2c | 3}—(Optional) Specifies the SNMP version.
-
1—SNMPv1 traps are used.
-
2c—SNMPv2 traps or informs are used.
-
3—SNMP version 3 is used.
•
noauth—(Optional) Specifies that no packet authentication will be
performed. Applicable only to the SNMP version 3 security model.
•
auth—(Optional) Specifies that packet authentication without encryption
will be performed. Applicable only to the SNMP version 3 security model.
•
priv—(Optional) Specifies that packet authentication with encryption will be
performed. Applicable only to the SNMP version 3 security model. Note that
creation of SNMPv3 users with both authentication and privacy must be
done in the GUI. All other users may be created in the CLI.
community-string
•
operation. For SNMP v1 and v2, any community string can be entered here.
(Range: 1 to 20 characters)
port-number
•
udp-port
timeout-value
•
timeout
retry-time
•
retries
hostname
|
community-string
retry-time
]
ipv4address
hostname
|
—The SNMP community sent with the notification
—(Optional) Specifies the UDP port number.
—(Optional) Specifies the SNMP inform timeout.
—(Optional) Specifies the number of SNMP inform retries.
ipv6address
|
} [traps | informs] [version
port-number
[udp-port
ipv6address
|
}
32
] [timeout
444