276
lldp management-address-format string
Use lldp management-address-format string to configure the encoding format of the
management address as string.
Use undo lldp management-address-format to restore the default.
Syntax
In Layer 2 Ethernet interface view or management Ethernet interface view:
lldp [ agent { nearest-customer | nearest-nontpmr } ] management-address-format string
undo lldp [ agent { nearest-customer | nearest-nontpmr } ] management-address-format
In Layer 2 aggregate interface view:
lldp agent { nearest-customer | nearest-nontpmr } management-address-format string
undo lldp agent { nearest-customer | nearest-nontpmr } management-address-format
Default
The encoding format of the management address is numeric.
Views
Layer 2 aggregate interface view
Layer 2 Ethernet interface view
Management Ethernet interface view
Predefined user roles
network-admin
Parameters
agent: Specifies an LLDP agent type. If no agent type is specified in Ethernet interface view, the
command configures the encoding format of the management address for nearest bridge agents.
nearest-bridge: Specifies nearest bridge agents.
nearest-customer: Specifies nearest customer bridge agents.
nearest-nontpmr: Specifies nearest non-TPMR bridge agents.
Usage guidelines
LLDP neighbors must use the same encoding format for the management address.
Examples
# Configure the encoding format of the management address as string for the nearest customer
bridge agents on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] lldp agent nearest-customer management-address-format
string
lldp max-credit
Use lldp max-credit to set the token bucket size for sending LLDP frames.
Use undo lldp max-credit to restore the default.
Syntax
lldp max-credit credit-value