Page 2
The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of this document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPO- RATION is prohibited.
Label Distribution Protocol ..........16 LDP Session Establishment and Maintenance ....17 Configuring MPLS ............18 Enabling MPLS ............18 Configuring LDP Router-ID ..........18 Configuring Label Distribution and Control ....19 Configuring LDP Time Parameters ........20 Configuring MD5 Password..........20 Confidential and Proprietary Information of ZTE CORPORATION...
Page 4
ZXR10 8900 Series User Manual (MPLS Volume) Clearing LSR Peer Connection........20 MPLS Configuration Examples .........21 MPLS Basic Configuration Example .......21 Label Distribution Example for Specified Nerwork Segment ............23 MPLS Maintenance and Diagnosis........25 MPLS L3VPN Configuration ......29 MPLS L3VPN Overview............29 Related Terms ............30...
Page 5
MPLS TE HOT-STANDBY Overview ........69 Basic Configuration of MPLS TE HOT-STANGBY ....69 Maintenance and Diagnosis of MPLS TE HOT-STANDBY ..70 Configuration Example of MPLS TE HOT-STANDBY ....70 Figures ............73 Glossary ............75 Confidential and Proprietary Information of ZTE CORPORATION...
Page 6
ZXR10 8900 Series User Manual (MPLS Volume) This page is intentionally blank. Confidential and Proprietary Information of ZTE CORPORATION...
About This Manual Purpose This manual is ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Rout- ing Switch User Manual (MPLS Volume) and applies to ZXR10 8902/8905/8908/8912 10 Gigabit routing switch. Intended This manual is intended for the following engineers: Audience �...
Page 8
ZXR10 8900 Series User Manual (MPLS Volume) � ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch User Manual (MPLS) � ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch User Manual (DPI) � ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch User Manual (Firewall) �...
ZTE Corporation will assume no responsibility for consequences re- sulting from violation of general specifications for safety operations or of safety rules for design, production and use of the devices.
Page 10
ZXR10 8900 Series User Manual (MPLS Volume) Caution: Indicates the matters needing attention during configuration. Note: Indicates the description, hint, tip, and so on for configuration op- erations. Confidential and Proprietary Information of ZTE CORPORATION...
MPLS uses label switching, so routers only need to judge the labels when they forward packets. MPLS supports protocols in network layer (such as IPv6, and IP) as well as protocols in data link layer (such as ATM, and PPP). Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) IP Forwarding Features Features of traditional IP forwarding is shown in Figure 1 IP F IGURE ORWARDING IP uses hop-by-hop method for communication. When a packet reaches a router, the router looks up its routing table to forward the packet to the next router.
Fast Re-Routing (FRR). Before forwarding the IP packet according to corresponding path, the MPLS router reads the header identifier of the message instead of the IP address in each IP message. Therefore, the speed to Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) forward packets is much faster, and MPLS is called a layer 2.5 protocol, as shown in Figure MPLS IGURE OSITION OF MPLS can use different layer 2 protocols. Till now, MPLS task force has implemented standardization of identifiers used in FR, ATM, PPP link and IEEE802.3 LANs.
FEC may correspond to multiple labels. However, only one label stands for the FEC. The structure is shown in Figure 5 MPLS L IGURE ABEL TRUCTURE Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) A label contains four fields: � Label field: 20 bits long, used to forward pointers. � Exp field: 3 bits long, reserved for defining experiments. � S field: 1 bit long. MPLS supports multiple layers of labels.
� Packet-based The packet traffic reaching a LSR springs label distribution. In this mode, the cost for label distribution is direct proportion to the traffic. Time delay exists for label distribution. � Topology-based Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) Topology-based drive is to distribute labels for corresponding routes of routing protocols. When a LSR deals with route up- date of OSPF or BGP, the LSR modifies the entries in label for- warding table, meanwhile the LSR distributes labels for these entries.
This information means, when RB receives a message with label “50” from interface 1, it changes the label to “40” and sends the message from interface 2. RB does not look up route in its routing table. Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) When RA receives binding information, RA acts in the same way as RB does. LIB is always isochronous with routing tables. Once a new non- BGP route is generated in the routing table, LSR distributes a la- bel for this route.
In MPLS, there are two label distribution modes: � Downstream-on-Demand (DoD) � Downstream Unsolicited (DU) In MPLS, there are two label control modes: � Independent � Ordered In MPLS, there are two label holding modes: � Liberal � Conservative Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) By default, devices of ZTE use DU mode, independent mode and liberal mode. Label Distribution Mode In a MPLS system, a downstream LSR distributes labels for specific FEC and informs upstream LSR. That is, labels are designated by down stream and distributed from down stream to up stream.
LSR1 uses conservative label holding mode. In liberal label holding mode, a LSR can adapt itself to route changes quickly. In conservative label holding mode, a LSR can reduce the number of label bindings. Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) Label Forwarding Table In a label forwarding table, LSR stores binding information of FECs and labels. A LSR maintains the label forwarding through label dis- tribution protocol dynamically. When forwarding messages, LSR looks up the table.
If session has not been established, they prepare to establish a session. The session is a TCP connection establishment procedure, using port number 646. Before establishing the TCP connection, R1 Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) and R2 choose a master according to IP addresses. The router with bigger IP address will acts as the master. The master initiates TCP connection. Here suppose that IP address of R2 is bigger. Therefore, R2 sends TCP connection request.
This configures LDP router-ID ZXR10(config)# In default situation, rules for selecting router ID of an LDP on ZXR10 8900 series switch are as follows: � When mpls ldp router-id command is used to designate ad- dress of an interface as router ID, and an interface has an IP address and is in UP status, this interface will serve as the router ID.
ZXR10 8900 Series User Manual (MPLS Volume) Command Function mpls ldp access-fec {for This configures the labels for ZXR10(config)# <prefix-access-list>| host-route-only} network segments LDP can generate mpls label range <min-label><max-l This sets usable label range ZXR10(config)# abel> of LDP mpls ldp advertise-labels [for...
Examples MPLS Basic Configuration Example As shown in Figure 15, R1, R2 and R3 are in the same MPLS do- main. R1 is a switch of ZXR10 8900 series switch. R2 and R3 are routers. 15 MPLS B IGURE ASIC...
Page 30
ZXR10 8900 Series User Manual (MPLS Volume) R1(config-if)#ip address 100.0.0.254 255.255.255.0 R1(config-if)#exit R1(config)#router ospf 1 R1(config-router)#network 1.1.1.1 0.0.0.0 area 0 R1(config-router)#network 30.0.0.1 0.0.0.3 area 0 R1(config-router)#redistribute connected R1(config-router)#exit R1(config)#mpls ip Configuration on R2: R2(config)#interface loopback1 R2(config-if)#ip address 1.1.1.2 255.255.255.255 R2(config-if)#exit...
Label Distribution Example for Specified Nerwork Segment As shown in Figure 16, R1, R2 and R3 are in the same MPLS do- main. R1 is a switch of G series. R2 and R3 are routers. Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) 16 L IGURE ABEL ISTRIBUTION XAMPLE In MPLS VPN, LDP only generates labels for MPLS Router-ID. LIB information on R1 is shown below. R1#show mpls ldp bindings 1.1.1.1/32 local binding: label: imp-null remote binding: lsr: 1.1.1.2:0, label: 19 1.1.1.2/32...
Discovery hello: holdtime: 15 sec; interval: 5 sec Downstream on Demand max hop count: 255 LDP initial/maximum backoff: 15/120 sec LDP loop detection: off To view LDP discovery message, use the following command. Confidential and Proprietary Information of ZTE CORPORATION...
Page 34
ZXR10 8900 Series User Manual (MPLS Volume) Command Function show mpls ldp discovery This displays the LDP discovery ZXR10# message This command is to show IP address (Transport IP address) used to set up TCP link by LDP neighbors discovered on the interfaces.
Page 35
InLabel means label bundled locally. � OutLabel means label studied from down stream. � If the label notified from down stream is imp-null, it will do Pop tag. To view MPLS debugging information, perform the following steps. Confidential and Proprietary Information of ZTE CORPORATION...
Page 36
ZXR10 8900 Series User Manual (MPLS Volume) Command Function debug mpls ldp transport This monitors the message ZXR10# LDP discovered debug mpls ldp session This monitors the LDP session ZXR10# debug mpls ldp messages This monitors the message ZXR10# sending to/receiving from LDP...
� Improving resource utilization Since label switching is used on the network, user’s LANs at different points can use repeated IP addresses to improve the utilization of IP resources. � Improving network speed Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) Since label switching is used, the address search time in each hop process is shortened, the transmission time of data on a network is reduced, and the network speed is improved. � Improving flexibility and scalability Since MPLS uses AnyToAny connection, the network flexibility and scalability are improved.
If the value of the type field is 0, the administrator subfield contains an IPv4 address. RFC2547bis recommends that the IP address of a router (this address is normally configured as router ID) should be used, and this address is a public address. Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) If the value of the type field is 1, the administrator subfield con- tains an AS number. RFC2547bis recommends that the public AS number for IANA allocation should be the AS number of the ISP or the customer.
P0 and P1 from P4 and then goes to Internet. For VPN A, traffic from user A and user B to P2 and P3, and traffic going back to P2 and P3 from P4 are load balanced. Confidential and Proprietary Information of ZTE CORPORATION...
Smartgroup link has important function. Smartgroup link may exist between CE and PE, PE and PE, PE and P, P and P. ZXR10 8900 series switch supports MPLS L3VPN load balance on Smartgroup link. Moreover, ZXR10 8900 series switch supports different load balance policies in different situations.
According to label (public network label, private network, pub- lic+private network label) ZXR10 8900 series switch can support up to 32 Smartgroups. There are up to 8 ports in each Smartgroup. Balance efficiency ratio can reach 100%. The convergence time is within 600ms.
This example shows how to configure VRF on PE. As shown in Figure 20, R1, R2 and R3 are in the same MPLS do- main. R1 is a device of ZXR10 8900 series switch. R2 and R3 are routers. 20 C IGURE...
ZXR10 8900 Series User Manual (MPLS Volume) Configuring Static Route between CE and PE To configure a static route to CE on a PE, use the following com- mand. Command Function ip route vrf <vrf-name><prefix of This configures a static route to ZXR10(config)# destination ip address><network mask><next hop...
This redistributes a direct ZXR10(config-router-af)# route to RIP redistribute bgp-int This redistributes IBGP to RIP ZXR10(config-router-af)# Example This example shows how to configure RIP between CE1 and PE1, as shown in Figure Confidential and Proprietary Information of ZTE CORPORATION...
Configurations on CE2 and PE2 are similar to that on CE1 and PE1. Route information on CE1 is shown below. CE1#show ip route ospf IPv4 Routing Table: Dest Mask Interface Owner metric 10.2.0.0 255.255.255.252 10.1.0.2 fei_1/1 ospf 10.2.1.0 255.255.255.0 10.1.0.2 fei_1/2 ospf Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) The result shows that CE1 has learned route from CE2 through OSPF. Route information on CE2 is shown below. CE2#show ip route ospf IPv4 Routing Table: Dest Mask Interface Owner metric 10.1.0.0 255.255.255.252 10.2.0.2...
<ip-address> This configures a BGP ZXR10(config-router)# remote-as <as-number> neighbor neighbor <ip-address> This activates a neighbor ZXR10(config-router)# activate neighbor <ip-address> This configures the source ZXR10(config-router)# update-source loopback<1-64> address of updated route Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) Command Function address-family ipv4 vrf This enters IPv4 address ZXR10(config-router)# family configuration mode <vpn-name> neighbor <ip-address> This activates a neighbor ZXR10(config-router-af)# activate Example This example shows how to configure MPBGP between PE1 and...
As shown in Figure 26, in a MPLS domain, PE1, P and PE2 run MPBGP, MPLS and OSPF. CE1 and PE1 run BGP. CE2 and PE2 run OSPF. 26 MPLS L3VPN C IGURE ONFIGURATION XAMPLE Confidential and Proprietary Information of ZTE CORPORATION...
VC, HDLC or PPP. Each pair of such ports are represented by sole VC Label VCID. LSP tunnel through MPLS net should be defined between two PE routers and should provide Tunnel Label transparently transmitting Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) data between two PE routers. At the same time, direct process of LDP label distribution protocol is also defined between two PE routers to transmit virtual link information. Among them, dis- tributing VC Label through matching VCID is critical.
VC-ID. It is assumed that PE1 distributes a VC label of 102 to PE2 and a VC label of 103 to PE3. PE2 distributes a VC label of 201 to PE1 Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) and a VC label of 203 to PE3. PE3 distributes a VC label of 301 to PE1 and a VC label of 302 to PE2. A host which connects to CE1 sends a frame with source MAC ad- dress X and destination MAC address Y to PE1.
Page 63
LDP neighbor. VPLS module function is based on LDP protocol. To establish PW between indirect PEs, it is important to establish LDP neighbor through switching TARGET HELLO of LDP, and then distribute label of PW. Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) Command Function clear mac-table vfi <vfi-name> This configures to clear the ZXR10# corresponding MAC address table of designated VPLS on privileged mode. mac learning-strategy micode This configures MAC learning ZXR10(config)# mode. mac learn special...
The following describes the configurations of each device. PE1 configuration: PE1(config)#interface loopback10 PE1(config-if)#ip address 1.1.1.1 255.255.255.255 PE1(config)#interface vlan100 PE1(config-if)#mpls xconnect 1.1.1.3 100 PE1(config)#interface vlan10 PE1(config-if)#ip address 175.1.1.1 255.255.255.0 PE1(config-if)#mpls ip PE1(config)#mpls ip PE1(config)#mpls ldp router-id loopback10 force Confidential and Proprietary Information of ZTE CORPORATION...
PE2. This PW type is called SPOKE PW. 32 VPLS C IGURE ONFIGURATION XAMPLE Router IDs of PE10 and PE20 are 1.1.1.10 and 1.1.1.20. Configu- ration is as follows. P (PE3) configuration: P(config)#vfi vpls_a P(config-vfi)#peer 1.1.1.10 spoke P(config-vfi)#peer 1.1.1.20 spoke Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) For other configurations, refer to PE1. PE10 configuration: PE10(config)#vfi vpls_a PE10(config-vfi)#peer 1.1.1.2 spoke For other configurations, refer to PE1. PE20 configuration: PE20(config)#vfi vpls_a PE20(config-vfi)#peer 1.1.1.2 spoke Layer 2 Control Message Transparent Transmission VPLS Network...
Configuration Maintenance and Diagnosis To maintain layer 2 message transparent transmission, perform the following step. Command Function show vfi <vfi-name> This views a vfi detailed ZXR10(config-vfi)# information including layer 2 message transparent transmission configuration policy. Confidential and Proprietary Information of ZTE CORPORATION...
Page 72
ZXR10 8900 Series User Manual (MPLS Volume) This page is intentionally blank. Confidential and Proprietary Information of ZTE CORPORATION...
MPLS echo reply packet with return to be 6. After receiving re- ply packet, LSR1 learns address of LSR2. LSR1 sends MPLS echo requests whose TTL values increment by 1. After receiving such Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 8900 Series User Manual (MPLS Volume) request, LSR5 takes out MPLS label and sends this echo request packet to LSR6 as a common IP packet. After receiving this echo request packet, LSR6 processes echo request and returns an MPLS echo reply packet with return value to be 3 to LSR1 along the re- verse path.
Page 75
100 to 1500, 100 by default. interval < msec This is timeout time (in seconds), ranging from > 1 to 60. reply mode Response mode of reply packet: ipv4 or reply-mode reply-alert Confidential and Proprietary Information of ZTE CORPORATION...
Page 76
ZXR10 8900 Series User Manual (MPLS Volume) Parameter Description < ttl > This sets TTL value, ranging from 1 to 255. destination This is destination address, dotted decimal notation. Confidential and Proprietary Information of ZTE CORPORATION...
Basic Configuration of MPLS TE HOT-STANGBY Hot-standby configuration is on tunnel interface of header node based on configuration of MPLS TE. The configuration command is as follows: Confidential and Proprietary Information of ZTE CORPORATION...
Figure 28 Network of VPLS ..........53 Figure 29 VPWS Configuration Example ........57 Figure 30 VPLS Configuration Example 1.......58 Figure 31 VPLS Configuration Example 2.......60 Figure 32 VPLS Configuration Example 3.......61 Figure 33 LSP TRACE Working Principle.........65 Confidential and Proprietary Information of ZTE CORPORATION...
Page 82
ZXR10 8900 Series User Manual (MPLS Volume) Figure 34 hot-standby Configuration Example......70 Confidential and Proprietary Information of ZTE CORPORATION...
- Label Edge Router - Label Information Base - Label Switched Path - Label Switched Router MPLS - Multi Protocol Label Switching - Network Control Protocol OSPF - Open Shortest Path First - Provider Edge Confidential and Proprietary Information of ZTE CORPORATION...
Page 84
ZXR10 8900 Series User Manual (MPLS Volume) - Point to Point Protocol - Quality of Service - Route Distinguisher - Request For Comments RSVP - Resource ReSerVation Protocol - Transfer Control Protocol - User Datagram Protocol - Virtual Circuit - Virtual Channel Connection...
Need help?
Do you have a question about the ZXR10 8900 Series and is the answer not in the manual?
Questions and answers