White Papers

Table Of Contents
4)
---------------------------------------------------------------------------
Configuring LLDPDU Intervals
LLDPDUs are transmitted periodically; the default interval is 30 seconds.
To configure LLDPDU intervals, use the following command.
Configure a non-default transmit interval.
CONFIGURATION mode or INTERFACE mode
hello
R1(conf)#protocol lldp
R1(conf-lldp)#show config
!
protocol lldp
advertise dot1-tlv port-protocol-vlan-id port-vlan-id
advertise dot3-tlv max-frame-size
advertise management-tlv system-capabilities system-description
no disable
R1(conf-lldp)#hello ?
<5-180> Hello interval in seconds (default=30)
R1(conf-lldp)#hello 25
R1(conf-lldp)#show config
!
protocol lldp
advertise dot1-tlv port-protocol-vlan-id port-vlan-id
advertise dot3-tlv max-frame-size
advertise management-tlv system-capabilities system-description
hello 25
no disable
R1(conf-lldp)#no hello
R1(conf-lldp)#show config
!
protocol lldp
advertise dot1-tlv port-protocol-vlan-id port-vlan-id
advertise dot3-tlv max-frame-size
advertise management-tlv system-capabilities system-description
no disable
R1(conf-lldp)#
Configuring Transmit and Receive Mode
After you enable LLDP, the system transmits and receives LLDPDUs by default.
To configure the system to transmit or receive only and return to the default, use the following commands.
Transmit only.
CONFIGURATION mode or INTERFACE mode
mode tx
Receive only.
CONFIGURATION mode or INTERFACE mode
mode rx
Return to the default setting.
CONFIGURATION mode or INTERFACE mode
no mode
R1(conf)#protocol lldp
R1(conf-lldp)#show config
!
protocol lldp
advertise dot1-tlv port-protocol-vlan-id port-vlan-id
518
Link Layer Discovery Protocol (LLDP)