D-Link DGS-6600-48T Cli Reference Manual page 843

Modular layer 3 chassis ethernet managed switch
Hide thumbs Also See for DGS-6600-48T:
Table of Contents

Advertisement

DGS-6604
m
Example
Switch(config)# snmp-server user authuser authgroup v3 auth md5 1234
Switch(config)# snmp-server host 163.10.50.126 version 3 auth authuser
Switch(config)# snmp-server host fe80::64:84:154 version 2c public vlan1
CLI Reference Guide
will be sent in trap protocol data unit (PDU). For V3 SNMP, 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 to perform authentication and encryption of the packet. The
switch 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 SNMP, the switch 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 the host.
For V3 SNMP host, the argument of WORD refers to a user created by the
"snmp-server user" command. For V1/V2 SNMP host, the community string can
only be created by the "snmp-server community" command. If the host version
is not specified, the default value (SNMP v1) will be adopted and the WORD
option must be a community string. There will be an error message displayed if
user inputs a user name as WORD option. To create an SNMP host, the
community string (for user) must be created first. An error message will be
generated to indicate if it is not created.
If the host version is diffrent from the group version defined for the host (from the
access control list option in the command "snmp-server group"), it will fail
because the bersion is not matched. If the community is created, the system will
create V1/V2 group implicitly.
This example shows how to set up the trap recipient as 163.10.50.126 by using
version 3 with security level: auth (MD5 and/or SHA packet authentication) and
the SNMPv3 user: authuser.
This example shows how to set up the trap recipient for IPv6 link-local address
as fe80::64:84:154 by using version 2 with security level. The community string:
public and this link-local address will be specifies output the vlan-interface: vlan1.
You can verify your settings by entering the show snmp host command.
snmp-server host
833

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dgs-6604Dgs-6600 series

Table of Contents