Supported Platforms
Adding a Group of Clients to an SNMP Community
Junos OS enables you to add one or more groups of clients to an SNMP community. You can include the client-list-name name statement at the [edit snmp community community-name] hierarchy level to add all the members of the client list or prefix list to an SNMP community.
To define a list of clients, include the client-list statement followed by the IP addresses of the clients at the [edit snmp] hierarchy level:
You can configure a prefix list at the [edit policy options] hierarchy level. Support for prefix lists in the SNMP community configuration enables you to use a single list to configure the SNMP and routing policies. For more information about the prefix-list statement, see the Routing Policy Feature Guide for Routing Devices.
To add a client list or prefix list to an SNMP community, include the client-list-name statement at the [edit snmp community community-name] hierarchy level:
![]() | Note: The client list and prefix list must not have the same name. |
The following example shows how to define a client list:
The following example shows how to add a client list to an SNMP community:
The following example shows how to add a prefix list to an SNMP community: