BGP UnSuppress Maps

原文:
https://travelingpacket.com/2017/03/31/cisco-bgp-unsuppress-map/

Unsupress maps in Cisco can really be a very helpful tool in situations where you might be summarizing a bunch of /24s to maybe a /20, but you need to leak out one of the /24s without summarization, and still advertise the larger summary route.

By default, once you use summarize all networks that fall under your summary route do not advertise any more. In my situation I was testing ECMP and needed to advertise one /24 to each of my MPLS neighbors, so my hub router could get back on either path. I couldn’t test this with the full /24 due to outage concerns so we had to do this for a /24 that was not used that often. I am not going to show the layout of the Dual MPLS , but just one.

Below shows the topology
BGP UnSuppress Maps_第1张图片
Great, now for config on the Cisco Routers.

Steps:

  1. Created Prefix list of subnets I need to be unsupressed.
  2. Create a new route-map to match those subnets.
  3. Add the BGP statement referencing my neighbor with the
    “unsuppress-map” keyword.
  4. clear routes soft, to force a refresh.
  5. My Prefix list name will be UMAP and my route-map will be named
    UMAP-MAP

So lets take a look at our advertised routes to my neighbor 10.0.5.22 before making the changes.
BGP UnSuppress Maps_第2张图片

Notice that just the /20 is being advertised. Now check out the config below, and lets apply.

config t
ip prefix-list UMAP seq 5 permit 10.32.39.0/24
route-map UMAP-MAP permit 10
 match ip address prefix-list UMAP
router bgp 64551
neighbor 10.0.5.22 unsuppress-map UMAP-MAP

Then clear update BGP

clear ip bgp * soft

So that’s it for the config. Lets look at the advertised routes now.
BGP UnSuppress Maps_第3张图片
Great! we are advertising our /24 and everything is now working perfectly. Unsuppress maps to the rescue!

你可能感兴趣的:(BGP,IP层,BGP,路由器,交换机,思科)