Specifications
5-17
Cisco ONS 15216 EDFA2 Operations Guide
78-13908-02
Chapter 5 SNMP MIB Installation and Configuration
Setting Up Traps
Trap Display Command
Command: snmp Table display local cerent15216EdfaCommTrapEntry
Syntax: snmp Table display local cerent15216EdfaCommTrapEntry #
Description: Displays the communities for traps.
Example 5-6 cerent15216EdfaCommTrapEntry Display Command
hostname:ONS15216 EDFA2> snmp Table display local cerent15216EdfaCommTrapEntry
CLASS CERENT-15216-EDFA-MIB.cerent15216EdfaCommTrapEntry ::=
{
cerent15216EdfaCommTrapIndex = 0;
cerent15216EdfaCommTrapCommunity = "";
cerent15216EdfaCommTrapDestIPAddress = 0.0.0.0;
cerent15216EdfaCommTrapDestUDPPort = 0;
cerent15216EdfaCommTrapViewIndex = 0;
cerent15216EdfaCommTrapVersion = 0;
cerent15216EdfaCommTrapStatus = notReady;
};
CLASS CERENT-15216-EDFA-MIB.cerent15216EdfaCommTrapEntry ::=
{
cerent15216EdfaCommTrapIndex = 1;
cerent15216EdfaCommTrapCommunity = "private";
cerent15216EdfaCommTrapDestIPAddress = 172.22.87.50;
cerent15216EdfaCommTrapDestUDPPort = 162;
cerent15216EdfaCommTrapViewIndex = 1;
cerent15216EdfaCommTrapVersion = v2;
cerent15216EdfaCommTrapStatus = active;
};
Trap Set Command
Command: snmp row set local cerent15216EdfaCommTrapEntry
Syntax: snmp row set local cerent15216EdfaCommTrapEntry #
Description: The command followed by a community number permits the user to set the parameters for
the SNMP trap. Example 5-7 displays the prompts that appear after entering this
command.
Prompts appear for the following settings:
• cerent15216EdfaCommTrapCommunity: The trap destination community name.
• cerent15216EdfaCommTrapDestIPAddress: The trap destination IP address.
• cerent15216EdfaCommTrapDestUDPPort: The trap destination UDP port.
• cerent15216EdfaCommTrapViewIndex: The trap destination MIB view index. A trap may be sent
to this destination if it is contained in this MIB view. A 0 implies no MIB view.
• cerent15216EdfaCommTrapVersion: The trap version number.
• cerent15216EdfaCommTrapStatus: The status of this conceptual row in the
cerent15216EdfaCommunityTrapTable.
If the data needs to be changed, enter new data after the prompt.