Specifications

5-18
Cisco ONS 15216 EDFA2 Operations Guide
78-13908-02
Chapter 5 SNMP MIB Installation and Configuration
Retrieving Information
Example 5-7 cerent15216EdfaCommTrapEntry Set Command
hostname:ONS15216 EDFA2> snmp row set local CommTrapEntry 1
cerent15216EdfaCommTrapCommunity ""
cerent15216EdfaCommTrapDestIPAddress 0.0.0.0
cerent15216EdfaCommTrapDestUDPPort 162
cerent15216EdfaCommTrapViewIndex 0
cerent15216EdfaCommTrapVersion v1
cerent15216EdfaCommTrapStatus 0
cerent15216EdfaCommTrapStatus OBJECT-TYPE
SYNTAX INTEGER
{
active(1),
notInService(2),
notReady(3),
createAndGo(4),
createAndWait(5),
destroy(6)
}
MAX-ACCESS read-create
DESCRIPTION
::= { cerent15216EdfaCommTrapEntry 7 }
Set Agent Trap Enable
Command: snmp attribute set local cerent15216EdfaAgentTrapEnable
Syntax: snmp attribute set local cerent15216EdfaAgentTrapEnable control
Description: Enables or disables SNMP traps depending on whether the parameter control is “enabled”
or “disabled”.
Get Agent Trap Enable
Command: snmp attribute get local cerent15216EdfaAgentTrapEnable
Syntax: snmp attribute get local cerent15216EdfaAgentTrapEnable
Description: Ensures that the SNMP traps are enabled. The system responds with “enabled”.
Retrieving Information
The following SNMP commands access ONS 15216 EDFA2 information.
IP Address
Command: snmp Table display local cerent15216EdfaSromIpMgmtGroup
Syntax: snmp Table display local cerent15216EdfaSromIpMgmtGroup
Description: Displays the ONS 15216 EDFA2 IP address.
The following SNMP commands display the ONS 15216 EDFA2’s IP address and other networking
information: