lldp agent { nearest-customer | nearest-nontpmr } encapsulation snap
undo lldp agent { nearest-customer | nearest-nontpmr } encapsulation
Default
The encapsulation format for LLDP frames is Ethernet II.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
: Specifies an LLDP agent type. If you do not specify an agent type in Ethernet, the command
agent
sets the LLDP frame encapsulation format for nearest bridge agents.
nearest-customer
nearest-nontpmr
Usage guidelines
LLDP-CDP packets use only SNAP encapsulation.
Examples
# Set the encapsulation format for LLDP frames to SNAP on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] lldp encapsulation snap
lldp fast-count
Use
lldp fast-count
transmission is triggered.
Use
undo lldp fast-count
Syntax
lldp fast-count count
undo lldp fast-count
Default
Four LLDP frames are sent each time fast LLDP frame transmission is triggered.
Views
System view
Predefined user roles
network-admin
Parameters
: Sets the number of LLDP frames sent each time fast LLDP frame transmission is triggered.
count
The value range is 1 to 8.
: Specifies nearest customer bridge agents.
: Specifies nearest non-TPMR bridge agents.
to set the number of LLDP frames sent each time fast LLDP frame
to restore the default.
28