0% found this document useful (0 votes)
18 views8 pages

Inter-Autonomous MPLS-VPN - Option

The document describes the configuration of multiple routers to establish MPLS-VPNs between two autonomous systems using BGP and MPLS. Routers are configured with interfaces, OSPF, MPLS, BGP, and VPNv4 address-families to establish MPLS-VPNs between the autonomous systems and their attached networks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views8 pages

Inter-Autonomous MPLS-VPN - Option

The document describes the configuration of multiple routers to establish MPLS-VPNs between two autonomous systems using BGP and MPLS. Routers are configured with interfaces, OSPF, MPLS, BGP, and VPNv4 address-families to establish MPLS-VPNs between the autonomous systems and their attached networks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 8

Inter-Autonomous MPLS-VPN - Option A (PM Networking)

======================================================

R1
==================================
Hostname R1
mpls label range 100 199
int fa3/0
no shut
ip add 13.1.1.1 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int fa2/0
no shut
ip add 12.1.1.1 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int loop 1
ip add 1.1.1.1 255.255.255.255
ip ospf 1 area 0
exit
router ospf 1
router-id 1.1.1.1
mpls ldp autoconfig
exit
ip vrf A1
rd 1:1
route-target both 100:100
exit
ip vrf B1
rd 2:2
route-target both 200:200
exit
int fa0/0
ip vrf forwarding A1
ip add 19.1.1.1 255.255.255.0
no shutdown
int fa1/0
ip vrf forwarding B1
ip add 10.1.1.1 255.255.255.0
no shutdown
exit
router bgp 65000
no bgp default ipv4-unicast
neighbor 2.2.2.2 remote-as 65000
neighbor 2.2.2.2 update-source loopback 1
address-family vpnv4
neighbor 2.2.2.2 activate
address-family ipv4 unicast vrf A1
neighbor 19.1.1.9 remote-as 100
neighbor 19.1.1.9 as-override
exit
address-family ipv4 unicast vrf B1
neighbor 10.1.1.10 remote-as 200
neighbor 10.1.1.10 as-override
exit
==================================================
R2
============================================
Hostname R2
mpls label range 200 299
int fa2/0
no shut
ip add 12.1.1.2 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int fa0/0
no shut
ip add 24.1.1.2 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int loop 1
ip add 2.2.2.2 255.255.255.255
ip ospf 1 area 0
exit
router ospf 1
router-id 2.2.2.2
mpls ldp autoconfig
exit

router bgp 65000


no bgp default ipv4-unicast
neighbor 1.1.1.1 remote-as 65000
neighbor 1.1.1.1 update-source loopback 1
neighbor 4.4.4.4 remote-as 65000
neighbor 4.4.4.4 update-source loopback 1
address-family vpnv4
neighbor 1.1.1.1 activate
neighbor 4.4.4.4 activate
neighbor 1.1.1.1 route-reflector-client
neighbor 4.4.4.4 route-reflector-client
exit

==============================================
R3
===================================================
Hostname R3
mpls label range 300 399
int fa3/0
no shut
ip add 13.1.1.3 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int fa1/0
no shut
ip add 34.1.1.3 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int loop 1
ip add 3.3.3.3 255.255.255.255
ip ospf 1 area 0
exit
router ospf 1
router-id 3.3.3.3
mpls ldp autoconfig
exit

=======================================================
R4
====================================================
Hostname R4
mpls label range 400 499
int fa0/0
no shut
ip add 24.1.1.4 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int fa1/0
no shut
ip add 34.1.1.4 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int loop 1
ip add 4.4.4.4 255.255.255.255
ip ospf 1 area 0
exit
router ospf 1
router-id 4.4.4.4
mpls ldp autoconfig
exit

ip vrf A1
rd 1:1
route-target both 100:100
exit
ip vrf B1
rd 2:2
route-target both 200:200
exit
int fa2/0
no shutdown

int f2/0.1
ip vrf forwarding A1
encapsulation dot1q 1
ip add 45.1.1.4 255.255.255.0

int f2/0.2
ip vrf forwarding B1
encapsulation dot1q 2
ip add 45.1.1.4 255.255.255.0

exit
router bgp 65000
no bgp default ipv4-unicast
neighbor 2.2.2.2 remote-as 65000
neighbor 2.2.2.2 update-source loopback 1
address-family vpnv4
neighbor 2.2.2.2 activate
exit

============================================
R9
================================================
hostname R9
int fa0/0
no shutdown
ip add 19.1.1.9 255.255.255.0

int loop 1
ip add 192.168.1.1 255.255.255.0
exit

router bgp 100


neighbor 19.1.1.1 remote-as 65000
network 192.168.1.0 mask 255.255.255.0
exit

====================================================
R10
====================================================
hostname R10
int fa1/0
no shutdown
ip add 10.1.1.10 255.255.255.0

int loop 1
ip add 172.16.1.1 255.255.255.0
exit

router bgp 200


neighbor 10.1.1.1 remote-as 65000
network 172.16.1.0 mask 255.255.255.0
exit
=======================================
R8
=====================================
Hostname R8
mpls label range 800 899
int fa0/0
no shut
ip add 78.1.1.8 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int fa1/0
no shut
ip add 68.1.1.8 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int loop 1
ip add 8.8.8.8 255.255.255.255
ip ospf 1 area 0
exit
router ospf 1
router-id 8.8.8.8
mpls ldp autoconfig
exit

ip vrf A2
rd 1:1
route-target both 100:100
exit
ip vrf B2
rd 2:2
route-target both 200:200
exit
int fa2/0
no shutdown

int f2/0
ip vrf forwarding A2
ip add 81.1.1.8 255.255.255.0
no shutdown

int f3/0
ip vrf forwarding B2
ip add 82.1.1.8 255.255.255.0
no shutdown

exit
router bgp 65001
no bgp default ipv4-unicast
neighbor 6.6.6.6 remote-as 65001
neighbor 6.6.6.6 update-source loopback 1
address-family vpnv4
neighbor 6.6.6.6 activate
exit
address-family ipv4 unicast vrf A2
neighbor 81.1.1.11 remote-as 100
neighbor 81.1.1.11 as-override
exit
address-family ipv4 unicast vrf B2
neighbor 82.1.1.12 remote-as 200
neighbor 82.1.1.12 as-override
exit

============================================
R9
================================================
hostname R9
int fa0/0
no shutdown
ip add 19.1.1.9 255.255.255.0

int loop 1
ip add 192.168.1.1 255.255.255.0
exit

router bgp 100


neighbor 19.1.1.1 remote-as 65000
network 192.168.1.0 mask 255.255.255.0
exit

===========================================
R7
=====================================================
Hostname R7
mpls label range 700 799
int fa1/0
no shut
ip add 57.1.1.7 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int fa0/0
no shut
ip add 78.1.1.7 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int loop 1
ip add 7.7.7.7 255.255.255.255
ip ospf 1 area 0
exit
router ospf 1
router-id 7.7.7.7
mpls ldp autoconfig
exit

=============================================
R6
================================================
Hostname R6
mpls label range 600 699
int fa0/0
no shut
ip add 56.1.1.6 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int fa1/0
no shut
ip add 68.1.1.6 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int loop 1
ip add 6.6.6.6 255.255.255.255
ip ospf 1 area 0
exit
router ospf 1
router-id 6.6.6.6
mpls ldp autoconfig
exit

router bgp 65001


no bgp default ipv4-unicast
neighbor 8.8.8.8 remote-as 65001
neighbor 8.8.8.8 update-source loopback 1
neighbor 5.5.5.5 remote-as 65001
neighbor 5.5.5.5 update-source loopback 1
address-family vpnv4
neighbor 8.8.8.8 activate
neighbor 5.5.5.5 activate
neighbor 8.8.8.8 route-reflector-client
neighbor 5.5.5.5 route-reflector-client
exit
==============================================
R5
=========================================================

Hostname R5
mpls label range 500 599
int fa0/0
no shut
ip add 56.1.1.5 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int fa1/0
no shut
ip add 57.1.1.5 255.255.255.0
ip ospf 1 area 0
ip ospf network point-to-point
exit
int loop 1
ip add 5.5.5.5 255.255.255.255
ip ospf 1 area 0
exit
router ospf 1
router-id 5.5.5.5
mpls ldp autoconfig
exit

ip vrf A2
rd 1:1
route-target both 100:100
exit
ip vrf B2
rd 2:2
route-target both 200:200
exit
int fa2/0
no shutdown

int f2/0.1
ip vrf forwarding A2
encapsulation dot1q 1
ip add 45.1.1.5 255.255.255.0

int f2/0.2
ip vrf forwarding B2
encapsulation dot1q 2
ip add 45.1.1.5 255.255.255.0

exit
router bgp 65001
no bgp default ipv4-unicast
neighbor 6.6.6.6 remote-as 65000
neighbor 6.6.6.6 update-source loopback 1
address-family vpnv4
neighbor 6.6.6.6 activate
exit
======================================================
R11
============================================================
hostname R11
int fa2/0
no shutdown
ip add 81.1.1.11 255.255.255.0

int loop 1
ip add 192.168.2.1 255.255.255.0
exit

router bgp 100


neighbor 81.1.1.8 remote-as 65001
network 192.168.2.0 mask 255.255.255.0
exit

=====================================================
R12
=======================================================
hostname R12
int fa3/0
no shutdown
ip add 82.1.1.12 255.255.255.0

int loop 1
ip add 172.16.2.1 255.255.255.0
exit

router bgp 200


neighbor 82.1.1.8 remote-as 65001
network 172.16.2.0 mask 255.255.255.0
exit

You might also like