Enterasys Networks XSR CLI Router User Manual


 
snmp-server Commands
XSR CLI Reference Guide 1-31
Mode
Globalconfiguration:XSR(config)#
Examples
ThefollowingexamplecreatesaviewofallobjectsontheXSR:
XSR(config)#snmp-server view v3view internet included
ThefollowingexamplecreatesaviewofallobjectsintheMIBIIsubtree:
XSR(config)#snmp-server view mib2 mib-2 included
Thefollowingexamplecreatesaviewfor TCP:
XSR(config)#snmp-server view TCPview tcp included
ThefollowingexamplecreatesaviewofallobjectsintheMIBIIsu btreeexcluding1.3.6.1:
XSR(config)#snmp-server view MIBIIview 1.3.6.1 excluded
ThefollowingexampleremovesaviewofMINIIsubtree1.3.6.1:
XSR(config)#no snmp-server view 1.3.6.1
ThefollowingexamplecreatesaviewofallobjectsinprivateEnterasysandCabletronMIBs
exceptfortheetsysConfigurationChangeMIB:
XSR(config)#snmp-server view Enterasys private included
XSR(config)#snmp-server view Enterasys etsysConfigurationChangeMIB excluded
Sample Output
Thefollowingissampleoutputfromthecommand:
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
mib2 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