Snmp-server community, Snmp-server contact – Enterasys Networks X-Pedition XSR CLI User Manual
Page 32
snmp-server Commands
1-18 Network Management
snmp-server community
This command allows a community string to access MIBs in the XSR.
Syntax
snmp-server community community-string [view view-name][ro | rw] [access-list-
num]
Syntax of the “no” Form
The no form of this command removes a community string from both read‐only and read‐write
community tables:
no snmp-server community
community-string
Defaults
•
ro
•
v1default
Mode
Global configuration:
XSR(config)#
Example
The following example creates MyCommunity for read‐write access and applies ACL #57:
XSR#snmp-server community MyCommunity rw 57
snmp-server contact
This command specifies contact information regarding the SNMP server.
Syntax
snmp-server contact contact-name
community-string
Community string with SNMP v1/v2c access.
view-name
Name of the view defining which MIBs are accessible.
ro
Read‐only permission.
rw
Read‐write permission.
access-list-num
Standard access‐list number ranging from 1 to 99.
Notes: You can configure up to 20 read-only and read-write community strings.
Community-based write access is available for the ct-download MIB only. For write access to other
MIBs, use SNMPv3.
contact-name
String of up to 255 characters. Values with spaces require quotations.