lldp neighbor-identity chassis-id
Use lldp neighbor-identity chassis-id to configure the chassis ID TLV criterion for neighbor validation.
Use undo lldp neighbor-identity chassis-id to restore the default.
Syntax
lldp neighbor-identity chassis-id chassis-id-subtype chassis-id
undo lldp neighbor-identity chassis-id
Default
No chassis ID TLV criterion is configured on an interface for neighbor validation.
Views
Layer 2 Ethernet interface view
Layer 3 Ethernet interface view
Predefined user roles
network-admin
Parameters
chassis-id-subtype: Specifies the chassis ID subtype. The value is an integer in the range of 1 to 7. The chassis ID subtype indicates the type of identifier used for the chassis. Table 64 lists the available chassis ID subtypes and the ID bases.
Table 64: Chassis ID subtypes
Chassis ID subtype | ID basis |
---|---|
1 | Chassis component |
2 | Interface alias |
3 | Port component |
4 | MAC address |
5 | Network address |
6 | Interface name |
7 | Locally assigned |
chassis-id: Specifies the chassis ID, a case-sensitive string of 1 to 255 characters.
Usage guidelines
The chassis ID TLV criterion configured on an interface takes effect only after the lldp neighbor-protection validation command is configured on the interface.
If you execute this command multiple times for an interface, the most recent configuration takes effect.
Examples
# Configure the chassis ID TLV criterion on Ten-GigabitEthernet1/0/1 for neighbor validation.
<Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] lldp neighbor-identity chassis-id 4 0012-2255-7766
Related commands
lldp neighbor-protection validation