Link Layer Discovery Protocol LLDP

1.1 Basic functions

By configuring LLDP, in the end view of the link discovery information

1.1.1 Topology

 

1.1.2 Configuration

1) Configuring LLDP ge1 in port 208, set the parameters;

xNet#con t

xNet(config)#interface ge1

xNet(config-if)#set lldp enable txrx

xNet(config-if)#set lldp chassis-id-tlv mac-address

xNet(config-if)#set lldp management-address-tlv ip-address

xNet(config-if)#set lldp msg-tx-hold 10

xNet(config-if)#set lldp timer tx-delay 1

xNet(config-if)#set lldp timer msg-tx-interval 5

xNet(config-if)#set lldp too-many-neighbors limit 65535 discard received-info timer 1

xNet(config-if)#lldp tlv chassis-id ieee-8021-org-specific ieee-8023-org-specific management-address port-description port-id system-capabilities system-description system-name ttl

xNet(config-if)#exit

xNet(config)#lldp ip address 10.204.253.208

xNet(config)#set lldp system-name xNetBox

xNet(config)#set lldp system-description Weil_xNetBox

xNet(config)#end

XNET #

Use show running-config to view the configuration:

 

2) received in the open ports ge1 207 of LLDP

xNet#configure terminal

xNet(config)#interface ge1

xNet(config-if)#set lldp enable rxonly

xNet(config-if)#end

XNET #

 

 

 

Guess you like

Origin www.cnblogs.com/niezhongle/p/11075333.html