Enterasys Networks X-Pedition XSR CLI User Manual
Page 45
snmp-server Commands
XSR CLI Reference Guide 1-31
Mode
Global configuration:
XSR(config)#
Examples
The following example creates a view of all objects on the XSR:
XSR(config)#snmp-server view v3view internet included
The following example creates a view of all objects in the MIB‐II subtree:
XSR(config)#snmp-server view mib2 mib-2 included
The following example creates a view for TCP:
XSR(config)#snmp-server view TCPview tcp included
The following example creates a view of all objects in the MIB‐II subtree excluding 1.3.6.1:
XSR(config)#snmp-server view MIBIIview 1.3.6.1 excluded
The following example removes a view of MIN‐II subtree 1.3.6.1:
XSR(config)#no snmp-server view 1.3.6.1
The following example creates a view of all objects in private Enterasys and Cabletron MIBs
except for the etsysConfigurationChange MIB:
XSR(config)#snmp-server view Enterasys private included
XSR(config)#snmp-server view Enterasys etsysConfigurationChangeMIB excluded
Sample Output
The following is sample output from the command:
XSR#show snmp view
viewname: Enterasys
included:
private
excluded:
etsysConfigurationChangeMIB
Table 1-2 MIB Names for SNMP View Commands
SNMP Term
SNMP Numerical ID
org
1.3
dod
1.3.6
internet
1.3.6.1
mgmt
1.3.6.1.2
private
1.3.6.1.4
snmpV2
1.3.6.1.6
mib‐2
1.3.6.1.2.1
system
1.3.6.1.2.1.1
interfaces
1.3.6.1.2.1.2
ifEntry
1.3.6.1.2.1.2.2.1