The configuration model files matching LLDP are ietf-interfaces.yang, huawei-lldp.yang, and huawei-device.yang.
Object |
Description |
Value |
Remarks |
---|---|---|---|
/huawei-lldp:lldp/enabled |
Indicates whether the global LLDP function is enabled on the switch. |
The value is of the Boolean type:
By default, the global LLDP function is enabled on the switch. |
Operations can be performed on other objects only when the global LLDP function is enabled on the switch. |
/huawei-lldp:lldp/sensor-ap-vlanid |
Configures the switch to identify Huawei Fit APs using LLDP and adds the interfaces receiving LLDP packets from the APs to the specified VLAN in untagged mode. |
The value is an integer ranging from 1 to 4094. By default, this function is disabled. |
The VLAN specified in the object can be an existing VLAN or created after this object is executed, but cannot be the control VLAN of ring protocols such as SEP, RRPP, and ERPS. |
/huawei-lldp:lldp/sensor-ap-trunk-vlanid |
Configures a switch to automatically identify Huawei Fit APs through the LLDPDUs sent from the Fit APs and add the receiving interfaces to the specified VLAN in tagged mode. |
The value of this object can be either of the following:
|
Multiple VLAN configurations are supported. The value of this object cannot contain the VLAN IDs configured by /huawei-lldp:lldp/sensor-ap-vlanid object. |
/huawei-lldp:lldp/management-address |
Configures the LLDP management IP address. |
The value is in dotted decimal notation. |
N/A |
/ietf-interfaces:interfaces/interface/huawei-lldp:lldp/admin-status |
Indicates whether the LLDP function is enabled on the interface. |
The value is of the enumerated type:
By default, the LLDP function status on an interface is the same as the global LLDP function status. |
N/A |
/ietf-interfaces:interfaces/interface/huawei-lldp:lldp/compliance-cdp-status |
Refer to the value. |
The value is of the enumerated type:
By default, the two functions are disabled. |
N/A |
/ietf-interfaces:interfaces/interface/huawei-lldp:lldp/tlv/med/tlvs/type |
Specifies the MED TLVs advertised on the interface. |
The value is tlv-med-network-policy, indicating that the Network Policy TLV is advertised on the interface. Network Policy TLV is used to exchange VLAN configurations between network devices and terminal devices. A switch uses this TLV to advertise Voice VLAN ID and voice stream priority to an IP phone. Then the IP phone forwards packets according to the received Voice VLAN ID and priority, ensuring the voice quality. |
This object and /ietf-interfaces:interfaces/interface/huawei-lldp:lldp/tlv/med/tlvs/enable must be configured simultaneously. |
/ietf-interfaces:interfaces/interface/huawei-lldp:lldp/tlv/med/tlvs/enable |
Indicates whether the MED TLV is advertised on the interface. |
The value is of the Boolean type:
By default, the MED TLV is not advertised on the interface. |
This object and /ietf-interfaces:interfaces/interface/huawei-lldp:lldp/tlv/med/tlvs/type must be configured simultaneously. |
/ietf-interfaces:interfaces/interface/huawei-lldp:lldp/tlv/med/tlvs/parameters/network-policy/vlan-type |
Specifies the VLAN type in the Network Policy TLV advertised on the interface. |
The value is of the enumerated type:
|
If this object is configured as network-policy-vlan-vlanid, you must configure the /ietf-interfaces:interfaces/interface/huawei-lldp:lldp/tlv/med/tlvs/parameters/network-policy/parameters/vlanid object simultaneously. |
/ietf-interfaces:interfaces/interface/huawei-lldp:lldp/tlv/med/tlvs/parameters/network-policy/parameters/vlanid |
Specifies the Voice VLAN ID. |
The value is an integer ranging from 1 to 4094. |
This object can be and must be configured only when the value of /ietf-interfaces:interfaces/interface/huawei-lldp:lldp/tlv/med/tlvs/parameters/network-policy/vlan-type is network-policy-vlan-vlanid. |
/ietf-interfaces:interfaces/interface/huawei-lldp:lldp/tlv/med/tlvs/parameters/network-policy/parameters/cos |
Specifies the 802.1p priority of the voice packets. |
The value is an integer ranging from 0 to 7, and the default value is 5. A larger value indicates a higher priority. |
This object can be configured only when the value of /ietf-interfaces:interfaces/interface/huawei-lldp:lldp/tlv/med/tlvs/parameters/network-policy/vlan-type is network-policy-vlan-vlanid or network-policy-vlan-8021. |
/ietf-interfaces:interfaces/interface/huawei-lldp:lldp/tlv/med/tlvs/parameters/network-policy/parameters/dscp |
Specifies the DSCP priority of the voice packets. |
The value is an integer ranging from 0 to 63, and the default value is 46. A larger value indicates a higher priority. |
This object can be configured only when the value of /ietf-interfaces:interfaces/interface/huawei-lldp:lldp/tlv/med/tlvs/parameters/network-policy/vlan-type is network-policy-vlan-vlanid or network-policy-vlan-8021. |
/huawei-device:device/domain-name |
Adds a suffix to a device name. |
The value is a string of 1 to 255 characters without spaces. Letters, digits, hyphen (-), underscores (_), and dots (.) are allowed. |
Only the S2720-EI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5720S-SI, S5720I-SI, S5730-SI, S5730S-EI, S6720-LI, S6720S-LI, S6720-SI, and S6720S-SI support this object. |
/huawei-device:device-state/domain-name |
Queries the suffix of a device name. |
The value is a character string. |
This object only supports the get operation. Only the S2720-EI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5720S-SI, S5720I-SI, S5730-SI, S5730S-EI, S6720-LI, S6720S-LI, S6720-SI, and S6720S-SI support this object. |
Object |
Description |
---|---|
/huawei-lldp:lldp-neighbor-change-event/lldp-neighbor/event-type |
Indicates the type of neighbor change:
|
|
Indicates the local interface name. |
|
Indicates the index of a neighbor. |
|
Indicates the ID type of a neighboring device:
|
|
Indicates the ID of a neighboring device. |
|
Indicates the ID type of a neighboring interface:
|
|
Indicates the ID of a neighboring interface. |
/ietf-interfaces:interfaces-state/interface/huawei-lldp:lldp/remote-port/port-description |
Indicates the description of a neighboring interface. |
|
Indicates the name of a neighboring device. |
|
Indicates the description of a neighboring device. |
|
Indicates capabilities supported by a neighboring device:
|
|
Indicates capabilities enabled on a neighboring device:
Multiple capabilities can be enabled on a neighboring device simultaneously. |
|
Name of the manufacturer. |
/ietf-interfaces:interfaces-state/interface/huawei-lldp:lldp/remote-port/remote-management/subtype |
Indicates the management address type of a neighboring device:
|
/ietf-interfaces:interfaces-state/interface/huawei-lldp:lldp/remote-port/remote-management/address |
Indicates the management address of a neighboring device. |
/ietf-interfaces:interfaces-state/interface/huawei-lldp:lldp/remote-port/remote-management/if-subtype |
Indicates the interface index type for the management address of a neighboring device:
|
/ietf-interfaces:interfaces-state/interface/huawei-lldp:lldp/remote-port/remote-management/if-id |
Indicates the interface index for the management address of a neighboring device. |
/ietf-interfaces:interfaces-state/interface/huawei-lldp:lldp/remote-port/remote-management/oid |
Indicates the OID for the management address of a neighboring device. |
Object |
Description |
---|---|
/huawei-lldp:cdp-neighbor-change-event/cdp-neighbor/event-type |
Indicates the type of neighbor change:
|
/huawei-lldp:cdp-neighbor-change-event/cdp-neighbor/local-port |
Indicates the local interface name. |
|
Indicates the index of a neighbor. |
|
Indicates the ID of a neighboring device. |
|
Indicates the ID of a neighboring interface. |
|
Indicates capabilities enabled on a neighboring device:
Multiple capabilities can be enabled on a neighboring device simultaneously. |
|
Indicates the software platform of a neighboring device. |
|
Indicates the software version of a neighboring device. |
|
Indicates the MAC address of a neighboring device. |