Chapter 5 SNMP MIB Installation and Configuration

Retrieving Information

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

5.5.4 Get Agent Trap Enable

Command

snmp attribute get local cerent15216EdfaAgentTrapEnable

Syntax Description snmp attribute get local cerent15216EdfaAgentTrapEnable

Gets the SNMP enable trap status. The system responds with either “enabled” or “disabled”.

5.6 Retrieving Information

The following SNMP commands access ONS 15216 EDFA2 information.

5.6.1 IP Address

Command

snmp table display local cerent15216EdfaSromIpMgmtGroup

Syntax Description snmp table display local cerent15216EdfaSromIpMgmtGroup

Displays the ONS 15216 EDFA2 IP address.

The following SNMP command displays the ONS 15216 EDFA2’s IP address and other networking information:

snmp row display local cerent15216EdfaSromIpMgmtGroup command (Example 5-10)

Example 5-10 cerent15216EdfaSromIpMgmtGroup Display Command

ash:hostname:ONS15216 EDFA2> snmp row display local cerent15216EdfaSromIpMgmtGroup

CLASS cerent15216Edfa-SROM-IP-ADDRESS-MIB.cerent15216EdfaSromIpMgmtGroup ::=

{

cerent15216EdfaSromIpMgmtEnetAddress = 172.22.82.19; cerent15216EdfaSromIpMgmtEnetSubNetMask = 255.255.0.0; cerent15216EdfaSromIpMgmtDefaultRouterAddress = 172.22.82.1; cerent15216EdfaSromIpMgmtHostName = "hostname";

};

Table 5-15describes the other attributes displayed by these commands.

Cisco ONS 15216 EDFA2 Operations Guide

5-24

78-16033-01

 

 

Page 86
Image 86
Cisco Systems 15216 EDFA2 manual Retrieving Information, Get Agent Trap Enable, IP Address