FINAL DRAFT - CISCO CONFIDENTIAL

6-21

CiscoONS 15216 EDFA2 Operations Guide
78-16033-01
Chapter6 ASH Commands
SNMP Commands
6.6.10 snmp subtree display Command

Command snmp subtree display

Syntax Description snmp subtree display {IP_address | local} subtree

Displays the attributes below a node in a SNMP tree. See Example6-22.

Example6-22 snmp subtree display Command

ash:hostname:ONS15216 EDFA2> snmp subtree display local cerent15216EdfaCommunityEntry
BEGIN-HOST "testhost" 0.0.0.0 "private"
CLASS CERENT-15216-EDFA-MIB.cerent15216EdfaCommunityEntry ::=
{
cerent15216EdfaCommIndex = 1;
cerent15216EdfaCommName = "public";
cerent15216EdfaCommViewIndex = 1;
cerent15216EdfaCommPrivileges = 247;
cerent15216EdfaCommSrcIPAddr = 0.0.0.0;
cerent15216EdfaCommNetMask = 255.255.255.255;
cerent15216EdfaCommStatus = active;
};
CLASS CERENT-15216-EDFA-MIB.cerent15216EdfaCommunityEntry ::=
{
cerent15216EdfaCommIndex = 2;
cerent15216EdfaCommName = "private";
cerent15216EdfaCommViewIndex = 1;
cerent15216EdfaCommPrivileges = 255;
cerent15216EdfaCommSrcIPAddr = 0.0.0.0;
cerent15216EdfaCommNetMask = 255.255.255.255;
cerent15216EdfaCommStatus = active;
...
6.6.11 snmp subtree get Command

Command snmp subtree get

Syntax Description snmp subtree get {IP_address | local} subtree

Accesses a subtree. See Example 6-23.

Example 6-23 snmp subtree get Command

ash:hostname:ONS15216 EDFA2> snmp subtree get local sysDescr
index
sysORIndex 1
attributes
sysORID snmpBasicCompliance