User Manual
Table Of Contents
- Chapter 1 INTRODUTION
- Chapter 2 INSTALLATION
- Chapter 3 Switch Management
- Chapter 4 Basic Switch Configuration
- Chapter 5 File System Operations
- Chapter 6 Cluster Configuration
- Chapter 7 Port Configuration
- Chapter 8 Port Isolation Function Configuration
- Chapter 9 Port Loopback Detection Function Configuration
- Chapter 10 ULDP Function Configuration
- Chapter 11 LLDP Function Operation Configuration
- Chapter 12 Port Channel Configuration
- Chapter 13 Jumbo Configuration
- Chapter 14 EFM OAM Configuration
- Chapter 15 VLAN Configuration
- Chapter 16 MAC Table Configuration
- Chapter 17 MSTP Configuration
- Chapter 18 QoS Configuration
- Chapter 19 Flow-based Redirection
- Chapter 20 Egress QoS Configuration
- Chapter 21 Flexible QinQ Configuration
- Chapter 22 Layer 3 Forward Configuration
- Chapter 23 ARP Scanning Prevention Function Configuration
- Chapter 24 Prevent ARP, ND Spoofing Configuration
- Chapter 25 ARP GUARD Configuration
- Chapter 26 ARP Local Proxy Configuration
- Chapter 27 Gratuitous ARP Configuration
- Chapter 28 Keepalive Gateway Configuration
- Chapter 29 DHCP Configuration
- Chapter 30 DHCPv6 Configuration
- Chapter 31 DHCP option 82 Configuration
- Chapter 32 DHCPv6 option37, 38
- Chapter 33 DHCP Snooping Configuration
- Chapter 34 Routing Protocol Overview
- Chapter 35 Static Route
- Chapter 36 RIP
- Chapter 37 RIPng
- Chapter 38 OSPF
- Chapter 39 OSPFv3
- Chapter 40 BGP
- 40.1 Introduction to BGP
- 40.2 BGP Configuration Task List
- 40.3 Configuration Examples of BGP
- 40.3.1 Examples 1: configure BGP neighbor
- 40.3.2 Examples 2: configure BGP aggregation
- 40.3.3 Examples 3: configure BGP community attributes
- 40.3.4 Examples 4: configure BGP confederation
- 40.3.5 Examples 5: configure BGP route reflector
- 40.3.6 Examples 6: configure MED of BGP
- 40.3.7 Examples 7: example of BGP VPN
- 40.4 BGP Troubleshooting
- Chapter 41 MBGP4+
- Chapter 42 Black Hole Routing Manual
- Chapter 43 GRE Tunnel Configuration
- Chapter 44 ECMP Configuration
- Chapter 45 BFD
- Chapter 46 BGP GR
- Chapter 47 OSPF GR
- Chapter 48 IPv4 Multicast Protocol
- 48.1 IPv4 Multicast Protocol Overview
- 48.2 PIM-DM
- 48.3 PIM-SM
- 48.4 MSDP Configuration
- 48.4.1 Introduction to MSDP
- 48.4.2 Brief Introduction to MSDP Configuration Tasks
- 48.4.3 Configuration of MSDP Basic Function
- 48.4.4 Configuration of MSDP Entities
- 48.4.5 Configuration of Delivery of MSDP Packet
- 48.4.6 Configuration of Parameters of SA-cache
- 48.4.7 MSDP Configuration Examples
- 48.4.8 MSDP Troubleshooting
- 48.5 ANYCAST RP Configuration
- 48.6 PIM-SSM
- 48.7 DVMRP
- 48.8 DCSCM
- 48.9 IGMP
- 48.10 IGMP Snooping
- 48.11 IGMP Proxy Configuration
- Chapter 49 IPv6 Multicast Protocol
- Chapter 50 Multicast VLAN
- Chapter 51 ACL Configuration
- Chapter 52 802.1x Configuration
- 52.1 Introduction to 802.1x
- 52.2 802.1x Configuration Task List
- 52.3 802.1x Application Example
- 52.4 802.1x Troubleshooting
- Chapter 53 The Number Limitation Function of Port, MAC in VLAN and IP Configuration
- 53.1 Introduction to the Number Limitation Function of Port, MAC in VLAN and IP
- 53.2 The Number Limitation Function of Port, MAC in VLAN and IP Configuration Task Sequence
- 53.3 The Number Limitation Function of Port, MAC in VLAN and IP Typical Examples
- 53.4 The Number Limitation Function of Port, MAC in VLAN and IP Troubleshooting Help
- Chapter 54 Operational Configuration of AM Function
- Chapter 55 TACACS+ Configuration
- Chapter 56 RADIUS Configuration
- Chapter 57 SSL Configuration
- Chapter 58 IPv6 Security RA Configuration
- Chapter 59 VLAN-ACL Configuration
- Chapter 60 MAB Configuration
- Chapter 61 PPPoE Intermediate Agent Configuration
- Chapter 62 SAVI Configuration
- Chapter 63 Web Portal Configuration
- Chapter 64 VRRP Configuration
- Chapter 65 IPv6 VRRPv3 Configuration
- Chapter 66 MRPP Configuration
- Chapter 67 ULPP Configuration
- Chapter 68 ULSM Configuration
- Chapter 69 Mirror Configuration
- Chapter 70 RSPAN Configuration
- Chapter 71 sFlow Configuration
- Chapter 72 SNTP Configuration
- Chapter 73 NTP Function Configuration
- Chapter 74 DNSv4/v6 Configuration
- Chapter 75 Summer Time Configuration
- Chapter 76 Monitor and Debug
- Chapter 77 Reload Switch after Specified Time
- Chapter 78 Debugging and Diagnosis for Packets Received and Sent by CPU
- Chapter 79 MPLS Overview
- Chapter 80 LDP
- Chapter 81 MPLS VPN
- Chapter 82 Public Network Access of MPLS VPN
- Chapter 83 SWITCH OPERATION
- Chapter 84 TROUBLE SHOOTING
- Chapter 85 APPENDEX A
- Chapter 86 GLOSSARY
- EC Declaration of Conformity
80-8
Chapter 80 LDP
80.1 LDP Introduction
LDP protocol is used for label distribution in the MPLS label switching environment, and only applies to
networks capable of label switching. LDP, integrated with traditional routing algorithm, distribute labels,
advertise <label, FEC> map, create and maintain Label Forwarding Information Base and LSP, b y
transmitting various messages via TCP connections. LDP is used to distributing public network label in the
MPLS VPN environment.
LDP doesn’t create any route; instead, it obtains routes from the system, distributes labels for them and
advertises the labels to its upstream router. At the same time, for the FEC having a downstream, LDP will
receive a label from the downstream, take it as the outgoing label and create a label switched path, which
means to create an entry of switching the incoming label as the outgoing one. If the label distributed by the
downstream is 3, the LDP will create an entry of popping out the label.
LDP is defined in RFC3036; and its latest standard is RFC5036. It switches the map between labels and
routes via the TCP connection between peers. Two neighbor discovery modes are supported by LDP: the
basic mode (automatic discovery) and the extended mode (specified). The automatic discovery of peers is
implemented via the UDP multicast messages to all routers (224.0.0.2), using the port 646 in both TCP and
UDP messages.
The main process is as follows:
Discover and maintain neighbors: after LDP is global enabled and interface enabled, it will send
multicast Hello messages on the specified interface (unless it disables the multicast-based neighbor
discovery) to advertise the network about its existence. The Hello messages will carry its
transmission address, the address for TCP connections. The adjacency will be created when
receiving Hello messages from other LSRs, and maintained by periodically sending Hello
messages.
Establish and maintain sessions: LDP sessions are TCP-based; First, compare the transmission
address in the Hello message from the other end and that from this end, set the one with bigger
value as ACTIVE and the other PASSIVE. The ACTIVE router will initiate a connect request to
establish a TCP connection (to avoid the similar connection conflict problems suffered by BGP
neighbors). Once the TCP connection is established, the two parts will send initialization messages
to negotiate session parameters. A session will be established once the negotiation succeeds. After
that, the two neighbors will send the local interface address list and label information to each other.
To hold the connection when there is no data, KEEPALIVE messages will be sent.
Create and maintain LSP: a session is necessary for each pair of LSR peers to switch label
information, which create LSP by switching FEC and label binding messages.
Cancel sessions: Without any message from the other end for a long time, LDP will disconnect the
session and notify the close of the session to the other end by sending a notification messages.
Please notice that, LDP won’t distribute labels for default routes, or BGP routes (unless explicitly specified).