D-Link DXS-3600-EM-8T CLI Guide - Page 555
show snmp community
View all D-Link DXS-3600-EM-8T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 555 highlights
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide Default Command Mode Command Default Level Usage Guideline No host entry exists. Global Configuration Mode. Level: 12 SNMP notifications are sent as trap packets. If you do not enter an snmp-server host command, no notifications are sent. In order to configure the switch to send SNMP notifications, you must create at least one recipient of a SNMP notification by snmp-server host command. To create an SNMP host where the notification will be sent to, the user can specify the version of notification packet. For the V1/V2, the notification will be sent in trap protocol data unit (PDU). For V3, the notification will be sent in the SNMPv2-TRAPPDU with the SNMPv3 header. If the user specifies to send the notification in V3 format, the user can further specify whether do authentication and encryption for the packet. The system will use the community string specified for this command as the user name and look up in the user table to get the password for the authentication and encryption. For both V1/V2 and V3, the system will find out the notification view for the group associated with this SNMP host. If the binding variables associated with this notification are out of this notification view, then this notification will not send to this host. Even more if the IP access list associated with does not include the IP address of the host, this notification won't be sent out, either. For V3 host, the argument of COMMUNITY-STRING refers to a user created by the snmp-server user command. For V1/V2 host, the community string can either refer to a user created by the snmp-server user command or a community string entry created by the snmp-server community command. To create a SNMP host, the community string (or user) must be created first. An error message will appear to indicate this situation. If the host version is different from the group version defined for this host (via access control list option in snmp-server group command), it will not work because the version is not matched. If user creates the community, the system will create V1/V2 group implicitly. Example This example shows how to set up the trap recipient as 163.10.50.126 by using SNMP version 1 with community string public. DXS-3600-32S#configure terminal DXS-3600-32S(config)#snmp-server host 163.10.50.126 version 1 public DXS-3600-32S(config)# Example This example shows how to remove the trap recipient 163.10.50.126. DXS-3600-32S#configure terminal DXS-3600-32S(config)#no snmp-server host 163.10.50.126 DXS-3600-32S(config)# 55-12 show snmp community This command is used to display information about the configured characteristics of SNMP community. show snmp community Parameters Default None. None. 547