Set Trap Command; Set Agent Trap Enable - Cisco 15216 EDFA2 Operation Manual

Cisco systems optical network system operations guide
Table of Contents

Advertisement

Chapter 5
SNMP MIB Installation and Configuration

5.5.2 Set Trap Command

Command
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.
Prompts appear for the following settings:
If the data needs to be changed, enter new data after the prompt.
Example 5-9
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
ash:hostname:ONS15216 EDFA2>

5.5.3 Set Agent Trap Enable

Command
snmp attribute set local cerent15216EdfaAgentTrapEnable
Syntax Description
snmp attribute set local cerent15216EdfaAgentTrapEnable control
Enables or disables SNMP traps depending on whether the parameter control is "enabled" or "disabled".
78-16033-01
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
Example 5-9 on page 5-23
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.
cerent15216EdfaCommTrapEntry Set Command
displays the prompts that appear after entering the command.
Cisco ONS 15216 EDFA2 Operations Guide
Setting Up Traps
5-23

Advertisement

Table of Contents
loading

Table of Contents