Configuring the management address and its encoding format
LLDP encodes management addresses in numeric or string format in management address TLVs.
By default, management addresses are encoded in numeric format. If a neighbor encodes its management address in string format, configure the encoding format of the management address as string on the connecting port. This guarantees normal communication with the neighbor.
To configure a management address to be advertised and its encoding format on a port:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter Layer 2 Ethernet interface view, management Ethernet interface view, or Layer 2 aggregate interface view. | interface interface-type interface-number | N/A |
3. Allow LLDP to advertise the management address in LLDP frames and configure the advertised management address. |
| By default:
|
4. Configure the encoding format of the management address as string. |
| By default, the encoding format of the management address is numeric. |