All MIBs › HUAWEI-PORT-MIB › hwEthernetClock
hwEthernetClock
Module: HUAWEI-PORT-MIB
OID (symbolic): HUAWEI-PORT-MIB::hwEthernetClock
OID (numeric): 1.3.6.1.4.1.2011.5.25.157.1.1.1.1.20
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Indicates the mode of the clock. The mode can be master or slave. By default, the mode of a clock is slave. This parameter takes effect only on the WAN board.
What is hwEthernetClock?
Sets the WAN board's clock source to master (internal) or slave (line-derived); defaults to slave.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.157.1.1.1.1.20 snmpwalk -v2c -c public <target> HUAWEI-PORT-MIB::hwEthernetClock
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.157.1.1.1.1.20.1 snmpget -v2c -c public <target> HUAWEI-PORT-MIB::hwEthernetClock.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.157.1.1.1.1.20.1 i <value>
Start monitoring Huawei switch or router, hwDatacomm product family (port speed/duplex/status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-PORT-MIB::hwEthernetClock OID value, configure state conditions and alerts, and monitor any Huawei switch or router, hwDatacomm product family (port speed/duplex/status) from a single console.
OID Breakdown
Upper-level ancestors (9 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.2011 | huawei | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.157 | hwPortMIB | HUAWEI-PORT-MIB |
| 1.3.6.1.4.1.2011.5.25.157.1 | hwPortMIBObjects | HUAWEI-PORT-MIB |
| 1.3.6.1.4.1.2011.5.25.157.1.1 | hwEthernet | HUAWEI-PORT-MIB |
| 1.3.6.1.4.1.2011.5.25.157.1.1.1 | hwEthernetTable | HUAWEI-PORT-MIB |
| 1.3.6.1.4.1.2011.5.25.157.1.1.1.1 | hwEthernetEntry | HUAWEI-PORT-MIB |
| 1.3.6.1.4.1.2011.5.25.157.1.1.1.1.20 | hwEthernetClock | HUAWEI-PORT-MIB |