Category:Cisco Systems -> Routing and Switching
OSPF templates with changed values for reference and analysis.
Template #1
router ospf 65235 vrf Global
router-id 192.168.140.1
log-adjacency-changes
auto-cost reference-bandwidth 100000
area 0 authentication message-digest
timers throttle spf 50 50 2000
timers lsa arrival 15000
timers pacing lsa-group 20
redistribute connected subnets route-map RM-GLOBAL-CONN-TO-OSPF
redistribute static subnets route-map RM-GLOBAL-STATIC-TO-OSPF
passive-interface default
no passive-interface Vlan883
no passive-interface Vlan885
network 192.168.150.184 0.0.0.3 area 0
network 192.168.150.188 0.0.0.3 area 0
ip route vrf Global 192.168.128.0 255.255.128.0 192.168.140.5 tag 65235 name <route description>
// The following route will NOT be redistributed by OSPF due to missing tag
ip route vrf Global 172.16.10.128 255.255.255.192 192.168.150.185 name <route description>
route-map RM-GLOBAL-CONN-TO-OSPF permit 100
description --- Set tag on connected routes into OSPF ---
set tag 65235
route-map RM-GLOBAL-STATIC-TO-OSPF permit 100
description --- Matched tagged static routes and only redistribute those ---
match tag 65235
interface Vlan883
description --- Global VRF - WS Facing - Link 1
ip vrf forwarding Global
ip address 192.168.150.186 255.255.255.252
ip ospf message-digest-key 1 md5 7 <encrypted key>
ip ospf network point-to-point
ip ospf hello-interval 1
ip ospf dead-interval 3
interface Vlan885
description --- Global VRF - WS Facing - Link 2
ip vrf forwarding Global
ip address 192.168.150.190 255.255.255.252
ip ospf message-digest-key 1 md5 7 <encrypted key>
ip ospf network point-to-point
ip ospf hello-interval 1
ip ospf dead-interval 3
end