Setting other lldp parameters – H3C Technologies H3C S12500 Series Switches User Manual

Page 238

Advertising
background image

225

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 encoded 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 or a group of

ports:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface view or
port group view.

Enter Layer 2 or Layer 3 Ethernet
interface view:

interface interface-type

interface-number

Enter port group view:

port-group manual

port-group-name

Use either command.

3.

Allow LLDP to advertise the
management address in LLDP

frames and configure the
advertised management

address.

lldp management-address-tlv
[ ip-address ]

Optional.
By default, the management

address is sent through LLDP
frames.

For a Layer 2 Ethernet

port, the management
address is the main IP

address of the lowest-ID

VLAN carried on the
port. If none of the

carried VLANs is

assigned an IP address,
no management

address will be

advertised.

For a Layer 3 Ethernet

port, the management

address is its own IP

address. If no IP address
is configured for the

Layer 3 Ethernet port, no

management address
will be advertised.

4.

Configure the encoding
format of the management

address as string.

lldp management-address-format string

By default, the management
address is encoded in the

numeric format.

Setting other LLDP parameters

The Time to Live TLV carried in an LLDPDU determines how long the device information carried in the

LLDPDU can be saved on a recipient device.

Advertising
This manual is related to the following products: