![](/images/new-backgrounds/1124276/124276207x1.webp)
Black Box LR11xx Series Router Configurations Guide
Blackbox/ configure > firewall internet
Blackbox/configure/firewall internet> policy 100 in proto gre self
Blackbox/configure/firewall internet/policy 100 in> exit
Blackbox/configure/firewall internet> policy 101 in service ike self
Blackbox/configure/firewall internet/policy 101 in> exit 2
Black Box configure> firewall corp
Blackbox/configure/firewall corp> policy 100 in self
Step 5: Check the status of the tunnel by entering:
Blackbox> show ip interface tunnel t0
Step 6:Validate the tunnel configuration by entering:
Blackbox> show crypto ipsec policy all
Or enter:
Blackbox> show crypto ike policy all
18.5 Configuring GRE Site to Site with IPSec and OSPF
This example extends the previous IPSec configuration example by enabling Open Shortest Path First (OSPF) protocol which provides redundant paths for the tunnel.
Step 1: To enable OSPF, add to the Black Box configuration above:
Blackbox> configure terminal
Blackbox/configure> router routerid 2.2.2.2
Blackbox/configure> router ospf
Blackbox/configure/router/ospf> interface t0 area 0
Blackbox/configure/router/ospf> exit
Step 2: Add to the Cisco configuration above
cisco > config t cisco(config)#router ospf 1
Step 3: To verify the OSPF configuration, enter:
Blackbox> show ip ospf interface all
NOTE
Using the redistribute connected command adds a recursive route to the tunnel destination. This will cause the tunnel to shut down. To prevent this, add a
106