Configuring the LLDP port ID subtype to advertise
The Link Layer Discovery Protocol (LLDP) port ID subtype determines the specific information
that is advertised as the port ID. You can configure the LLDP port ID subtype to advertise
for a specific port, for a range of ports, or for all LLDP-capable ports.
lldp med location-id civic-address,
lldp med location-id coordinate-based, or
lldp med location-id ecs-elin command.
- From privileged EXEC mode, enter global configuration mode.
- Specify the LLDP port ID subtype to advertise.
- To view the port ID information that is advertised, use a
showcommand such asshow lldp neighbors detailon an LLDP neighbor device. In the following example, the advertised port ID is "Building2Floor5Cube2500".device# show lldp neighbors detail Local port: 1/2/4 Neighbor: 748e.f8f9.55b1, TTL 94 seconds + Chassis ID (MAC address): 748e.f8f9.5580 + Port ID (interface alias): Building2Floor5Cube2500 + Time to live: 120 seconds + System name : "ICX7450SP-ADV Router" + Port description : "GigabitEthernet20" + System capabilities : bridge Enabled capabilities: bridge + 802.3 MAC/PHY : auto-negotiation enabled Operational MAU type : 100BaseTX-FD + Link aggregation: not capable + Maximum frame size: 1522 octets + Port VLAN ID: 1 + Management address (IPv4): 10.20.159.105