C
OMMAND
L
INE
I
NTERFACE
4-136
Command Mode
Global Configuration
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
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)#
Summary of Contents for 6128L2
Page 2: ......
Page 21: ...CONTENTS xvii Glossary Index ...
Page 22: ...CONTENTS xviii ...
Page 26: ...TABLES xxii ...
Page 40: ...INTRODUCTION 1 10 ...
Page 54: ...INITIAL CONFIGURATION 2 14 ...
Page 193: ...PORT CONFIGURATION 3 139 Figure 3 61 Displaying Etherlike and RMON Statistics ...
Page 257: ...QUALITY OF SERVICE 3 203 Figure 3 90 Configuring Policy Maps ...
Page 313: ...COMMAND GROUPS 4 13 PE Privileged Exec VC VLAN Database Configuration ...
Page 592: ...TROUBLESHOOTING B 4 ...
Page 605: ......