MPLS L3VPN Configuration Example
1521
# Specify to inject direct routes to the VPN routing table of vpn1.
[PE1] bgp 100
[PE1-bgp] ipv4-family vpn-instance vpn1
[PE1-bgp-vpn1] import-route direct
[PE1-bgp-vpn1] quit
2 Configure ASBR-PE 1
# Start IS-IS on ASBR-PE 1.
<ASBR-PE1> system-view
[ASBR-PE1] isis 1
[ASBR-PE1-isis-1] network-entity 10.222.222.222.222.00
[ASBR-PE1-isis-1] quit
# Configure LSR ID, enable MPLS and LDP.
[ASBR-PE1] mpls lsr-id 3.3.3.9
[ASBR-PE1] mpls
[ASBR-PE1-mpls] lsp-trigger all
[ASBR-PE1-mpls] label advertise non-null
[ASBR-PE1-mpls] quit
[ASBR-PE1] mpls ldp
[ASBR-PE1-mpls-ldp] quit
# Configure interface Serial 2/0, start IS-IS and enable MPLS and LDP on the
interface.
[ASBR-PE1] interface serial 2/0
[ASBR-PE1-Serial2/0] ip address 1.1.1.1 255.0.0.0
[ASBR-PE1-Serial2/0] isis enable 1
[ASBR-PE1-Serial2/0] mpls
[ASBR-PE1-Serial2/0] mpls ldp
[ASBR-PE1-Serial2/0] quit
# Configure interface Serial 2/1 and enable MPLS.
[ASBR-PE1] interface serial 2/1
[ASBR-PE1-Serial2/1] ip address 11.0.0.2 255.0.0.0
[ASBR-PE1-Serial2/1] mpls
[ASBR-PE1-Serial2/1] quit
# Configure interface Loopback 0 and start IS-IS on it.
[ASBR-PE1] interface loopback 0
[ASBR-PE1-LoopBack0] ip address 3.3.3.9 32
[ASBR-PE1-LoopBack0] isis enable 1
[ASBR-PE1-LoopBack0] quit
# Start BGP on ASBR-PE 1.
[ASBR-PE1] bgp 100
[ASBR-PE1-bgp] peer 2.2.2.9 as-number 100
[ASBR-PE1-bgp] peer 2.2.2.9 connect-interface loopback 0
[ASBR-PE1-bgp] peer 11.0.0.1 as-number 600
[ASBR-PE1-bgp] peer 11.0.0.1 connect-interface serial 2/1
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?
Questions and answers