Setting other lldp parameters – H3C Technologies H3C S5560 Series Switches User Manual
Page 280
246
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2/Layer 3 Ethernet
interface view, management
Ethernet interface view, or
Layer 2/Layer 3 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.
•
In Layer 2/Layer 3 Ethernet
interface view or management
Ethernet interface view:
lldp [ agent { nearest-customer
| nearest-nontpmr } ]
tlv-enable basic-tlv
management-address-tlv
[ ip-address ]
•
In Layer 2/Layer 3 aggregate
interface view:
lldp agent { nearest-customer
| nearest-nontpmr } tlv-enable
basic-tlv
management-address-tlv
[ ip-address ]
By default:
•
Nearest bridge agents and
nearest customer bridge agents
can advertise the management
address in LLDP frames.
•
Nearest non-TPMR bridge
agents cannot advertise the
management address in LLDP
frames.
4.
Configure the encoding
format of the management
address as string.
•
In Layer 2/Layer 3 Ethernet
interface view or management
Ethernet interface view:
lldp [ agent { nearest-customer
| nearest-nontpmr } ]
management-address-format
string
•
In Layer 2/Layer 3 aggregate
interface view:
lldp agent { nearest-customer
| nearest-nontpmr }
management-address-format
string
By default, the encoding format of
the management address is
numeric.
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.
By setting the TTL multiplier, you can configure the TTL of locally sent LLDPDUs, which determines how
long information about the local device can be saved on a neighboring device. The TTL is expressed by
using the following formula:
TTL = Min (65535, (TTL multiplier × LLDP frame transmission interval + 1))
As the expression shows, the TTL can be up to 65535 seconds. TTLs greater than 65535 will be rounded
down to 65535 seconds.
To change LLDP parameters:
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module