Simple Network Management Protocol

3-53

3

CLI – Use the snmp-server view command to configure a new view. This example

view includes the MIB-2 interfaces table, and the wildcard mask selects all index

entries.

Console(config)#snmp-server view ifEntry.a
1.3.6.1.2.1.2.2.1.1.* included 4-69
Console(config)#exit
Console#show snmp view 4-71
View Name: ifEntry.a
Subtree OID: 1.3.6.1.2.1.2.2.1.1.*
View Type: included
Storage Type: nonvolatile
Row Status: active
View Name: readaccess
Subtree OID: 1.3.6.1.2
View Type: included
Storage Type: nonvolatile
Row Status: active
View Name: defaultview
Subtree OID: 1
View Type: included
Storage Type: nonvolatile
Row Status: active
Console#