DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
582
Default
Community
View Name
Access right
private
CommunityView
Read/Write
public
CommunityView
Read Only
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
This command provides an easy way to create a community string for SNMPv1 and SNMPv2c
management. When creating a community with the
snmp-server community
command, two SNMP
group entries, one for SNMPv1 and one for SNMPv2c, which has the community name as their group
names are created. If the view is not specified, it is permitted to access all objects.
Example
This example shows how a MIB view “interfacesMibView” is created and a community string
“comaccess” which can do read write access the interfacesMibView view is created.
Switch# configure terminal
Switch(config)# snmp-server view interfacesMibView 1.3.6.1.2.1.2 included
Switch(config)# snmp-server community comaccess view interfacesMibView rw
Switch(config)#
63-17
snmp-server engineID local
This command is used to specify the SNMP engine ID on the local device. Use the
no
form of this
command to revert the SNMP engine ID to the default.
snmp-server engineID local ENGINEID-STRING
no snmp-server engineID local
Parameters
ENGINEID-STRING
Specifies the engine ID string of a maximum of 24 characters.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
An SNMP engine ID is not displayed or stored in the running configuration. The SNMP engine ID is a
unique string to identify the device. A string is generated by default. If you configure a string less than
24 characters, it will be filled with trailing zeros up to 24 characters.
Example
This example shows how to configure the SNMP engine ID to 332200000000000000000000.
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...