C
OMMAND
L
INE
I
NTERFACE
4-150
snmp-server view
This command adds an SNMP view which controls user access to the MIB.
Use the
no
form to remove an SNMP view.
Syntax
snmp-server view
view-name oid-tree
{
included
|
excluded
}
no snmp-server view
view-name
• view-name -
Name of an SNMP view. (Range: 1-64 characters)
•
oid-tree
- Object identifier of a branch within the MIB tree. Wild cards
can be used to mask a specific portion of the OID string. (Refer to the
examples.)
•
included
- Defines an included view.
•
excluded
- Defines an excluded view.
Default Setting
defaultview (includes access to the entire MIB tree)
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.
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)#
Содержание 8724ML3 - annexe 1
Страница 2: ......
Страница 26: ...TABLE OF CONTENTS xxvi ...
Страница 64: ...MANAGING SYSTEM FILES 2 18 ...
Страница 366: ...CONFIGURING THE SWITCH 3 302 Web Click Routing Protocol RIP Statistics Figure 3 132 RIP Statistics ...
Страница 400: ...CONFIGURING THE SWITCH 3 336 ...
Страница 798: ...SOFTWARE SPECIFICATIONS A 6 ...
Страница 802: ...TROUBLESHOOTING B 4 ...
Страница 812: ...GLOSSARY Glossary 10 ...
Страница 818: ...INDEX Index 6 ...
Страница 819: ......