A, MPLS *** Profile
L3 *** *** MPLS is a technology that uses BGP routing publish *** in ISP, using MPLS packet forwarding ***. MPLS *** There CE, PE and P basic composition, wherein
- CE: Customer Edge, connected to the ISP network
- PE: ISP edge device connected to the client network
- P: ISP core equipment, forward MPLS packets
Two, MPLS works
1, examples ***
*** also known as the VRF instances, isolation between *** each instance, is connected to a different client device usage *** instance on the PE network isolation to achieve customer requirements. *** Information Examples include: IP routing table, label forwarding table management information interface and *** *** instance and instance binding.
2、RD
RD: route ID, when entering the IPv4 route to the CE *** v4 address family, adding 8-byte RD before IPv4 routes, the route prefix *** v4 is formed, avoiding the problem of overlapping customer network
3、*** Target
*** Target guiding the PE family *** v4 address sent to the correct CE device, *** Target direction Import and Export direction into
4, data forwarding process
1) run between the CE and PE PE-CE routing protocol
2) CE PE learn the route entry, into the routing table *** instance
. 3) the PE routes *** instance, two layers of label
- Private label
destination PE to CE target prefixes allocated *** v4- Public network label
reaching the target PE of the MPLS LSP
is then re-advertised to the global address family V4 ***
4) After the target PE receiving the routing information, matching the value of RT, V4 *** prefix with the correct routing instance *** table
Three, MPLS *** Basic Configuration
Lab topology
Configuration Step
1) MPLS configuration
2) PE device configuration example ***
// *** Example Configuration. 1 ***
IP *** - *** instance. 1
IPv4-Family
// Configure the RD
route-distinguisher. 1:. 1
/ / the target configuration ***
*** - 100 target: Export-200 is extcommunity
*** - target 200 is: Import-extcommunity 100
// *** examples interface binding
interface the GigabitEthernet0 / 0/0
IP binding *** - instance 1 ***
ip address 10.1.12.2 255.255.255.0
View *** instance
disp ip *** - instance verbose
CE and PE tested again and again for continuity linear
3) arranged between the PE and CE routing protocol
CE
BGP 100
Router ID-1.1.1.1
Use the peer AS-10.1.12.2 Number 200 is
IPv4 unicast-Family
Use the undo Synchronization
Import-route Direct
Use the peer enable 10.1.12.2
PE
bgp 200
ipv4-family ***-instance ***1
import-route direct
peer 10.1.12.1 as-number 100
View *** v4 neighbor
display bgp *** v4 *** - instance *** 1 peer
4)配置MP-BGP
bgp 200
router-id 2.2.2.2
peer 4.4.4.4 as-number 200
peer 4.4.4.4 connect-interface LoopBack0
ipv4-family ***v4
peer 4.4.4.4 enable
View BGP neighbor
disp bgp peer
View examples of routing ***
View CE1 to CE2 connectivity
Traceroute