beautypg.com

Snmp community strings, Adding an snmp community string – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 106

background image

74

Network OS NETCONF Operations Guide

53-1003231-02

SNMP community strings

7

SNMP community strings

SNMP versions 1 and 2c use community strings to restrict access to the switch. There are six
default community strings: three read-write strings and three read-only strings. There is support for
a total of 256 SNMP communities, all user-configurable.

The following default community strings are read-write:

Secret C0de

OrigEquipMfr

private

The following default community strings are read-only:

public

common

ConvergedNetwork

Adding an SNMP community string

To add an SNMP community string, perform the following steps.

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-snmp namespace.

2. Under the node, specify the node element.

3. Under the node element, specify the leaf element, and set its

value to the community string to be added.

4. Optionally, under the node element, include the leaf element and set

its value to “rw” for read-write access, or to “ro” for read-only access.

The default value is “ro”.

The following example adds a community string named “private” to the SNMP configuration and
sets its access permission to read-write.

private

rw