SMC Networks SMC6824M manual Show snmp view, Examples, This view includes MIB-2

Models: SMC6824M

1 608
Download 608 pages 58 Kb
Page 455
Image 455

COMMAND LINE INTERFACE

Examples

This view includes MIB-2.

Console(config)#snmp-server view mib-2 1.3.6.1.2.1 included Console(config)#

This view includes the MIB-2 interfaces table, ifDescr. The wild card is used to select all the index values in this table.

Console(config)#snmp-server view ifEntry.2 1.3.6.1.2.1.2.2.1.*.2 included

Console(config)#

This view includes the MIB-2 interfaces table, and the mask selects all index entries.

Console(config)#snmp-server view ifEntry.a 1.3.6.1.2.1.2.2.1.1.* included

Console(config)#

show snmp view

This command shows information on the SNMP views.

Command Mode

Privileged Exec

Example

Console#show snmp view

View Name: mib-2

Subtree OID: 1.2.2.3.6.2.1

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#

Table 4-43 show snmp view - display description

Field

Description

 

 

View Name

Name of an SNMP view.

 

 

Subtree OID

A branch in the MIB tree.

 

 

4-163

Page 455
Image 455
SMC Networks SMC6824M Show snmp view, Examples, This view includes MIB-2, This command shows information on the Snmp views