D-Link DXS-1210-12TC Reference Manual page 305

Dxs-1210 series l2 10 gigabit ethernet switch
Hide thumbs Also See for DXS-1210-12TC:
Table of Contents

Advertisement

38-15
This command is used to specify the recipient of the SNMP notification. Use the no form of this
command to remove the recipient.
snmp-server host {IP-ADDRESS | IPV6-ADDRESS} [version {1 | 2c | 3 {auth | noauth | priv}}]
COMMUNITY-STRING [port PORT-NUMBER]
no snmp-server host {IP-ADDRESS | IPV6-ADDRESS}
Parameters
IP-ADDRESS
IPV6-ADDRESS
version
auth
noauth
priv
COMMUNITY-STRING
PORT-NUMBER
Default
By default, the version used is 1.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
SNMP notifications are sent as trap packets. The user should create at least one recipient of a SNMP
notification by using the snmp-server host command in order for the Switch to send the SNMP
notifications. Specify the version of the notification packet for the created user. For SNMPv1 and
SNMPv2c, the notification will be sent in the trap protocol data unit (PDU). For SNMPv3, the
notification will be sent in the SNMPv2-TRAP-PDU with the SNMPv3 header.
When specifying to send the trap packets in SNMPv1 or SNMPv2c to a specific host, the specified
community string acts as the community string in the trap packets.
When specifying to send the trap packets in SNMPv3 to a specific host, whether to do authentication
and encryption in the sending of the packet should be specified. The specified community string acts
as the username in the SNMPv3 packet. The user must be created first using the snmp-server user
command or snmp-server user v3 command.
In the sending of the trap packet, the system will check the notification view associated with the
specified user (or community name). If the binding variables to be sent with the trap packet are not in
the notification view, the notification will not be sent to this host.
Example
DXS-1210 Series Smart Managed Switch CLI Reference Guide
snmp-server host
Specifies the IPv4 address of the SNMP notification host.
Specifies the IPv6 address of the SNMP notification host.
(Optional) Specifies the version of the SNMP used to send the traps. If
not specified, the default is SNMPv1
1 - SNMPv1.
2c - SNMPv2c.
3 - SNMPv3.
Specifies to authenticate the packet but not to encrypt it.
Specifies not to authenticate and to encrypt the packet.
Specifies to both authenticate and to encrypt the packet.
Specifies the community string to be sent with the notification packet. If
the version is 3, the community string is used as the username as
defined in the snmp-sever user command.
Specifies the UDP port number. The default trap UDP port number is
162. The range of UDP port numbers is from 0 to 65535. Some port
numbers may conflict with other protocols.
302

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-1210-12scDxs-1210-10tsDxs-1210-16tc

Table of Contents