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
在这里插入图片描述
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.
在这里插入图片描述

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.
在这里插入图片描述
Great! we are advertising our /24 and everything is now working perfectly. Unsuppress maps to the rescue!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值