Retrieve Version Information about Router Software Components
Purpose
RFC 2790, Host Resources MIB, describes a set of managed objects that are useful for managing host systems, including routers.
Action
To retrieve version information about software components on the router, from a management station that has access to the router and using a tool, such as Snmpwalk, enter the following command:
user-bsd#snmpwalk[common arguments]hostname community object-idSample Output
user-nms %snmpwalk -Os -M /volume/~/mibs -m all tp1 public .1.3.6.1.2.1.25.6.3hrSWInstalledIndex.2 = 2hrSWInstalledIndex.3 = 3hrSWInstalledIndex.4 = 4hrSWInstalledIndex.5 = 5hrSWInstalledIndex.6 = 6hrSWInstalledIndex.9 = 9hrSWInstalledName.2 = "JUNOS Base OS Software Suite [6.0R1.5]"hrSWInstalledName.3 = "JUNOS Kernel Software Suite [6.0R1.5]"hrSWInstalledName.4 = "JUNOS Packet Forwarding Engine Support (M7i/M10i) [6.0R1.5]"hrSWInstalledName.5 = "JUNOS Routing Software Suite [6.0R1.5]"hrSWInstalledName.6 = "JUNOS Online Documentation [6.0R1.5]"hrSWInstalledName.9 = "JUNOS Support Tools Package [6.0-20031122-unocM2]"hrSWInstalledID.2 = OID: zeroDotZerohrSWInstalledID.3 = OID: zeroDotZerohrSWInstalledID.4 = OID: zeroDotZerohrSWInstalledID.5 = OID: zeroDotZerohrSWInstalledID.6 = OID: zeroDotZerohrSWInstalledID.9 = OID: zeroDotZerohrSWInstalledType.2 = operatingSystem(2)hrSWInstalledType.3 = operatingSystem(2)hrSWInstalledType.4 = operatingSystem(2)hrSWInstalledType.5 = operatingSystem(2)hrSWInstalledType.6 = application(4)hrSWInstalledType.9 = operatingSystem(2)hrSWInstalledDate.2 = 2003-8-10,20:34:45.0,-7:0hrSWInstalledDate.3 = 2003-8-10,20:35:21.0,-7:0hrSWInstalledDate.4 = 2003-8-10,20:36:30.0,-7:0hrSWInstalledDate.5 = 2003-8-10,20:36:47.0,-7:0hrSWInstalledDate.6 = 2003-8-10,20:36:51.0,-7:0hrSWInstalledDate.9 = 2003-11-22,4:8:47.0,-8:0alWhat It Means
The sample output shows the version information for various software components on the router.