10/11/54

MPLS_PE_Router of DMVPN Customer Project.

Configuration of MPLS_PE_Router of DMVPN Customer Project. 

     As below it will be configuration of MPLS_PE_Router as we configure by using vrf "DMVPN" for being section VPN of this customer.

MPLS-PE-1 ************************************************

hostname PE1
!
ip cef
!
ip vrf DMVPN
 rd 100:1
 route-target export 100:1
 route-target import 100:1
!
mpls label protocol ldp
mpls ldp neighbor 10.1.1.11 password cisco
mpls ldp neighbor 10.1.1.22 password cisco
!
interface Loopback0
 ip address 10.1.1.1 255.255.255.255
!
interface Loopback10
 ip vrf forwarding DMVPN
 ip address 10.10.10.1 255.255.255.255
!
interface Ethernet1/0
 description # To P1 e1/0 #
 ip address 192.168.1.2 255.255.255.252
 ip ospf message-digest-key 1 md5 cisco
 mpls ip
!
interface Ethernet1/1
 description # To P2 e1/0 #
 ip address 192.168.1.34 255.255.255.252
 ip ospf message-digest-key 1 md5 cisco
 mpls ip
!
interface Ethernet1/2
 ip vrf forwarding DMVPN
 ip address 10.1.1.9 255.255.255.252
!
router ospf 10 vrf DMVPN
 log-adjacency-changes
 redistribute bgp 100 subnets
 network 10.1.1.9 0.0.0.0 area 0
!
router ospf 1
 router-id 10.1.1.1
 log-adjacency-changes
 max-metric router-lsa on-startup wait-for-bgp
 max-metric router-lsa on-startup 360
 timers throttle lsa all 0 20 5000
 timers lsa arrival 15
 timers pacing flood 15
 timers throttle spf 50 50 5000
 ispf
 area 0 authentication message-digest
 network 10.1.1.1 0.0.0.0 area 0
 network 192.168.1.2 0.0.0.0 area 0
 network 192.168.1.34 0.0.0.0 area 0
!
router bgp 100
 bgp log-neighbor-changes
 neighbor 10.1.1.11 remote-as 100
 neighbor 10.1.1.11 password cisco
 neighbor 10.1.1.11 update-source Loopback0
 neighbor 10.1.1.22 remote-as 100
 neighbor 10.1.1.22 password cisco
 neighbor 10.1.1.22 update-source Loopback0
 !
 address-family ipv4
 neighbor 10.1.1.11 activate
 neighbor 10.1.1.11 send-community
 neighbor 10.1.1.22 activate
 neighbor 10.1.1.22 send-community
 no auto-summary
 no synchronization
 network 10.1.1.1 mask 255.255.255.255
 exit-address-family
 !
 address-family vpnv4
 neighbor 10.1.1.11 activate
 neighbor 10.1.1.11 send-community extended
 neighbor 10.1.1.22 activate
 neighbor 10.1.1.22 send-community extended
 exit-address-family
 !
 address-family ipv4 vrf DMVPN
 redistribute ospf 10 vrf DMVPN match internal external 1 external 2
 no synchronization
 exit-address-family
!
mpls ldp router-id Loopback0 force
!



MPLS-PE-2 ************************************************

hostname PE2
!
ip cef
!
ip vrf DMVPN
 rd 100:1
 route-target export 100:1
 route-target import 100:1
!
mpls label protocol ldp
mpls ldp neighbor 10.1.1.11 password cisco
mpls ldp neighbor 10.1.1.22 password cisco
!
interface Loopback0
 ip address 10.1.1.2 255.255.255.255
!
interface Loopback10
 ip vrf forwarding DMVPN
 ip address 10.10.10.2 255.255.255.255
!
interface Ethernet1/0
 description # To P1 e1/1 #
 ip address 192.168.1.6 255.255.255.252
 ip ospf message-digest-key 1 md5 cisco
 half-duplex
 mpls ip
!
interface Ethernet1/1
 description # To P2 e1/1 #
 ip address 192.168.1.38 255.255.255.252
 ip ospf message-digest-key 1 md5 cisco
 half-duplex
 mpls ip
!
interface Ethernet1/2
 ip vrf forwarding DMVPN
 ip address 10.1.1.13 255.255.255.252
 half-duplex
!
router ospf 10 vrf DMVPN
 log-adjacency-changes
 redistribute bgp 100 subnets
 network 10.1.1.13 0.0.0.0 area 0
!
router ospf 1
 router-id 10.1.1.2
 log-adjacency-changes
 max-metric router-lsa on-startup wait-for-bgp
 max-metric router-lsa on-startup 360
 timers throttle lsa all 0 20 5000
 timers lsa arrival 15
 timers pacing flood 15
 timers throttle spf 50 50 5000
 ispf
 area 0 authentication message-digest
 network 10.1.1.2 0.0.0.0 area 0
 network 192.168.1.6 0.0.0.0 area 0
 network 192.168.1.38 0.0.0.0 area 0
!
router bgp 100
 bgp log-neighbor-changes
 neighbor 10.1.1.11 remote-as 100
 neighbor 10.1.1.11 password cisco
 neighbor 10.1.1.11 update-source Loopback0
 neighbor 10.1.1.22 remote-as 100
 neighbor 10.1.1.22 password cisco
 neighbor 10.1.1.22 update-source Loopback0
 !
 address-family ipv4
 neighbor 10.1.1.11 activate
 neighbor 10.1.1.11 send-community
 neighbor 10.1.1.22 activate
 neighbor 10.1.1.22 send-community
 no auto-summary
 no synchronization
 network 10.1.1.2 mask 255.255.255.255
 exit-address-family
 !
 address-family vpnv4
 neighbor 10.1.1.11 activate
 neighbor 10.1.1.11 send-community extended
 neighbor 10.1.1.22 activate
 neighbor 10.1.1.22 send-community extended
 exit-address-family
 !
 address-family ipv4 vrf DMVPN
 redistribute ospf 10 vrf DMVPN match internal external 1 external 2
 no synchronization
 exit-address-family
!
mpls ldp router-id Loopback0 force
!



MPLS-PE-8 ************************************************

hostname PE8
!
ip cef
!
ip vrf DMVPN
 rd 100:1
 route-target export 100:1
 route-target import 100:1
!
!
mpls label protocol ldp
mpls ldp neighbor 10.1.1.11 password cisco
mpls ldp neighbor 10.1.1.22 password cisco
!
interface Loopback0
 ip address 10.1.1.8 255.255.255.255
!
interface Loopback10
 ip vrf forwarding DMVPN
 ip address 10.10.10.8 255.255.255.255
!
interface Ethernet1/0
 description # To P1 e2/0 #
 ip address 192.168.1.18 255.255.255.252
 ip ospf message-digest-key 1 md5 cisco
 half-duplex
 mpls ip
!
interface Ethernet1/1
 description # To P2 e2/0 #
 ip address 192.168.1.50 255.255.255.252
 ip ospf message-digest-key 1 md5 cisco
 half-duplex
 mpls ip
!
interface Ethernet1/2
 ip vrf forwarding DMVPN
 ip address 10.1.1.1 255.255.255.252
 half-duplex
!
interface Ethernet1/3
 ip vrf forwarding DMVPN
 ip address 10.1.1.5 255.255.255.252
 half-duplex
!
router ospf 10 vrf DMVPN
 log-adjacency-changes
 redistribute bgp 100 subnets
 network 10.1.1.1 0.0.0.0 area 0
 network 10.1.1.5 0.0.0.0 area 0
!
router ospf 1
 router-id 10.1.1.8
 log-adjacency-changes
 max-metric router-lsa on-startup wait-for-bgp
 max-metric router-lsa on-startup 360
 timers throttle lsa all 0 20 5000
 timers lsa arrival 15
 timers pacing flood 15
 timers throttle spf 50 50 5000
 ispf
 area 0 authentication message-digest
 network 10.1.1.8 0.0.0.0 area 0
 network 192.168.1.18 0.0.0.0 area 0
 network 192.168.1.50 0.0.0.0 area 0
!
router bgp 100
 bgp log-neighbor-changes
 neighbor 10.1.1.11 remote-as 100
 neighbor 10.1.1.11 password cisco
 neighbor 10.1.1.11 update-source Loopback0
 neighbor 10.1.1.22 remote-as 100
 neighbor 10.1.1.22 password cisco
 neighbor 10.1.1.22 update-source Loopback0
 !
 address-family ipv4
 neighbor 10.1.1.11 activate
 neighbor 10.1.1.11 send-community
 neighbor 10.1.1.22 activate
 neighbor 10.1.1.22 send-community
 no auto-summary
 no synchronization
 network 10.1.1.8 mask 255.255.255.255
 exit-address-family
 !
 address-family vpnv4
 neighbor 10.1.1.11 activate
 neighbor 10.1.1.11 send-community extended
 neighbor 10.1.1.22 activate
 neighbor 10.1.1.22 send-community extended
 exit-address-family
 !
 address-family ipv4 vrf DMVPN
 redistribute ospf 10 vrf DMVPN match internal external 1 external 2
 no synchronization
 exit-address-family
!
mpls ldp router-id Loopback0 force
!

ไม่มีความคิดเห็น:

แสดงความคิดเห็น