Specifications
snmp-server host
609
snmp-server host
Registers the network management switch (SNMP manager) to which traps are sent. This
command can configure a maximum of 4 entries.
Syntax
To set or change information:
snmp-server host <Manager address> traps <Community string> [version { 1
| 2c }] [snmp] [rmon] [air-fan] [login] [temperature] [storm-control]
[efmoam] [poe] [dot1x] [web-authentication] [mac-authentication]
[loop-detection] [switchport-backup] [cfm]
To delete information:
no snmp-server host <Manager address>
Input mode
(config)
Parameters
<Manager address>
Sets the IP address of the SNMP manager.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
Sets the IPv4 address (dot notation) for <Manager address>.
1.0.0.0 to 126.255.255.255, 128.0.0.0 to 223.255.255.255
<Community string>
For SNMPv1 and SNMPv2C, this parameter sets the name of the community for the
SNMP manager.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
Specify a character string that is no more than 60 characters. For details about
the characters that can be specified, see Specifiable values for parameters.
version { 1 | 2c }
Sets the version for sending traps for the manager with the IP address associated
with the community with the specified community name. If
1 is specified, SNMPv1
version traps are issued. If
2c is specified, SNMPv2C version traps are issued.
1. Default value when this parameter is omitted:
1
2. Range of values:
1 or 2c
[snmp] [rmon] [air-fan] [login] [temperature] [storm-control] [efmoam] [poe]
[dot1x] [web-authentication] [mac-authentication] [loop-detection]
[switchport-backup] [cfm]
By setting each parameter, you can select the traps to be sent. The following table
describes traps that will be sent when parameters are set.