D-Link DXS-3600 Series Cli Reference Manual page 1225

Layer 2/3 managed 10gigabit
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
Command Default Level
Level: 12.
Usage Guideline
An SNMP group defines a user group by specifying the allowed security model, the read-view, the write-
view, and the notification view. The security model defines that the group user is allowed to use the
specified version of SNMP to access the SNMP agent,
The same group name can be created with security models SNMPv1, SNMPv2c, and SNMPv3 at the
same time. For SNMPv3, it can be created for SNMPv3 auth and SNMPv3 priv at the same time.
To update the view profile for a group for a specific security mode, delete and create the group with the
new view profile.
The read-view defines the MIB objects that the group user is allowed to read. If read-view is not specified,
then Internet OID space 1.3.6.1 can be read.
The write-view defines the MIB objects that the group user is allowed to write. If write-view is not specified,
then no MIB objects can be written.
The notification view defines the MIB objects that the system can report its status in the notification
packets to the trap managers that are identified by the specified group user (act as community string). If
notify-view is not specified, then no MIB objects can be reported.
Example
This example shows how to create the SNMP server group "guestgroup" for SNMPv3 access and
SNMPv2c.
Switch# configure terminal
Switch(config)# snmp-server view interfacesMibView 1.3.6.1.2.1.2 included
Switch(config)# snmp-server group guestgroup v3 auth read interfacesMibView
Switch(config)# snmp-server group guestgroup v2c read CommunityView write
CommunityView
Switch(config)#
101-6
snmp-server host
This command is used to specify the recipient of the SNMP notification. Use the no command to remove
the recipient.
snmp-server host {IP-ADDRESS | IPV6-ADDRESS} [vrf VRF-NAME] [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
VRF-NAME
version
Specifies the IPv4 address of the SNMP notification host.
Specifies the IPv6 address of the SNMP notification host.
Specifies the name of the routing forwarding instance.
(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.
1220

Advertisement

Table of Contents
loading

Table of Contents