background image

                                                                                                                                                    LLDP Configuration 

 

10

 

Step1 

config 

Enters the global configuration mode. 

Step2 

interface intf-type intf-id 

Enters the interface configuration mode. 

Step3 

no lldp

 

transmit 

Disables the transmit-only mode of the port. 

Step4 

no lldp

 

receive 

Disables the receive-only mode of the port. 

Run  the  following  commands  in  the  interface  configuration  mode  and  set  lldp  to 

the transmit-and-receive mode. 

Procedu

re 

Command   

Purpose   

Step1 

config 

Enters the global configuration mode. 

Step2 

interface intf-type intf-id 

Enters the interface configuration mode. 

Step3 

lldp

 

transmit 

Enables the transmit mode of the port. 

Step4 

lldp

 

receive 

Enables the receive mode of the port. 

Note:  Except  the  above  mode,  the  interface  can  also  be  configured  to  the 

transmit-only mode or the receive-only mode. 

1.3.8   Specifying the Management IP Address of a Port 

In port configuration state, you can randomly configure the management address 

of  the  port,  from  which  the  LLDP  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 in port configuration mode to set the management IP 

address: 

Procedure 

Command   

Purpose   

Step1 

config 

Enters the global configuration mode. 

Step2 

interface intf-type intf-id 

Enters the interface configuration mode. 

Step3 

lldp

 

management-ip A.B.C.D 

Sets the management IP address of a port. 

Note:  Both the no lldp command and the management-ip command can be used 

to  resume  the  default  management  address  of  the  port  and  the  default  management 
address  is  the  IP  address  of  the  VLAN  interface  that  corresponds  to  the  PVID  port. 
When  the  corresponding  VLAN  interface  does  not  exist,  the  management  address  is 
0.0.0.0. 

1.3.9   Sending Trap Notification to mib Database 

Sending Trap Notification to lldp mib databaseor ptopomib database.   

Run  the  following  commands  in  the  global  configuration  mode  to  sending  trap  notification  to  lldp 
mib database or ptopo mib database. 

Procedure 

Command   

Purpose   

Step1 

config 

Enters the global configuration mode. 

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: