配置路由重分发命令
进入某个路由协议内:
-redistribut [ospf/rip/bgp/static/connected] metric [metric_value] metric-type [metric-type_value] subnets
解释:
connected:直连路由
static:静态路由
metric:度量值
metric-type:度量类型
subnets:连子网一起宣告
注意:
在RIP中重分发OSPF的时候必须带上度量值(10)
在RIP中重分发EIGRP的时候必须带上度量值(10)
在OSPF中重分发RIP、EIGRP的时候必须带上度量值(200),一般也需要带上子网
在EIGRP中重分发RIP、OSPF的时候必须:-re rip/ospf metric 10000 100 255 1 1500