Add an SNMPv1 and SNMPv2 community

You can add an SNMPv1 and SNMPv2 community, which allows both SNMPv1 and SNMPv2 access.

To add an SNMPv1 and SNMPv2 community:

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select System > SNMP > SNMP V1/V2 > Community Configuration.

    The Community Configuration page displays.

  3. In the Community Name field, enter a name for a new community.

    The name can be up to 16 characters.

  4. Specify the client IP address and client IP mask:
    • Client Address: Enter the IPv4 or IPv6 address of the client.

    • Client IPv4 Mask/IPv6 Prefix Length: Enter the IPv4 mask of an IPv4 client or the IPv6 prefix length of an IPv6 client.

    The client IP address and client IP mask or prefix length together denote a range of IP addresses from which SNMP clients can use the community to access the switch.

    For IPv4 clients, if either the client IP address or client IP mask is 0.0.0.0, access is allowed from any IP address. Otherwise, every client’s IP address is ANDed with the mask, as is the client IP address. If the values are equal, access is allowed.

    For example, if the client IPv4 address and client IP mask are 192.168.1.0/255.255.255.0, any IPv4 client with an IP address in the range from 192.168.1.0 to 192.168.1.255 (inclusive) is allowed access. To allow access from only one IPv4 station, use a management station IP mask value of 255.255.255.255, and use that computer’s IP address as the client address.

  5. From the Access Mode menu, select the access level for this community, which is either Read-Write or Read-Only.
  6. Click the Add button.

    The community is added.

  7. To save the settings to the running configuration, click the Save icon.