All MIBs › A3COM-HUAWEI-DEVICE-MIB › hwLswSysTime
hwLswSysTime
Module: A3COM-HUAWEI-DEVICE-MIB
OID (symbolic): A3COM-HUAWEI-DEVICE-MIB::hwLswSysTime
OID (numeric): 1.3.6.1.4.1.43.45.1.2.23.1.18.1.5
Node type: OBJECT-TYPE
Type: DateAndTime
Access: read-write
Description:
System time.
What is hwLswSysTime?
This OID stores the device's current date and time in a structured DateAndTime format and can be set remotely. Engineers use it to synchronize the switch's clock with NTP or to troubleshoot timestamp mismatches in logs. Setting it to "2026-07-01 14:30:00" ensures accurate event correlation across the network.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.43.45.1.2.23.1.18.1.5 snmpwalk -v2c -c public <target> A3COM-HUAWEI-DEVICE-MIB::hwLswSysTime
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.43.45.1.2.23.1.18.1.5.1 snmpget -v2c -c public <target> A3COM-HUAWEI-DEVICE-MIB::hwLswSysTime.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.43.45.1.2.23.1.18.1.5.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwLswSysTime.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.43 | a3Com | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.45 | jv_mib | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.45.1 | huawei | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.45.1.2 | hwproducts | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.45.1.2.23 | lanSw | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.45.1.2.23.1 | lswCommon | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.45.1.2.23.1.18 | hwLswDeviceAdmin | A3COM-HUAWEI-DEVICE-MIB |
| 1.3.6.1.4.1.43.45.1.2.23.1.18.1 | hwLswSystemPara | A3COM-HUAWEI-DEVICE-MIB |
| 1.3.6.1.4.1.43.45.1.2.23.1.18.1.5 | hwLswSysTime | A3COM-HUAWEI-DEVICE-MIB |