273
Predefined user roles
network-admin
Usage guidelines
LLDP takes effect on a port only when LLDP is enabled both globally and on the port.
Examples
# Disable LLDP on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] undo lldp enable
Related commands
lldp global enable
lldp encapsulation snap
Use
lldp encapsulation
snap
to configure the encapsulation format for LLDP frames as SNAP.
Use
undo lldp encapsulation
to restore the default.
Syntax
In Layer 2 Ethernet interface view or management Ethernet interface view:
lldp
[
agent
{
nearest-customer
|
nearest-nontpmr
} ]
encapsulation snap
undo lldp
[
agent
{
nearest-customer
|
nearest-nontpmr
} ]
encapsulation
In Layer 2 aggregate interface view:
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 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 LLDP frame encapsulation format for nearest bridge agents.
nearest-customer
: Specifies nearest customer bridge agents.
nearest-nontpmr
: Specifies nearest non-TPMR bridge agents.
Usage guidelines
LLDP-CDP packets use only SNAP encapsulation.
Examples
# Configure the encapsulation format for LLDP frames as SNAP on GigabitEthernet 1/0/1.
<Sysname> system-view
Содержание FlexNetwork 5130 HI series
Страница 293: ...285 Sysname GigabitEthernet1 0 1 lldp agent nearest customer tlv enable dot1 tlv link aggregation ...
Страница 302: ...294 ...