background image

                                                                                                                                                    LLDP Configuration 

 

4

 

1.3  LLDP Configuration Tasks 

1.3.1   Disabling/enablingLLDP 

LLDP  is  disabled  by  default.  You  need  start  up  LLDP  before  it  runs.    After 

enabling LLDP, the  local port regularly forwards lldp frame to notify the information of 
the opposite local port. 

Run the following command in global configuration mode to enable LLDP: 

Procedur

Command 

Purpose 

Step1 

config 

Enters the global configuration mode. 

Step2 

lldp

 

run 

Runs LLDP. 

Run the following command to disable LLDP: 

Procedur

Command 

Purpose 

Step1 

config 

Enters the global configuration mode. 

Step2 

no

 

lldp

 

run 

Disables LLDP. 

Caution:  Only  lldp  function  is  enabled  can  the  system  process  lldp  packets. 

Otherwise, lldp frame will be directly forwarded. 

1.3.2   Configuringholdtime 

In normal condition, the remote information stored in MIB will update before aging. 

But the frame may loss in sending and causes the information ages. For avoiding this, 
you need to set the value of TTL and ensure the update LLDP frame is forwarded time 
after time. You can control the timeout time of transmitting the LLDP message through 
modifying holdtime: 

Run the following command in global configuration mode to configure holdtime of 

LLDP: 

Procedure 

Command 

Purpose 

Step1 

config 

Enters the global configuration mode. 

Step2 

lldp

 

holdtime

 

time 

Configures  the  timeout  time  of  LLDP.  The 

value  range  from  0  to  65535.  The  default 

value is 120s. 

Resumes the timeout time to the default value: 

Procedure 

Command 

Purpose 

Step1 

config 

Enters the global configuration mode. 

Step2 

no

 

lldp

 

holdtime 

Resumes the timeout time to the default value, 

120 seconds. 

 

Summary of Contents for LLDP

Page 1: ...I LLDP Configuration...

Page 2: ...figuring Reinit 5 1 3 5 Configuring the To Be SentTLV 6 1 3 6 Specifying the Port s Configuration and Selecting the To Be Sent Expanded TLV 7 1 3 7 Configuring the Transmission or Reception Mode 9 1 3...

Page 3: ...ations in a LAN data packet The transmission type is TLV TLV has three compulsory types Chassis ID TLV Port ID TLV and Time To Live TLV five optional types Port Description System Name System Descript...

Page 4: ...des three compulsory TLVs in the front one or more optional TLV in the middle and LLDPUD TLV in the end As shown in figure 1 M must include TLV Figure 1 LLDP PDU Format 1 Three compulsory TLVs should...

Page 5: ...tion 20 Extended Power via MDI 21 Inventory Hardware Revision Firmware Revision Software Revision Serial Number Manufacturer Name Mode Name Assert ID 3 The end TLV should be the last one in LLDP PDU 1...

Page 6: ...be directly forwarded 1 3 2 Configuringholdtime In normal condition the remote information stored in MIB will update before aging But the frame may loss in sending and causes the information ages For...

Page 7: ...t interval that is 30 seconds 1 3 4 Configuring Reinit LLDP information will be forwarded automatically in two conditions first the status or value of one or more information elements management objec...

Page 8: ...iption tlv The port description uses number or letters for description Step4 lldp tlv select system capabilities This step is optional Transmits the system performance tlv The system performance refer...

Page 9: ...ystem name domain is a specified name consisted of numbers and letters The name of the system should be the name of the system manager That is the name of the switch 1 3 6 Specifying the Port s Config...

Page 10: ...he attribute of layer 2 and layer 3 Step11 lldp med tlv select location Optional Sends the MED defined TLV and specifies the address a coordinate based LCI which is defined in IETF 3825 6 b city s add...

Page 11: ...network policy Optional Sends the MED defined TLV and the interface can effectively discover and diagnose VLAN configured error matching flow and the attribute of layer 2 and layer 3 Step11 no lldp me...

Page 12: ...P packets are transmitted This management address should be an IP address related with this port and only in this way the normal communication of this port can be guaranteed Run the following commands...

Page 13: ...lin identifier number and WORD stands for the elin information which ranges from 10 to 25 bytes Step3 location civic identifier id Enters the location configuration mode Step4 language WORD Sets the l...

Page 14: ...Enters the global configuration mode Step2 no location elin identifier id Deletes the location enlin information of elin identifier Step3 no location civic identifier id Deletes the location enlin inf...

Page 15: ...Deletes the name of a postal box such as 12345 Step28 no additional code Deletes the additional code Step29 no country Deletes the name of a country Step30 no script Deletes the script 1 3 11 Specify...

Page 16: ...ception mode Show lldp neighbors Displays the abstract information about the neighbor Show lldp neighbors detail Displays the detailed information about the neighbor Show lldp traffic Displays all rec...

Page 17: ...un Switch_config The information of Neighbor B will be displayed on Switch A about 1 minute later MED TLV information is not sent by default S1 Switch_config show lldp neighbors Capability Codes R Rou...

Page 18: ...Compiled 2011 9 21 9 24 8 by WRL Time remaining 96 system capabilities R B enabled capabilities B Management Address IP 90 0 0 21 Port VLAN ID 1 PPVID 1 VLAN 1 name Default Auto Negotiation supported...

Page 19: ...ies displayed 1 2 TLV Configuration Configuring switch S1 Switch_config lldp run Switch_config Configuring switch S2 Switch_config lldp run Switch_config no lldp tlv select system name Switch_config i...

Page 20: ...itch Gas0 8 92 Gig0 1 R B Total entries displayed 1 Switch_config show lldp neighbors detail chassis id 00e0 0fac 32ff port id Gig0 1 port description GigaEthernet0 1 system name not advertised system...

Page 21: ...MDI MDI power support PSE MDI power support support Port class PSE PSE MDI power state enabled PSE pairs selection control ability can not be controlled PSE power pair signal Power Classification Clas...

Page 22: ...h_config_civic script EN The above configured is civic information Switch_config_civic quit Switch_config int g0 8 Switch_config_g0 8 location elin 1 Set elin id for the interface Switch_config_g0 8 l...

Page 23: ...int P Repeater S Station O Other Device ID Local Intf Hldtme Port ID Capability Switch Gig0 8 115 Gig0 1 B Total entries displayed 1 Switch_config show lldp neighbors detail chassis id 00e0 0fac 32ff...

Page 24: ...MDI MDI power support PSE MDI power support support Port class PSE PSE MDI power state enabled PSE pairs selection control ability can not be controlled PSE power pair signal Power Classification Clas...

Page 25: ...type Network Connectivity Network Policy Voice Policy Unknown Power requirements Type PSE Device Source Unknown Priority Low Value 150 0 1 Watts Civic address location Language English City Shanghai...

Reviews: