Specifications

6-17
Cisco ONS 15216 EDFA2 Operations Guide
78-13908-02
Chapter 6 CLI Commands
SNMP Commands
CLASS SNMPv2-MIB.system ::=
{
sysDescr = "ONS15216 vx.x.x orion1 vx.x.x, Serial No 00000000100520, MAC A
ddr 0010b4000b12";
sysObjectID = { cerent15216EdfaHwProdOrion1 };
sysUpTime = 25248245;
sysContact = "";
sysName = "";
sysLocation = "";
sysServices = 0;
sysORLastChange = 175;
};
CLASS SNMPv2-MIB.sysOREntry ::=
{
sysORIndex = 1;
sysORID = { snmpBasicCompliance };
sysORDescr = "";
sysORUpTime = 25248470;
};
snmp subtree get Command
Command: snmp subtree get
Syntax: snmp subtree get hostname subtree
Description: Accesses a subtree. See Example 6-23.
Example 6-23 snmp subtree get Command
hostname:ONS15216 EDFA2> snmp subtree get local sysDescr
index
sysORIndex 1
attributes
sysORID snmpBasicCompliance
sysORDescr ""
sysORUpTime 25254295
index
sysORIndex 2
attributes
sysORID rs232Compliance
sysORDescr ""
sysORUpTime 25254295
snmp subtree list Command
Command: snmp subtree list
Syntax: snmp subtree list hostname
Description: Lists the attributes below a node in a SNMP tree. See Example 6-24.
Example 6-24 snmp subtree list Command
hostname:ONS15216 EDFA2> snmp subtree list local