Command Line Interface
4-98
4
Command Usage Command Usage
• Views are used in the
snmp-server group
command to restrict user access
to specified portions of the MIB tree.
• The predefined view “defaultview” includes access to the entire MIB tree.
Examples
This view includes MIB-2.
This view includes the MIB-2 interfaces table, ifDescr. The wild card is used to select
all the index values in this table.
This view includes the MIB-2 interfaces table, and the mask selects all index entries.
show snmp view
This command shows information on the SNMP views.
Command Mode
Privileged Exec
Example
Console(config)#snmp-server view mib-2 1.3.6.1.2.1 included
Console(config)#
Console(config)#snmp-server view ifEntry.2 1.3.6.1.2.1.2.2.1.*.2 included
Console(config)#
Console(config)#snmp-server view ifEntry.a 1.3.6.1.2.1.2.2.1.1.* included
Console(config)#
Console#show snmp view
View Name: mib-2
Subtree OID: 1.2.2.3.6.2.1
View Type: included
Storage Type: permanent
Row Status: active
View Name: defaultview
Subtree OID: 1
View Type: included
Storage Type: volatile
Row Status: active
Console#
Table 4-23 show snmp view
- display description
Field
Description
View Name
Name of an SNMP view.
Subtree OID
A branch in the MIB tree.
View Type
Indicates if the view is included or excluded.
Storage Type
The storage type for this entry.
Row Status
The row status of this entry.
Содержание 6152PL2 FICHE
Страница 2: ......
Страница 6: ...vi ...
Страница 8: ...viii ...
Страница 32: ...Tables xxxii ...
Страница 38: ...Figures xxxviii ...
Страница 56: ...Initial Configuration 2 10 2 ...
Страница 378: ...Configuring the Switch 3 322 3 ...
Страница 651: ...Address Table Commands 4 273 4 Example Console show mac address table aging time Aging time 100 sec Console ...
Страница 817: ......
Страница 818: ...SMC6128PL2 SMC6152PL2 149100000007A R01 ...