Cisco ASR 14000 Series Management Command Reference page 664

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

snmp-server view
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Task ID
Task ID
snmp
Examples
The following example creates a view that includes all objects in the MIB-II subtree:
RP/0/RP0/CPU0:Router(config)# snmp-server view mib2 1.3.6.1.2.1 included
The following example shows how to create a view that includes all objects in the MIB-II system group
and all objects in the Cisco enterprise MIB:
RP/0/RP0/CPU0:Router(config)# snmp-server view view1 1.3.6.1.2.1.1 included
RP/0/RP0/CPU0:Router(config)# snmp-server view view1 1.3.6.1.4.1.9 included
The following example shows how to create a view that includes all objects in the MIB-II system group
except for sysServices (System 7) and all objects for interface 1 in the MIB-II interfaces group:
RP/0/RP0/CPU0:Router(config)# snmp-server view view1 1.3.6.1.2.1.1 included
RP/0/RP0/CPU0:Router(config)# snmp-server view view1 1.3.6.1.2.1.1.7 excluded
RP/0/RP0/CPU0:Router(config)# snmp-server view view1 1.3.6.1.2.1.2.2.1.*.1 included
Related Commands
Command
show snmp view
snmp-server group
Cisco ASR 14000 Series Router System Management Command Reference
SMR-662
Operations
read, write
Description
Displays information about the configured views.
Configures an SNMP user group.
SNMP Server Commands on Cisco IOS XR Software
OL-17231-01

Advertisement

Table of Contents
loading

Table of Contents