All MIBs › TN-SYS-LOG-MIB › tnSyslogMode
tnSyslogMode
Module: TN-SYS-LOG-MIB
OID (symbolic): TN-SYS-LOG-MIB::tnSyslogMode
OID (numeric): 1.3.6.1.4.1.868.2.5.3.1.1.18.1.1.5
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Syslog operation mode.
For the setting behavior: logLocal(1): syslog messages are only saved to local device; logRemote(2): syslog messages are only sent to remote server; logLocalAndRemote(3): syslog messages are saved to local device and sent to remote server; off(4): do not save syslog messages.
What is tnSyslogMode?
This object controls where syslog messages are sent: saved only locally on the device, sent only to a remote server, saved both locally and remotely, or logging turned off entirely. Admins use it to decide the device's overall logging strategy based on available local storage and whether a central log server is in use. For example, setting this to logLocalAndRemote(3) ensures messages are both kept on the device and forwarded to the configured syslog server for redundancy.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.868.2.5.3.1.1.18.1.1.5 snmpwalk -v2c -c public <target> TN-SYS-LOG-MIB::tnSyslogMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.868.2.5.3.1.1.18.1.1.5.1 snmpget -v2c -c public <target> TN-SYS-LOG-MIB::tnSyslogMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.868.2.5.3.1.1.18.1.1.5.1 i <value>
Start monitoring Transition Networks managed Ethernet switch (syslog forwarding config/message status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TN-SYS-LOG-MIB::tnSyslogMode OID value, configure state conditions and alerts, and monitor any Transition Networks managed Ethernet switch (syslog forwarding config/message status) from a single console.
OID Breakdown
Upper-level ancestors (12 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.868 | transition | TRANSITION-SMI |
| 1.3.6.1.4.1.868.2 | products | TRANSITION-SMI |
| 1.3.6.1.4.1.868.2.5 | tnProducts | TRANSITION-SMI |
| 1.3.6.1.4.1.868.2.5.3 | tnMgmtMIB | TN-MGMT-MIB |
| 1.3.6.1.4.1.868.2.5.3.1 | tnMgmtObjects | TN-MGMT-MIB |
| 1.3.6.1.4.1.868.2.5.3.1.1 | tnDevMgmt | TN-MGMT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.868.2.5.3.1.1.18 | tnSyslogMIB | TN-SYS-LOG-MIB |
| 1.3.6.1.4.1.868.2.5.3.1.1.18.1 | tnSyslogMgmtTable | TN-SYS-LOG-MIB |
| 1.3.6.1.4.1.868.2.5.3.1.1.18.1.1 | tnSyslogMgmtEntry | TN-SYS-LOG-MIB |
| 1.3.6.1.4.1.868.2.5.3.1.1.18.1.1.5 | tnSyslogMode | TN-SYS-LOG-MIB |