manualshive.com logo in svg
background image

                                                                                                                                                    LLDP Configuration 

 

1

 

Chapter 1 Link Layer-2 Discovery Protocol (LLDP)   

1.1  LLDP Overview 

802.1ABThe  link  layer  discovery  protocol  (LLDP)  at  802.1AB  helps  to  detect 

network troubles easily and maintain the network topology. It enables the neighboring 
device to sending out notice of its own state information to other devices and each port 
of  all  devices  stores  information  of  defining  themselves.  If  necessary,  they  can  also 
sending  update  information  to  the  neighboring  devices  and  the  neighboring  devices 
will  store  the  information  in  standard  SNMP  MIBs.  The  network  management  system 
can  inquire  the  connection  of  current  layer-2  from  MIB.  LLDPcan    neither  configure 
nor control the network element or traffic. It only reports configuration of layer-2. 

Simply,  LLDP  is  a  neighbor  discovery  protocol.  It  sets  a  standard  method  for  the 

Ethernet network device, such as switches, routers and WAPs. It enables the Ethernet 
device  notify  its  existence  to  other  nodes  and  save  the  discovery  information  of 
neighboring  devices.  For  instance,  all  information  including  the  device  configuration 
and  the  device  identification  can  be  notified  through  the  protocol.  Specifically,  LLDP 
defines a universal notification information set, a transmission notification protocol and 
a  method  of  storing  all  notification  information.  The  device  need  to  notify  the 
notification  information  can  transmit  many  notifications  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 Description, System 
Capabilities and Management  Address; and three  extension TLVs:    DOT1 (Port Vlan 
ID,  Protocol  Vlan  ID,  Vlan  Name,  Protocol  Identity);  DOT3  (MAC/PHY 
Configuration/Status, Power Via MDI, Link Aggregation, Max Frame Size); MED (MED 
Capability, Network Policy, Location Identification, Extended Power-via-MDI, Inventory 
(Hardware  Revision,  Firmware  Revision,  Software  Revision,  Serial  Number, 
Manufacturer Name, Mode Name, Assert ID). 

LLDP  is a unidirectional protocol.  One  LLDP  agent transmits its state information 

and functions through its connected MSAP, or receives the current state information or 
function information about the neighbor. However, the LLDP agent cannot request any 
information  from  the  peer  through  the  protocol.  During  message  exchange,  message 
transmission and reception do not affect each other. You can configure only message 
transmission or reception or both. 

1.1.1   Initializing the Protocol 

LLDP  can  work  under  three  modes:  transmit-only,  receive-only  and 

transmit-and-receive. The default mode is transmit-and-receive. 

1.1.2   Initializing LLDP Transmit Mode 

Set  LLDP  to  transmit-only  in  the  interface  mode.  In  transmit-only  mode,  the 

interface  transmits  LLDP  packets  when  the  state  or  value  of  one  or  more  information 
elements (management object) of the local system change or the transmission timer is 
timeout. The interface will not transmit LLDP packets when disabling the function. 

Содержание LLDP

Страница 1: ...I LLDP Configuration...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: