We have a small, three-site network, and we're migrating to an MPLS cloud for site connectivity. Starting at the internet and working in, each site will look like this:
Internet --> Internet Provider Router --> Firewall --> LAN Router --> MPLS Provider Router --> MPLS Cloud
The firewall and LAN router at each site participates in OSPF and is a part of area 0. Each site needs to redistribute their OSPF routes into BGP, and we are unfamiliar with how to do this.
Here is our OSPF config from one site/router:
router ospf 1
network 192.168.16.0 0.0.7.255 area 0
network 192.168.50.0 0.0.0.255 area 0
network 192.168.117.0 0.0.0.255 area 0
It seems that the only command to redistribute these routes into BGP is this:
router bgp 100
redistribute ospf 1
Can someone please confirm if this is correct or if anything else is needed? Are there any other considerations?