06-26-2023 06:03 AM
I currently have a cisco NCS5700 Series Router, and I was trying to route leak Public IP address from a vrf into the global routing table of the route. I looked at the documentation on this on Cisco's website, but the examples only showed routing using private addressing, and it showed them adding the network address to the vrf portion of the bgp configuration. I am not sure that adding a default route as my network address under the bgp configuration would be a good idea, so I am looking for an alternate solution to accomplish my route leaking.
Solved! Go to Solution.
07-05-2023
06:59 AM
- last edited on
02-02-2024
12:58 AM
by
Translator
friend the devil in detail
Mr @Harold Ritter link excellent and in step 2 in guide there is route-policy
Step 2. Configure the route policies, these policies are intended to help you filter which prefixes are permitted to be leaked. In this example, the
route-policy GLOBAL-2-VRF
and
route-policy VRF-2-GLOBAL
are used.
06-26-2023
06:36 AM
- last edited on
02-02-2024
12:40 AM
by
Translator
hello @vngrtn,
To route leak a public IP address from a VRF into the global routing table on your Cisco NCS5700 Series Router, you can use the
export map to global
command. This allows you to selectively export specific routes from the VRF into the global routing table.
06-26-2023 06:40 AM - edited 06-26-2023 10:12 AM
you can please check @Harold Ritter comment.
06-26-2023 08:53 AM - edited 06-26-2023 09:06 AM
Hi @MHM Cisco World ,
It is certainly possible to leak routes between the global routing table and VRFs or vice versa. That functionality has been available for a long time.
Regards,
06-26-2023 07:04 AM
Hi @vngrtn ,
Only routes present in BGP can be leaked. In the example they use a network statement to locally inject the route in BGP, but it is not required if the route is received from the CE via BGP. Also it doesn't matter if the routes are public or private.
Regards,
07-05-2023 06:50 AM
Getting out of the VRF into the Global Routing table is where I have the issue. I am only advertising routes from my network to my edge routers, and peer routers. I have a BGP peer for internet on this router, and I am receiving a full BGP routing table from my peer rather than a default router. I do not want to insert a full routing table into my VRF so that it can route out to the internet.
07-05-2023
06:59 AM
- last edited on
02-02-2024
12:58 AM
by
Translator
friend the devil in detail
Mr @Harold Ritter link excellent and in step 2 in guide there is route-policy
Step 2. Configure the route policies, these policies are intended to help you filter which prefixes are permitted to be leaked. In this example, the
route-policy GLOBAL-2-VRF
and
route-policy VRF-2-GLOBAL
are used.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide