Techroutes LLDP Скачать руководство пользователя страница 16

                                                                                                                                                    LLDP Configuration 

 

14

 

Step3 

no location civic 

Deletes the location information of civic id. 

Step4 

no location elin 

Deletes the location information of elin id. 

 

1.3.12   Configuring Show-Relative Commands 

You  can  observe  the  information  about  the  neighbor,  statistics  or  port  state 

received by the LLDP module by running show-relative commands.. 

Run the following commands in EXEC or global configuration mode: 

Command   

Purpose   

Show

 

lldp

 

errors 

Displays  the  error  information  about  the  LLDP 

module. 

Show

 

lldp

 

interface

 

interface-name 

Displays the information about port state, that is, 

the transmission mode and the reception 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  received  and  transmitted  statistics 

information. 

Show

 

location

 

elin 

Displays the information of location elin. 

Show

 

location

 

civic 

Displays the information of location civic. 

1.3.13   Configuring the Deletion Commands 

You can delete the received neighbor lists and all statistics information by running 

the following command. 

Run the following commands in EXEC mode: 

Command   

Purpose   

clear

 

lldp

 

counters 

Deletes all statistics data. 

clear

 

lldp

 

table 

Deletes all received neighbor information. 

1.4  Configuration Example 

1.4.1   Network Environment Requirements 

Configure LLDP protocol on the port connecting two switches. 

Содержание 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...

Отзывы: