swL2DevCtrlLLDPState
DGS3120-24PC-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.117.3.1.2.1.2.18
Object
scalar r/w
Enumeration
Specifies the state of the LLDP function. When this function is enabled, the switch can start to transmit LLDP packets and receive and process the LLDP packets. The specific function of each port will depend on the per port LLDP setting. For the advertisement of LLDP packets, the switch announces the information to its neighbor through ports. For receiving LLDP packets, the switch will learn the information from the LLDP packets advertised from the neighbor in the neighbor table.
Context
- MIB
- DGS3120-24PC-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.117.3.1.2.1.2.18- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swL2DevCtrl
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DGS3120-24PC-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3120-24PC-L2MGMT-MIB::swL2DevCtrlLLDPState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS3120-24PC-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS3120-24PC-L2MGMT-MIB::swL2DevCtrlLLDPState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |