Download D - Radisys

Transcript
17
17.6.3
Configuring SNMP Trap Format
To configure the SNMP trap format, execute this command:
cmmset -d SNMPTrapFormat -v <format>
where <format> is one of
• legacy Text
• legacy Raw
• legacy Text&Raw
• PET
To configure the SNMP trap format per trap address, execute this command:
cmmset -d SNMPTrapFormat<index> -v <format>
<index> is the number of the trap address (1–5) being set, <format> is defined as above.
The following figures show what the output looks like depending on the setting of the
snmptrapformat dataitem.
snmptrapformat = 1
Time : TimeStamp , Location : ChassisLocation , Chassis Serial # :
ChassisSerialNumber , Board : Location , Sensor : SDRSensorName , Event :
HealthEventString , Event Code : EventCodeNumber
snmptrapformat = 2
Time : TimeStamp , Location : ChassisLocation , Chassis Serial # :
ChassisSerialNumber , Board : Location , Raw Hex : 16_bytes_of_hex_data
snmptrapformat = 3
Time : TimeStamp , Location : ChassisLocation , Chassis Serial # :
ChassisSerialNumber , Board : Location , Sensor : SDRSensorName , Event :
HealthEventString , Event Code : EventCodeNumber , Raw Hex : 16_bytes_of_hex_data
snmptrapformat = 4
PET format [“Platform Event Trap Format Specification”]
17.6.4
Configuring the SNMP Trap Port
To configure the SNMP trap port to a different port number, execute the following command:
cmmset -l cmm -d SNMPTrapPort -v <port_number>
port_number is the desired SNMP trap port number.
17.6.5
Configuring RSM to Send SNMP v3 Traps
If the SNMP trap version has not been set using the SNMPTrapVersion dataitem in the CLI the
firmware will default to Trap Version 3.
To configure the RSM to send SNMP v3 traps, execute this command:
cmmset -l cmm -d SNMPTrapVersion -v v3
17.6.6
Configuring RSM to Send SNMP v1 Traps
To configure the RSM to send SNMP v1 traps, execute this command:
cmmset -l cmm -d SNMPTrapVersion -v v1
88