background image

 

28 

Performing basic LLDP configurations 

Enabling LLDP 

To make LLDP take effect on specific ports, you must enable LLDP both globally and on these ports.  
To use LLDP together with OpenFlow, you must enable LLDP globally on OpenFlow switches. As a 

best practice to prevent L LDP from affecting topology discovery of OpenFlow controllers, disable 

LLDP  on  ports  of Ope nFlow  instances.  For  more  information  about  OpenFlow,  see 

OpenFlow 

Configuration Guide

To enable LLDP: 

 

Step Command 

Remarks 

1. 

Enter system view. 

system-view 

N/A 

2. 

Enable LLDP globally. 

lldp global enable 

By default, LLDP is 

disabled globally. 

3. 

Enter Layer 3 Ethernet 

interface view or Layer 3 

aggregate interface view. 

interface

 

interface-type interface-number

 

N/A 

4. 

Enable LLDP. 

lldp enable 

By default, LLDP is 

enabled on a port. 

 

Setting the LLDP bridge mode 

The following LLDP bridge modes are available:  

 

Customer bridge mode

—LLDP supports nearest bridge agents, nearest non-TPMR bridge 

agents, and nearest customer bridge agents. LLDP processes the LLDP frames with 

destination MAC addresses for these agents and transparently transmits the LLDP frames with 

other destination MAC addresses in the VLAN. 

 

Service bridge mode

—LLDP supports nearest bridge agents and nearest non-TPMR bridge 

agents. LLDP processes the LLDP frames with destination MAC addresses for these agents 

and transparently transmits the LLDP frames with other destination MAC addresses in the 

VLAN. 

To set the LLDP bridge mode: 

 

Step Command 

Remarks 

1. 

Enter system view.

 

system-view 

N/A 

2. 

Set the LLDP bridge mode 

to service bridge. 

lldp mode service-bridge

 

By default, LLDP operates in 

customer bridge mode. 

 

Setting the LLDP operating mode 

Step Command 

Remarks 

1. 

Enter system view.

 

system-view 

N/A 

Содержание FlexNetwork VSR1000

Страница 1: ...HPE VSR1000 Virtual Services Router Layer 2 LAN Switching Configuration Guide Part number 5200 3153 Software version VSR1000_HPE CMW710 E0518 X64 Document version 5W100 20170314 ...

Страница 2: ...tware Computer Software Documentation and Technical Data for Commercial Items are licensed to the U S Government under vendor s standard commercial license Links to third party websites take you outside the Hewlett Packard Enterprise website Hewlett Packard Enterprise has no control over and is not responsible for information outside the Hewlett Packard Enterprise website Acknowledgments Intel Ita...

Страница 3: ...termination supporting PPPoE server 17 Configuration example for QinQ termination supporting DHCP relay 18 Configuring LLDP 21 Overview 21 Basic concepts 21 Working mechanism 26 Protocols and standards 27 LLDP configuration task list 27 Performing basic LLDP configurations 28 Enabling LLDP 28 Setting the LLDP bridge mode 28 Setting the LLDP operating mode 28 Setting the LLDP reinitialization delay...

Страница 4: ...ii Websites 44 Customer self repair 44 Remote support 44 Documentation feedback 44 Index 46 ...

Страница 5: ...Ds of the packets are numbered in the same manner as the VLAN tags VLAN termination types VLAN termination types Types of packets to be terminated on the interface Tagging status of outgoing packets on the interface Dot1q termination The packets must meet both of the following requirements The packets include one or more layers of VLAN tags The outermost VLAN tag matches the configured value Singl...

Страница 6: ... that configure VLAN termination on subinterfaces As shown in Figure 2 a host is located on a customer network and wants to access the WAN network through a PPPoE connection CVLAN and SVLAN represent the VLAN on the customer network and service provider network respectively To access the WAN network a packet originating from the host is processed as follows 1 Layer 2 Switch A adds a CVLAN tag to t...

Страница 7: ...subinterface are deleted When a main interface bound to a VLAN interface receives a VLAN tagged packet the main interface processes the packet according to the VLAN interface configuration After you configure VLAN termination the system finds an interface for a re ceived packet in the following order Subinterface configured with QinQ termination Subinterface configured with loose QinQ termination ...

Страница 8: ...on Terminates only VLAN tagged packets whose outermost VLAN ID matches the specified VLAN ID Any other VLAN tagged packets are not allowed to pass through this subinterface When the subinterface receives a packet it removes the outermost VLAN tag of the packet When the subinterface sends a packet it tags the packet with the specified VLAN ID Configuring ambiguous Dot1q termination Step Command Rem...

Страница 9: ...of VLAN IDs which are determined as follows For a PPPoE packet the outermost two layers of VLAN IDs are obtained by searching the PPPoE session entries For a DHCP relay packet the outermost two layers of VLAN IDs are obtained by searching the DHCP relay entries For an IPv4 or MPLS packet the outermost two layers of VLAN IDs are obtained by searching the ARP entries Unambiguous QinQ termination Ter...

Страница 10: ...nterface number subnumber Enter Reth subinterface view interface reth interface number subnumber N A 3 Configure ambiguous QinQ termination by specifying the outermost two layers of VLAN IDs vlan type dot1q vid vlan id list second dot1q vlan id list any loose By default QinQ termination is disabled on a subinterface Configuring unambiguous QinQ termination Step Command Remarks 1 Enter system view ...

Страница 11: ...nter interface view Enter Layer 3 Ethernet subinterface view interface interface type interface number subnumber Enter Layer 3 aggregate subinterface view interface route aggregation interface number subnumber Enter L3VE subinterface view interface ve l3vpn interface number subnumber Enter Reth subinterface view interface reth interface number subnumber N A 3 Configure default termination vlan typ...

Страница 12: ...nsmit only RA multicasts on an IPv6 network vlan termination broadcast ra By default an ambiguous Dot1q or QinQ termination enabled interface does not transmit broadcasts and multicasts Use one of the commands Configuring the TPID for VLAN tagged packets TPID identifies whether or not a frame contains VLAN tags By default the value of 0x8100 identifies an IEEE 802 1Q tagged frame You can set anoth...

Страница 13: ...TPID value in the outermost VLAN tag of packets received and sent by the interface dot1q ethernet type hex value The default setting is 0x8100 VLAN termination configuration examples Unambiguous Dot1q termination configuration example Network requirements As shown in Figure 3 configure unambiguous Dot1q termination on subinterfaces of the device to implement intra VLAN and inter VLAN communication...

Страница 14: ...bitethernet 1 0 1 10 Device GigabitEthernet1 0 1 10 ip address 1 0 0 1 255 0 0 0 Configure GigabitEthernet 1 0 1 10 to terminate packets tagged with VLAN 10 Device GigabitEthernet1 0 1 10 vlan type dot1q vid 10 Device GigabitEthernet1 0 1 10 quit Create GigabitEthernet 1 0 1 20 and assign an IP address to this interface Device interface gigabitethernet 1 0 1 20 Device GigabitEthernet1 0 1 20 ip ad...

Страница 15: ...le L2 switch B uses the factory configuration 1 Configure Host A Host B and Host C Assign 1 1 1 1 24 1 1 1 2 24 and 1 1 1 3 24 to Host A Host B and Host C respectively Details not shown Specify 1 1 1 11 24 as the gateway IP address for the hosts Details not shown 2 Configure Layer 2 Switch A Create VLAN 11 L2_SwitchA system view L2_SwitchA vlan 11 Assign GigabitEthernet 1 0 1 to VLAN 11 L2_SwitchA...

Страница 16: ...n type dot1q vid 11 to 13 Enable GigabitEthernet 1 0 1 10 to transmit broadcasts and multicasts Device GigabitEthernet1 0 1 10 vlan termination broadcast enable Device GigabitEthernet1 0 1 10 quit Configure an IP address for GigabitEthernet 1 0 2 Device interface gigabitethernet 1 0 2 Device GigabitEthernet1 0 2 ip address 1 1 2 11 255 255 255 0 4 Configure the server group Assign each device in t...

Страница 17: ...1 0 1 10 on the router For more information about the PPPo E configuration see Layer 2 WAN Configuration Guide Details not shown Unambiguous QinQ termination configuration example Network requirements As shown in Figure 6 Layer 2 Switch C supports only single VLAN tagged packets On Layer 2 Switch B GigabitEthernet 1 0 2 is enabled with QinQ to adds an SVLAN tag 100 to the packets with CVLAN ID 11 ...

Страница 18: ...abitEthernet1 0 1 port link type trunk L2_SwitchA GigabitEthernet1 0 1 port trunk permit vlan 11 3 Configure Layer 2 Switch B Configure GigabitEthernet 1 0 2 as a trunk port and assign the port to VLAN 11 and VLAN 100 L2_SwitchB system view L2_SwitchB interface gigabitethernet 1 0 2 L2_SwitchB GigabitEthernet1 0 2 port link type trunk L2_SwitchB GigabitEthernet1 0 2 port trunk permit vlan 11 100 S...

Страница 19: ... GigabitEthernet 1 0 2 Router interface gigabitethernet 1 0 2 Router GigabitEthernet1 0 2 ip address 1 1 2 11 255 255 255 0 Verifying the configuration Verify that Host A and Host B can ping each other Details not shown Ambiguous QinQ termination configuration example Network requirements As shown in Figure 7 QinQ is enabled on GigabitEthernet 1 0 2 of Layer 2 Switch B Configure ambiguous QinQ ter...

Страница 20: ...bitEthernet1 0 7 port trunk permit vlan 11 to 13 3 Configure Layer 2 Switch B Configure GigabitEthernet 1 0 2 as a trunk port and assign the port to VLANs 11 through 13 and VLAN 100 L2_SwitchB system view L2_SwitchB interface gigabitethernet 1 0 2 L2_SwitchB GigabitEthernet1 0 2 port link type trunk L2_SwitchB GigabitEthernet1 0 2 port trunk permit vlan 11 to 13 100 Set the PVID of GigabitEthernet...

Страница 21: ... group Details not shown Verifying the configuration Verify that Host A Host B and Host C can ping the server group Details not shown Configuration example for QinQ termination supporting PPPoE server Network requirements As shown in Figure 8 QinQ is enabled on GigabitEthernet 1 0 2 of Layer 2 Switch B The router acts as a PPPoE server Hosts in different VLANs access the Internet through the PPPoE...

Страница 22: ...P client A and DHCP client B are devices on the customer networks Provider A is the DHCP relay agent Provider B is the DHCP server Provider A and Provider B communicate with each other through Layer 3 interfaces Configure QinQ termination on Provider A so that DHCP client A and DHCP client B can obtain IP settings from Provider B Figure 9 Network diagram Configuration procedure 1 Configure the DHC...

Страница 23: ...route to the DHCP server ProviderA ip route static 10 2 1 1 24 10 1 1 1 2 Configure the DHCP server Provider B Assign an IP address to the DHCP server ProviderB system view ProviderB interface serial 2 1 0 ProviderB Serial2 1 0 ip address 10 2 1 1 24 ProviderB Serial2 1 0 quit Enable DHCP ProviderB dhcp enable Configure an IP address pool on the DHCP server ProviderB dhcp server ip pool 1 Provider...

Страница 24: ...rt gigabitethernet 1 0 2 SwitchA vlan100 port gigabitethernet 1 0 3 4 Configure Switch B Create VLAN 10 SwitchB system view SwitchB vlan 10 Assign GigabitEthernet 1 0 2 to VLAN 10 SwitchB vlan10 port gigabitethernet 1 0 2 SwitchB vlan10 quit Configure GigabitEthernet 1 0 1 as a trunk port and assign the port to VLAN 10 SwitchB interface gigabitethernet 1 0 1 SwitchB GigabitEthernet1 0 1 port link ...

Страница 25: ...on Guide LLDP enables a network management system to quickly detect and identify Layer 2 network topology changes Basic concepts LLDP agent An LLDP agent is a mapping of an entity where LL DP runs Multiple LLDP agents can run on the same interface LLDP agents are divided into the following types Nearest bridge agent Nearest customer bridge agent Nearest non TPMR bridge agent A Two port MAC Relay T...

Страница 26: ...fferent types This helps distinguish between LLDP frames sent and received by different agent types on the same interface The destination MAC address is fixed to one of the following multicast MAC addresses 0x0180 C200 000E for LLDP frames destined for nearest bridge agents 0x0180 C200 0000 for LLDP frames destined for nearest customer bridge agents 0x0180 C200 0003 for LLDP frames destined for ne...

Страница 27: ...ype of device information as shown in Figure 13 Figure 13 LLDPDU encapsulation format An LLDPDU can carry up to 32 types of TLVs Mandatory TLVs include Chassis ID TLV Port ID TLV and Time to Live TLV Other TLVs are optional TLVs A TLV is an information element that contains the type length and value fields LLDPDU TLVs include the following categories Basic management TLVs Organizationally IEEE 802...

Страница 28: ...ice The interface number and object identifier OID associated with the address IEEE 802 1 organizationally specific TLVs Table 4 IEEE 802 1 organizationally specific TLVs Type Description Port VLAN ID PVID Specifies the port VLAN identifier Port And Protocol VLAN ID PPVID Indicates whether the device supports protocol VLANs and if so what VLAN IDs these protocols will be associated with VLAN Name ...

Страница 29: ...ful Control Indicates the power state control configured on the sending port including the following Power supply mode of the PSE PD PSE PD priority PSE PD power Energy Efficient Ethernet Indicates Energy Efficient Ethernet EEE NOTE The Power Stateful Control TLV is defined in IEEE P802 3at D1 0 and is not supported in later versions HPE devices send this type of TLVs only after receiving them LLD...

Страница 30: ...e the other LLDP MED TLVs will not be advertised even if they are advertisable Management address The network management system uses the management address of a device to identify and manage the device for topology main tenance and network manag ement The manageme nt address is encapsulated in the management address TLV Working mechanism LLDP operating modes An LLDP agent can operate in one of the...

Страница 31: ...rmation ages out Protocols and standards IEEE 802 1AB 2005 Station and Media Access Control Connectivity Discovery IEEE 802 1AB 2009 Station and Media Access Control Connectivity Discovery ANSI TIA 1057 Link Layer Discovery Protocol for Media Endpoint Devices DCB Capability Exchange Protocol Specification Rev 1 00 DCB Capability Exchange Protocol Base Specification Rev 1 01 IEEE Std 802 1Qaz 2011 ...

Страница 32: ...lt LLDP is enabled on a port Setting the LLDP bridge mode The following LLDP bridge modes are available Customer bridge mode LLDP supports nearest bridge agents nearest non TPMR bridge agents and nearest customer bridge agents LLDP processes the LLDP frames with destination MAC addresses for these agents and transparently transmits the LLDP frames with other destination MAC addresses in the VLAN S...

Страница 33: ...n set the operating mode only for nearest customer bridge agents and nearest non TPMR bridge agents Setting the LLDP reinitialization delay When the LLDP operating mode changes on a port the port initializes the protocol state machines after an LLDP reinitialization delay By adjusting the delay you can avoid frequent initializa tions caused by frequent changes to the LLDP operating mode on a port ...

Страница 34: ...v all port description system capability system description system name management address tlv ipv6 ip address interface loopback interface number dot1 tlv all link aggregation dot3 tlv all mac physic max frame size power link aggregation med tlv all capability inventory power over ethernet location id civic address device type country code ca type ca value 1 10 elin address tel number lldp agent ...

Страница 35: ...port This guarantees normal communication with the neighbor To configure a management address to be advertised and its encoding format on a port Step Command Remarks 1 Enter system view system view N A 2 Enter Layer 3 Ethernet interface view or Layer 3 aggregate interface view interface interface type interface number N A 3 Allow LLDP to advertise the management address in LLDP frames and configur...

Страница 36: ...er system view system view N A 2 Set the TTL multiplier lldp hold multiplier value The default setting is 4 3 Set the LLDP frame transmission interval lldp timer tx interval interval The default setting is 30 seconds 4 Set the token bucket size for sending LLDP frames lldp max credit credit value The default setting is 5 5 Set the number of LLDP frames sent each time fast LLDP frame transmission i...

Страница 37: ...face If the two PVIDs d o not match a lo g message will be printed to notify the user You can disable PVID inconsistency check if different PVIDs are required on a link To disable LLDP PVID inconsistency check Step Command Remarks 1 Enter system view system view N A 2 Disable LLDP PVID inconsistency check lldp ignore pvid inconsistency By default LLDP PVID inconsistency check is enabled Configurin...

Страница 38: ...e associated with the specified VLAN in Dot1q termination For more information about Dot1q termination see Configuring VLAN termination To set the source MAC address of LLDP frames to the MAC address of the Layer 3 Ethernet subinterface associated with the specified VLAN Step Command Remarks 1 Enter system view system view N A 2 Enter Layer 3 Ethernet interface view interface interface type interf...

Страница 39: ...d maintaining LLDP Execute display commands in any view Task Command Display local LLDP information display lldp local information global interface interface type interface number Display the information contained in the LLDP TLVs sent from neighboring devices display lldp neighbor information interface interface type interface number agent nearest bridge nearest customer nearest nontpmr verbose l...

Страница 40: ... 0 2 lldp enable Set the LLDP operating mode to Rx on GigabitEthernet 1 0 2 DeviceA GigabitEthernet1 0 2 lldp admin status rx DeviceA GigabitEthernet1 0 2 quit 2 Configure Device B Enable LLDP globally DeviceB system view DeviceB lldp global enable Enable LLDP on GigabitEthernet 1 0 1 By default LLDP is enabled on ports DeviceB interface gigabitethernet 1 0 1 DeviceB GigabitEthernet1 0 1 lldp enab...

Страница 41: ...o MED trap flag No Polling interval 0s Number of LLDP neighbors 1 Number of MED neighbors 1 Number of CDP neighbors 0 Number of sent optional TLV 21 Number of received unknown TLV 0 LLDP agent nearest customer Port status of LLDP Enable Admin status Disable Trap flag No MED trap flag No Polling interval 0s Number of LLDP neighbors 0 Number of MED neighbors 0 Number of CDP neighbors 0 Number of sen...

Страница 42: ...s 0 Number of sent optional TLV 16 Number of received unknown TLV 0 Remove the link between Device A and Device B Verify that GigabitEthernet 1 0 2 of Device A does not connect to any neighboring devices DeviceA display lldp status Global status of LLDP Enable The current number of LLDP neighbors 1 The current number of CDP neighbors 0 LLDP neighbor information last changed time 0 days 0 hours 5 m...

Страница 43: ...tEthernet1 0 2 LLDP agent nearest bridge Port status of LLDP Enable Admin status Rx_Only Trap flag No MED trap flag No Polling interval 0s Number of LLDP neighbors 0 Number of MED neighbors 0 Number of CDP neighbors 0 Number of sent optional TLV 0 Number of received unknown TLV 0 LLDP agent nearest nontpmr Port status of LLDP Enable Admin status Disable Trap flag No MED trap flag No Polling interv...

Страница 44: ...40 Polling interval 0s Number of LLDP neighbors 0 Number of MED neighbors 0 Number of CDP neighbors 0 Number of sent optional TLV 16 Number of received unknown TLV 0 ...

Страница 45: ...ntax choices separated by vertical bars from which you select one choice multiple choices or none 1 n The argument or keyword and argument combination before the ampersand sign can be entered 1 to n times A line that starts with a pound sign is comments GUI conventions Convention Description Boldface Window names button names field names and menu items are in Boldface For example the New User wind...

Страница 46: ...presents a wireless terminator unit Represents a wireless terminator Represents a mesh access point Represents omnidirectional signals Represents directional signals Represents a security product such as a firewall UTM multiservice security gateway or load balancing device Represents a security module such as a firewall load balancing NetStream SSL VPN IPS or ACG module Examples provided in this d...

Страница 47: ...s provide a mechanism for accessing software updates through the product interface Review your product documentation to identify the recommended software update method To download product updates go to either of the following Hewlett Packard Enterprise Support Center Get connected with updates page www hpe com support e updates Software Depot website www hpe com support softwaredepot To view and u...

Страница 48: ...elf repair CSR programs allow you to repair your product If a CSR part needs to be replaced it will be shipped directly to you so that you can install it at your convenience Some parts do not qualify for CSR Your Hewlett Packard Enterprise authorized service provider will determine whether a repair can be accomplished by CSR For more information about CSR contact your local service provider or go ...

Страница 49: ...number edition and publication date located onthe front cover ofthe document For online help content include the product name product version help edition and publication date located on the legal notices page ...

Страница 50: ...ination 1 3 9 VLAN termination default 7 VLAN termination Dot1q ambiguous 4 4 11 VLAN termination Dot1q PPPoE server support 12 VLAN termination Dot1q unambiguous 4 4 9 VLAN termination QinQ ambiguous 5 5 15 VLAN termination QinQ DHCP relay support 18 VLAN termination QinQ PPPoE server support 17 VLAN termination QinQ unambiguous 5 13 VLAN termination untagged 7 VLAN termination configuration QinQ...

Страница 51: ... VLAN termination configuration QinQ unambiguous 5 L LAN switching LLDP basic concepts 21 LLDP basic configuration 28 35 LLDP configuration 21 27 35 LLDP display 35 LLDP protocols and standards 27 LLDP PVID inconsistency check disable 33 VLAN termination configuration 1 3 9 VLAN termination configuration Dot1q ambiguous 11 VLAN termination configuration Dot1q PPPoE server support 12 VLAN terminati...

Страница 52: ...5 LLDP configuration 21 27 35 mode LLDP customer bridge 28 LLDP disable 26 28 LLDP Rx 26 28 LLDP service bridge 28 LLDP Tx 26 28 LLDP TxRx 26 28 MPLS VLAN termination configuration QinQ unambiguous 5 multicast VLAN termination transmission 7 N network LLDP basic configuration 28 35 LLDP source MAC address 34 VLAN termination application scenario 1 VLAN termination configuration Dot1q ambiguous 4 1...

Страница 53: ... VLAN termination QinQ PPPoE server support 17 configuring VLAN termination QinQ unambiguous 5 13 configuring VLAN termination untagged 7 configuring VLAN termination configuration QinQ ambiguous 6 configuring VLAN termination packet TPID 8 disabling LLDP PVID inconsistency check 33 displaying LLDP 35 enabling LLDP 28 enabling LLDP ARP entry generation 34 enabling LLDP ND entry generation 34 enabl...

Страница 54: ...n specific types 23 TPID for VLAN tagged packets 8 transmitting LLDP frames 26 VLAN termination broadcast 7 VLAN termination multicast 7 trapping LLDP configuration 33 LLDP MED configuration 33 type VLAN termination default 1 VLAN termination Dot1q 1 VLAN termination QinQ 1 VLAN termination untagged 1 U untagged VLAN termination 1 7 V VLAN LLDP source MAC address 34 VLAN termination application sc...

Отзывы: