All MIBs › SL-MAIN-MIB › slmSysTrapFormat
slmSysTrapFormat
Module: SL-MAIN-MIB
OID (symbolic): SL-MAIN-MIB::slmSysTrapFormat
OID (numeric): 1.3.6.1.4.1.4515.1.3.1.42
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The format of the sent trap: 1 - the full ifIndex is sent. 2 - only the port number part of the ifIndex is sent.
What is slmSysTrapFormat?
This OID stores a number (1 or 2) that controls how the device formats alert messages it sends to monitoring systems. Setting it to 1 includes the full port identification number in alerts, while 2 sends only the port number part, reducing message size. A network operator would adjust this when integrating the device with a monitoring system to ensure alerts are formatted in a way their system can correctly parse and understand.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4515.1.3.1.42 snmpwalk -v2c -c public <target> SL-MAIN-MIB::slmSysTrapFormat
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4515.1.3.1.42.1 snmpget -v2c -c public <target> SL-MAIN-MIB::slmSysTrapFormat.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.4515.1.3.1.42.1 i <value>
Start monitoring SmartOptics SiteLight optical transport main control card/chassis (system/alarm/software-version status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SL-MAIN-MIB::slmSysTrapFormat OID value, configure state conditions and alerts, and monitor any SmartOptics SiteLight optical transport main control card/chassis (system/alarm/software-version status) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.4515 | smartoptics | SL-NE-MIB |
| 1.3.6.1.4.1.4515.1 | sitelight | SL-NE-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4515.1.3 | slMain | SL-MAIN-MIB |
| 1.3.6.1.4.1.4515.1.3.1 | slmSys | SL-MAIN-MIB |
| 1.3.6.1.4.1.4515.1.3.1.42 | slmSysTrapFormat | SL-MAIN-MIB |