177
Step Command
Remarks
nearest-nontpmr
}
encapsulation
snap
•
In IRF physical interface view:
lldp encapsulation snap
Disabling LLDP PVID inconsistency check
By default, when the system receives an LLDP packet, it compares the PVID value contained in
packet with the PVID configured on the receiving interface. If the two PVIDs do not match, a log
message will be printed to notify the user.
You can disable PVID inconsistency check if different PVIDs are required on a link.
To disable LLDP PVID inconsistency check:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Disable LLDP PVID
inconsistency check.
lldp ignore-pvid-inconsistency
By default, LLDP PVID
inconsistency check is
enabled.
Configuring CDP compatibility
To enable your device to exchange information with a directly connected Cisco device that supports
only CDP, you must enable CDP compatibility.
CDP compatibility enables your device to receive and recognize CDP packets from the neighboring
CDP device and send CDP packets to the neighboring device. The CDP packets sent to the
neighboring CDP device carry the following information:
•
Device ID.
•
ID of the port connecting to the neighboring device.
•
Port IP address.
•
TTL.
The port IP address is the primary IP address of a VLAN interface in up state. The VLAN ID of the
VLAN interface must be the lowest among the VLANs permitted on the port. If no VLAN interfaces of
the permitted VLANs are assigned an IP address or all VLAN interfaces are down, no port IP address
will be advertised.
You can view the neighboring CDP device information that can be recognized by the device in the
output of the
display lldp neighbor-information
command. For more information about the
display
lldp neighbor-information
command, see
Layer 2—LAN Switching Command Reference
.
Configuration prerequisites
Before you configure CDP compatibility, complete the following tasks:
•
Globally enable LLDP.
•
Enable LLDP on the port connecting to a CDP device.
•
Configure LLDP to operate in TxRx mode on the port.