DMVPN - Template + Multicast
!------------------------------------------------ !-- Encryption !------------------------------------------------ ! crypto ikev2 keyring cisco-ikev2-keyring peer dmvpn-node address 0.0.0.0 0.0.0.0 pre-shared-key Z5W.jNKwMI1VjETMy.$1$KLLK$3fO/ ! ! ! crypto ikev2 profile cisco-ikev2-profile match identity remote address 0.0.0.0 authentication local pre-share authentication remote pre-share keyring local cisco-ikev2-keyring ! ! crypto ikev2 dpd 40 5 on-demand ! crypto ipsec security-association replay window-size 512 ! crypto ipsec transform-set AES256-SHA256 esp-aes 256 esp-sha256-hmac mode transport ! crypto ipsec profile cisco-ipsec-ikev2 set transform-set AES256-SHA256 set ikev2-profile cisco-ikev2-profile ! ! !------------------------------------------------ !-- HUB1 !------------------------------------------------ ! interface Tunnel100 bandwidth [[Bandwidth]] ip address [[HUB1 Tunnel IP]] 255.255.255.0 no ip redirects ip mtu 1400 ip pim nbma-mode ip pim sparse-mode ip ospf network broadcast ip nhrp authentication cbt0713 ip nhrp map multicast dynamic ip nhrp nhs [[HUB2 Tunnel IP]] nbma [[HUB2 MPLS IP]] multicast ip nhrp network-id 1 ip tcp adjust-mss 1360 if-state nhrp ip nhrp redirect qos pre-classify cdp enable tunnel source [[HUB1 MPLS Interface]] tunnel mode gre multipoint tunnel protection ipsec profile cisco-ipsec-ikev2 router ospf 1 log-adjacency-changes redistribute connected network [[HUB1 Tunnel IP]] 0.0.0.0 area 0 !------------------------------------------------ !-- HUB2 !------------------------------------------------ interface Tunnel100 bandwidth [[Bandwidth]] ip address [[HUB2 Tunnel IP]] 255.255.255.0 no ip redirects ip mtu 1400 ip pim nbma-mode ip pim sparse-mode ip ospf network broadcast ip nhrp authentication cbt0713 ip nhrp map multicast dynamic ip nhrp nhs [[HUB1 Tunnel IP]] nbma [[HUB1 MPLS IP]] multicast ip nhrp network-id 1 ip tcp adjust-mss 1360 if-state nhrp ip nhrp redirect qos pre-classify cdp enable tunnel source [[HUB2 MPLS Interface]] tunnel mode gre multipoint tunnel protection ipsec profile cisco-ipsec-ikev2 ! router ospf 1 log-adjacency-changes redistribute connected network [[HUB2 Tunnel IP]] 0.0.0.0 area 0 !------------------------------------------------ !-- Spoke !------------------------------------------------ interface Tunnel100 bandwidth [[Bandwidth]] ip address [[Spoke Tunnel IP]] 255.255.255.0 no ip redirects ip mtu 1400 ip pim dr-priority 0 ip pim sparse-mode ip ospf network broadcast ip nhrp authentication cbt0713 ip nhrp network-id 1 ip nhrp holdtime 60 ip nhrp nhs [[HUB1 Tunnel IP]] nbma [[HUB1 MPLS IP]] multicast ip nhrp nhs [[HUB2 Tunnel IP]] nbma [[HUB2 MPLS IP]] multicast ip nhrp registration no-unique ip nhrp registration timeout 30 ip nhrp shortcut ip tcp adjust-mss 1360 if-state nhrp cdp enable tunnel source [[Spoke MPLS Interface]] tunnel mode gre multipoint tunnel protection ipsec profile cisco-ipsec-ikev2 router ospf 1 log-adjacency-changes redistribute connected network [[Spoke Tunnel IP]] 0.0.0.0 area 0 !------------------------------------------------ !-- Multicast --! !------------------------------------------------ interface Loopback0 description === Voice Loopback === ip address [[Loopback IP]] 255.255.255.255 ip pim sparse-mode ! interface XXX ip pim sparse-mode ip access-list standard MCAST-GROUPS permit 239.1.0.0 0.0.255.255 ip pim bsr-candidate Loopback0 24 ip pim rp-candidate Loopback0 group-list MCAST-GROUPS interval 10



Bandwidth:
HUB1 Tunnel IP:
HUB2 Tunnel IP:
HUB2 MPLS IP:
HUB1 MPLS Interface:
HUB1 MPLS IP:
HUB2 MPLS Interface:
Spoke Tunnel IP:
Spoke MPLS Interface:
Loopback IP:


Use this code to post the full script to your own page:



Use this code to post only the variables to your own page: