Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Adding an SNMP community string

The snmp-server community command sets the community string and associates it with the user-defined group to restrict the access of MIBs for SNMPv1 and SNMPv2c requests. You execute this command in global configuration mode.

  1. Enter the configure command.
    switch# configure
  2. Enter the snmp-server community command.
    switch(config)# snmp-server community comm1 groupname accGroup1

    When creating a new community string without specifying a group name, there is no group name associated with the community string. You must associate the community string with any nonexisting or existing group name to be able to contact the switch using SNMPv1/v2c.

    The following example also applies an IPv4 ACL and an IPv6 ACL.
    switch(config)# snmp-server community comm1 groupname accGroup1 ipv4-acl standV4ACL1 ipv6-acl standV6ACL1
    For the entire flow of implementing SNMP ACLs, refer to Implementation flow of ACLs under SNMP .
The Brocade VDX 2740 and Brocade VDX 2746 support only the default group names (admin and user).