Defining SNMP Views
All MIB objects are automatically
excluded from any view unless they are explicitly included.
- Enter the global configuration mode.
- Add an SNMP view and configure
the access level using the included or excluded
keywords.
device(config)# snmp-server view Maynes system included device(config)# snmp-server view Maynes system.2 excluded device(config)# write memory
In the example, "Maynes system" is included in the SNMP view and "Maynes system.2" is excluded from the SNMP view. You can also exclude views that are within the scope of inclusion.