Chapter 6 ASH Commands

SNMP Commands

F I N A L D R A F T - C I S C O C O N F I D E N T I A L

6.6.10 snmp subtree display Command

Command

snmp subtree display

 

snmp subtree display {IP_address local} subtree

Syntax Description

 

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

 

Example 6-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

 

 

Cisco ONS 15216 EDFA2 Operations Guide

 

 

 

 

 

 

78-16033-01

 

 

6-21

 

 

 

 

 

Page 121
Image 121
Cisco Systems 15216 EDFA2 manual Snmp subtree display Command, Snmp subtree get Command