DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
547
55-12 show snmp community
This command is used to display information about the configured characteristics of SNMP community.
show snmp community
Default
No host entry exists.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12
Usage Guideline
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-TRAP-
PDU 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)#
Parameters
None.
Default
None.
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...