设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1084|回复: 1
收起左侧

[求助] 关于route-map是否可以使用set命令修改管理距离的问题?

[复制链接]
发表于 2016-5-1 10:48:15 | 显示全部楼层 |阅读模式
10鸿鹄币
比如说这张拓扑图,在R1上使用redistribute rip eigrp metric...将RIP路由重分发进EIGRP,然后又在R2上使用redistribute eigrp subnets将EIGRP的路由重分发进OSPF,这个时候在
R3上就会出现到达RIP路由域的172.16.1.0网络的次优路径。
为什么呢?因为之前在R1上做了将RIP路由域重分发进EIGRP操作,在R2和R3的路由表上
会出现有一条DEX的路由,管理距离为170,之后又在R2上做了将EIRP的路由重分发进OSPF,
而在R3上同时收到了分别又OSPF域内的R2和EIGRP域内的R1收到的172.16.1.0路由,一比较管理距离
,发现来自有OSPF的外部路由管理距离小些,所以强R2给它的加入路由表。
解决这个问题,最简单的方法就是在R3的OSPF配置模式下使用这条命令:
distance ospf external 180,来配置来自于R2发过来的外部路由,这样R3就会将管理距离为170的EIGRP重新
加表了。
现在我有个疑问:那能否在R2上建立一个route-map,使用ACL定义172.16.1.0这条路由条目,
然后在Route-map使用match匹配这条路由,然后使用set直接设置管理距离?
我尝试了下,发现不可以,那有没有别的方法解决这个问题?
tic-tag     Automatically compute TAG value
  clns              OSI summary address
  comm-list         set BGP community list (for deletion)
  community         BGP community attribute
  dampening         Set BGP route flap dampening parameters
  default           Set default information
  extcomm-list      Set BGP/VPN extended community list (for deletion)
  extcommunity      BGP extended community attribute
  global            Set to global routing table
  interface         Output interface
  ip                IP specific information
  ipv6              IPv6 specific information
  level             Where to import route
  local-preference  BGP local preference path attribute
  metric            Metric value for destination routing protocol
  metric-type       Type of metric for destination routing protocol
  mpls-label        Set MPLS label for prefix
  origin            BGP origin code
  tag               Tag value for destination routing protocol
  traffic-index     BGP traffic classification number for accounting
  vrf               Define VRF name
  weight            BGP weight for routi

捕获.PNG

最佳答案

查看完整内容

修改172.16.1.0 网段路由在EIGRP的管理距离为109
发表于 2016-5-1 10:48:16 | 显示全部楼层
修改172.16.1.0 网段路由在EIGRP的管理距离为109
沙发 2016-5-1 10:48:16 回复 收起回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2024-4-26 18:39 , Processed in 0.056932 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

快速回复 返回顶部 返回列表