把rip重发布到ospf r1: router ospf 110 redistribute rip subnets (默认只有有类的网络重发布进ospf) default-metric (更改metric) 重发布静态到ospf redistribute static subnets(把静态路由重发布进ospf不能把默认路由重发布进来) 重发布直连到ospf redistribute connected subnets 单点双向重发布。 双点双向重发布。
route-map REDIST_STATIC_TO_OSPF permit 10:定义了一个名为REDIST_STATIC_TO_OSPF的route-map条目,序列号为10,并且允许匹配到的路由通过。 match ip address prefix-list STATIC_ROUTES:使用prefix-listSTATIC_ROUTES来匹配特定的IP前缀(在这个例子中是192.168.1.0/24)。 set metric 20:为匹配到的路由设置OSPF的...
router ospf 1 router-id 1.1.1.1 log-adjacency-changes redistribute static subnets route-map cisco network 1.1.1.1 0.0.0.0 area 0 network 2.2.2.0 0.0.0.3 area 0 做完后在R2上就只能看到3.3.3.0 的路由了 1.0.0.0/32 is subnetted, 1 subnets O 1.1.1.1 [110/11] via...
R1(config)#route-map R permit 30 match什么都不写,默认就是全部permit,不写set,则代表set nothing 五、各种协议的管理距离 六、双点双向重发布 1.现象:R1通过RIP学到R2的环回口路由,R4也通过RIP学到R2的环回口路由,由于R1将R2的环回口路由重分布进了OSPF中,所以R4还可以通过OSPF学到到R2环回口路由,但RIP...
Redistribute&Route-Map Flsm定长掩码 Vlsm可变长的掩码 1.Seed Metrics 命令default-metricNumber 2.实验 路由进程中 A--->B R1(config-router)#redistribute ospf 110 metric1 重分布静态R1(config-router)#redistribute static 重分布直连R1(config-router)#redistribute connected 重分布进...
redistribute static metric 10 subnets route-map shebaoRIP,##重新分配静态度量的10个子网路由映射在网络路由中,动态路由协议(如RIP、OSPF等)通常用于自动学习和分发路由信息。但是,有时我们也需要手动配置静态路由来指定特定的网络路径。为了进一步优化网络流量和资
(默认Seed Cost=20,如果将BGP->OSPF,默认=1) R1(config-router)#redistribute rip subnets metric 10 metric-type 1 (加上路径Cost,默认为E2) R1(config-router)#redistribute connected subnets R1(config-router)#redistribute static subnets 还可在后面加router-map来过滤路由 ...
redistribute {bgp id | direct | eigrp id | ospf id | static} route-map map-name Syntax Description bgp id direct eigrp id ospf id static route-map map-name Redistributes routes from the Border Gateway Protocol (BGP). The ID is an autonomous system number. The range for 2-byte numbers ...
redistribute static route-map bgp-Redistribute-STATIC redistribute ospf 1 route-map redistribute-OSPF-to-BGP neighbor 172.16.200.17 remote-as 65000 This is an IBGP connection because your AS is the same as your neighbor AS. Masoud 0 Helpful Reply gensonator Level 1 In response to Masoud Pour...
route-map test permit 10 match ip address prefix-list Default set metric 10000 1 255 1 1500 R2: router eigrp 1 redistribute static route-map test no auto-summary ip route 0.0.0.0 0.0.0.0 x.x.x.x ip prefix-list Default description Default_Only ip prefix-list Default seq 5 permit 0.0...