5-31
Cisco ONS 15216 EDFA2/EDFA2-A Operations Guide, R2.4
July 2004
Chapter 5 SNMP MIB Configuration
5.5.2 Set Trap Command
Syntax Description snmp table display local cerent15216EdfaCommTrapEntry #
Displays the communities for traps.
Example 5-8 cerent15216EdfaCommTrapEntry Display Command
ash:
hostname
:ONS15216 EDFA2> snmp table display local cerent15216EdfaCommTrapEntry 1
CLASS CERENT-15216-EDFA-MIB.cerent15216EdfaCommTrapEntry ::=
{
cerent15216EdfaCommTrapIndex = 1;
cerent15216EdfaCommTrapCommunity = "private";
cerent15216EdfaCommTrapDestIPAddress = 172.22.87.50;
cerent15216EdfaCommTrapDestUDPPort = 162;
cerent15216EdfaCommTrapViewIndex = 1;
cerent15216EdfaCommTrapVersion = v2;
cerent15216EdfaCommTrapStatus = active;
};
5.5.2 Set Trap Command
Command Types snmp row set local cerent15216EdfaCommTrapEntry
Syntax Description snmp row set local cerent15216EdfaCommTrapEntry #
The command followed by a community number permits the user to set the parameters for the SNMP
trap. Example 5-9 displays the prompts that appear after entering the 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.
Example 5-9 cerent15216EdfaCommTrapEntry Set Command
ash:
hostname
:ONS15216 EDFA2> snmp row set local cerent15216EdfaCommTrapEntry 1
cerent15216EdfaCommTrapCommunity "private"
cerent15216EdfaCommTrapDestIPAddress 172.22.87.50
cerent15216EdfaCommTrapDestUDPPort 162
cerent15216EdfaCommTrapViewIndex 1
cerent15216EdfaCommTrapVersion v2
cerent15216EdfaCommTrapStatus 4
Comments to this Manuals