You can create and maintain access lists to manage access to SNMP information. Access list configuration enables you to allow or deny SNMP access to clients of a specific routing instance.
The following example shows how to create an access list:
- [edit snmp]
- routing-instance-access {
-
- access-list {
- ri1 restrict;
- ls1/default;
- ls1/ri2;
- ls1*;
- }
- }
The configuration given in the example:
You can use the wildcard character (*) to represent a string in the routing instance name.
![]() |
Note: You cannot restrict the SNMP manager of the default routing instance from accessing SNMP information. |