229
Step Command
Remarks
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.
Set the encoding format of
the management address to
string.
•
In Layer 2/Layer 3 Ethernet
interface view or
management Ethernet
interface view:
lldp
[
agent
{
nearest-customer
|
nearest-nontpmr
} ]
management-address-for
mat string
•
In Layer 2/Layer 3
aggregate interface view:
lldp agent
{
nearest-customer
|
nearest-nontpmr
}
management-address-for
mat 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. The TTL is
expressed by using the following formula:
TTL = Min (65535, (TTL multiplier × LLDP frame transmission in 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 set LLDP parameters:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set the TTL multiplier.
lldp hold-multiplier value
The default setting is 4.
3.
Set the LLDP frame
transmission interval.
lldp timer tx-interval
interval
The default setting is 30
seconds.
4.
Set the token bucket size for
sending LLDP frames.
lldp max-credit
credit-value
The default setting is 5.
Содержание H3C S7500E-X
Страница 70: ...57 ...