CCNP路由实验之八 路由重发布

IOU的CCNP拓扑图 (NP 路由重发布实验) <br />实验拓扑图如下:<br />图中的SW1 为 R6, 帧中继交换机为R7.<br /> <br /> <br /> <br /> <br /> <br /> <br /><br /> <br /> <br /> <br /> <br /> <br />IOU 配置:<br /> <br />----------------------NETMAP---------------------<br />1:1/2 7:1/0<br /> 2:1/2 7:1/1<br /> 3:1/2 7:1/2 阅读详情


                                                                              CCNP路由实验之八 路由重发布

 

   在前面几个实验,已经学习了静态路由和动态路由。现在,我们要掌握如何使它们在一个网络中融合,即路由重发布。路由重分布可以实现多种路由协议之间共享路由信息并进行路由信息交换,使得同一个互联网络中高效地支持多种路由协议提供了可能。执行路由重分布的路由器被称为边界路由器。因为他们位于两个或多个自治系统的边界上。

   路由重分布时,计量单位和管理距离是必须要考虑的因素。每一种路由协议都有自己的度量标准,所以在进行重分布时必须转换度量标准,使得它们兼容。种子度量值(Seed Metric)是定义在路由重分布里的,它是一条从外部重分布进来的路由的初始度量值。路由协议默认的管理距离如下表:

路由来源

管理距离(AD)

直连口

0

使用出站口作为静态路由

0

使用下一跳地址作为静态路由

1

EIGRP汇总路由

5

EBGP(外部)

20

内部EIGRP

90

IGRP

100

OSPF

110

IS-IS自治系统

115

RIP

120

EGP外部网关协议(淘汰)

140

ODR

160

外部EIGRP

        170(重发布)

iBGP(内部)

200

默认路由

默认路由是在路由器找不到具体路由时的一种处理方式,它总是被最后使用

 未知

255


注:

  1. 管理距离是指一种路由协议的路由可信度,在正常情况下,管理距离越小,它的优先级就越高,也就是可信度越高!路由器根据管理距离决定哪一个协议的路由进入路由表

  2. 使用出站接口配置的静态路由AD实际处于0-1之间

  3. 如果AD相同,则会比较路由协议的度量值(如跳计数或链路的宽带值),带有较低度量值的路由会被放置在路由表中;

  4. 距离矢量路由协议(如RIP和IGRP)的度量值为跳数

  5. EIGRP的度量值默认为带宽和延迟,其它可选因素是负载,可靠性和最大传输单元

  6. OSPF的度量值为开销,默认为10*7/带宽(单位是bit/s)

  7. 如果AD和度量值都相同,那么路由选择协议会使用负载均衡,即发送的数据包会平均分配到每个链路上。

  8. 所有协议都可以实现负载均衡,EIGRP和IGRP默认时可以支持最多到4条链路的不等代价负载均衡,可以通过maximum-paths 命令可以使数值达到6

  9. AD为255的路由不会被使用

 

 路由重分布并不是完美的,它有如下几点不足:

    1. 路由回环:根据重分布的使用方法,路由器有可能将它从一个AS收到的路由信息发回到这个AS中,这种回馈与距离矢量路由协议的水平分割问题类似。

    2. 路由信息不兼容:不同的路由协议使用不有的量度值,因为这些量度值可能无法正确引入到不同的路由协议,使用重分布的路由信息来进行路径选择可能不是最优的。

    3. 收敛时间不一致:不同的路由协议收敛效率不同,例如,RIP比EIGRP收敛慢,因此如果一条链路DOWN掉,EIGRP网络将比RIP网络更早得知这一信息。

      在配置路由重分布时应注意以下情况:

    1. 不要重叠使用路由协议:不要在同一个网络里使用两个不同的路由协议,在使用不同路由协议的网络之间应该有明显的边界。

    2. 重分布原则:路由必须位于路由选择表中才能被重分发

    3. 在单边界的情况下使用双向重分布: 当一个网络中只有一个边界路由器时,双向重分布工作很稳定。如果没有任何机制来防止路由回环,不要在一个多边界的网络中使用双向重分布。综合使用默认路由、路由过滤以及修改管理距离可以防止路由回环。

    4. 有多个边界路由器的情况下使用单向重分布: 如果有多于一台路由器作为重分布点,使用单向重分布可以避免回环和收敛问题。在不需要接收外部路由的路由器上使用默认路由。

       

       

       

       

       

      实验一、单边界多向路由重分布


       

      R1配置(边界路由器)

      R1#conf t

      R1(config)#int lo0

      R1(config-if)#ip add 1.1.1.1255.255.255.0 //直连路由

      R1(config-if)#desc Directly

      R1(config-if)#exit

      R1(config)#int f1/0

      R1(config-if)#desc static

      R1(config-if)#ip add 172.168.1.1 255.255.255.0

      R1(config-if)#no sh

      R1(config-if)#exit

      R1(config)#int s2/0

      R1(config-if)#desc Internet

      R1(config-if)#clock rate 64000

      R1(config-if)#ip add 202.100.100.1255.255.255.0

      R1(config-if)#no sh

      R1(config-if)#exit

      R1(config)#int e0/0

      R1(config-if)#desc RIP

      R1(config-if)#ip add 192.168.12.1255.255.255.0

      R1(config-if)#no sh

      R1(config-if)#exit

      R1(config)#int e0/1

      R1(config-if)# desc EIGRP

      R1(config-if)#ip add 192.168.13.1255.255.255.0

      R1(config-if)#no sh

      R1(config-if)#exit

      R1(config)#int e0/2

      R1(config-if)#desc OSPF

      R1(config-if)#ip add 192.168.14.1255.255.255.0

      R1(config-if)#no sh

      R1(config-if)#exit

      R1(config)#int e0/3

      R1(config-if)#desc IS-IS

      R1(config-if)#ip add 192.168.15.1255.255.255.0

      R1(config-if)#ip router isis //将接口宣告到IS-IS路由进程中

      R1(config-if)#no sh

      R1(config-if)#exit

      R1(config)#ip route 0.0.0.0 0.0.0.0202.100.100.2 //默认路由

      R1(config)#ip route 172.168.100.0255.255.255.0 172.168.1.2 //静态路由

      R1(config)#router rip //开启RIP路由协议

      R1(config-router)#version 2

      R1(config-router)#no auto-summary

      R1(config-router)#net 192.168.12.0

      R1(config-router)#exit

      R1(config)#router eigrp 1 //开启EIGRP路由协议

      R1(config-router)#no auto-summary

      R1(config-router)#network 192.168.13.0255.255.255.0

      R1(config-router)#exit

      R1(config)#router ospf 1 //开启ospf路由协议

      R1(config-router)#network 192.168.14.0255.255.255.0 area 0

      R1(config-router)#exit

      R1(config)#router isis //开启IS-IS路由协议

      R1(config-router)#net49.0001.1111.1111.1111.00

      R1(config-router)#exit

       

      R2配置(RIP路由协议)

      R2#conf t

      R2(config)#int lo 0

      R2(config-if)#ip add 2.2.2.2 255.255.255.0

      R2(config-if)#desc RIP

      R2(config-if)#exit

      R2(config)#int e0/0

      R2(config-if)#ip add 192.168.12.2255.255.255.0

      R2(config-if)#desc RIP

      R2(config-if)#exit

      R2(config)#int e0/0

      R2(config-if)#no sh

      R2(config-if)#exit

      R2(config)#router rip

      R2(config-router)#ver 2

      R2(config-router)#no auto-summary

      R2(config-router)#net 2.2.2.0

      R2(config-router)#net 192.168.12.0

      R2(config-router)#exit

       

      R3配置:(EIGRP路由协议)

      R3#conf t

      R3(config)#int lo0

      R3(config-if)#ip add 3.3.3.3255.255.255.0

      R3(config-if)#desc EIGRP

      R3(config-if)#exit

      R3(config)#int e0/0

      R3(config-if)#desc EIGRP

      R3(config-if)#ip add 192.168.13.2255.255.255.0

      R3(config-if)#no sh

      R3(config-if)#exit

      R3(config)#router eigrp 1

      R3(config-router)#net 192.168.13.0

      R3(config-router)#net 3.3.3.0

      R3(config-router)#exit

       

      R4配置:(OSPF路由协议)

      R4#conf t

      R4(config)#int lo0

      R4(config-if)#desc OSPF

      R4(config-if)#ip add 4.4.4.4255.255.255.0

      R4(config-if)#exit

      R4(config)#int e0/0

      R4(config-if)#desc OSPF

      R4(config-if)#ip add 192.168.14.2255.255.255.0

      R4(config-if)#no sh

      R4(config-if)#exit

      R4(config)#router ospf 1

      R4(config-router)#net 4.4.4.0255.255.255.0 area 0

      R4(config-router)#net 192.168.14.0255.255.255.0 area 0

      R4(config-router)#exit

       

      R5配置:(IS-IS路由协议)

      R5#conf t

      R5(config)#int lo0

      R5(config-if)#desc IS-IS

      R5(config-if)#ip add 5.5.5.5255.255.255.0

      R5(config-if)#ip router isis

      R5(config-if)#exit

      R5(config)#int e0/0

      R5(config-if)#desc IS-IS

      R5(config-if)#ip add 192.168.15.2255.255.255.0

      R5(config-if)#ip router isis

      R5(config-if)#no sh

      R5(config-if)#exit

      R5(config)#router isis

      R5(config-router)#net49.0001.5555.5555.5555.00

      R5(config-router)#exit

       

      Branch配置(静态路由)

      Branch#conf t

      Branch(config)#int lo0

      Branch(config-if)#ip add 172.168.100.1255.255.255.0

      Branch(config-if)#exit

      Branch(config)#int fa0/0

      Branch(config-if)#ip add 172.168.1.2255.255.255.0

      Branch(config-if)#no sh

      Branch(config-if)#exit

      Branch(config)#ip route 0.0.0.0 0.0.0.0172.168.1.1 //回程路由

       

      Internet配置:

      Internet#conf t

      Internet(config)#int lo0

      Internet(config-if)#ip add 10.10.10.10255.255.255.0

      Internet(config-if)#exit

      Internet(config)#int s0/0

      Internet(config-if)#clock rate 64000

      Internet(config-if)#ip add 202.100.100.2255.255.255.0

      Internet(config-if)#no sh

      Internet(config-if)#exit

      Internet(config)#ip route 0.0.0.0 0.0.0.0202.100.100.1 //回程路由

       

       

      完成以上基本配置后R1上运行多种路由协议,它可以与所有网络互通,是网络上的边界路由。此时在它之上使用路由重分布功能,就可以实现各路由协议交换路由信息。下面开始

       

       

      第一向R2的RIP协议注入静态路由、默认路由、直连路由、EIGRP、OSPF、ISIS,在向RIP区域重分布路由的时候,必须指定度量值,否则由于注入的路由度量值会变成无穷大而无法加入路由表,因此必须手工指定metric值,注意RIP的metric不能大于15,因为RIP最大跳数为16,可以通过"default-metric"设置默认种子度量值,只有重分布静态路由或默认路由可以不指定种子度量值。

      R1#conf t

      R1(config)#router rip

      R1(config-router)#default-informationoriginate //注入默认路由

      R1(config-router)#redistribute  static//注入静态路由

      R1(config-router)#redistribute connectedmetric 6 //注入直连路由

      R1(config-router)#redistribute  eigrp 1 metric 3//注入EIGRP路由

      R1(config-router)#redistribute  ospf 1 metric 4//注入OSPF路由

      R1(config-router)#redistribute  isis level-1-2 metric 5//注入ISIS路由

       

      R2#sh ip rou //此时R2路由表变化。注意路由代码为"R"的metric值;

      Codes: C - connected, S - static, R -RIP, M - mobile, B - BGP

            D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

            N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

            E1 - OSPF external type 1, E2 - OSPF external type 2

            i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

            ia - IS-IS inter area, * - candidate default, U - per-user static route

            o - ODR, P - periodic downloaded static route、

      Gateway of last resort is 192.168.12.1to network 0.0.0.0

      C   192.168.12.0/24 is directly connected, Ethernet0/0

          1.0.0.0/24 is subnetted, 1 subnets

      R      1.1.1.0 [120/6] via 192.168.12.1, 00:00:01, Ethernet0/0

      R   192.168.13.0/24 [120/6] via 192.168.12.1, 00:00:01, Ethernet0/0

          2.0.0.0/24 is subnetted, 1 subnets

      C      2.2.2.0 is directly connected, Loopback0

      R   192.168.14.0/24 [120/6] via 192.168.12.1, 00:00:01, Ethernet0/0

      R   3.0.0.0/8 [120/3] via 192.168.12.1, 00:00:01, Ethernet0/0

      R   192.168.15.0/24 [120/6] via 192.168.12.1, 00:00:02, Ethernet0/0

          4.0.0.0/32 is subnetted, 1 subnets

      R      4.4.4.4 [120/4] via 192.168.12.1, 00:00:02, Ethernet0/0

      R   202.100.100.0/24 [120/6] via 192.168.12.1, 00:00:02, Ethernet0/0

          5.0.0.0/24 is subnetted, 1 subnets

      R      5.5.5.0 [120/5] via 192.168.12.1, 00:00:03, Ethernet0/0

          172.168.0.0/24 is subnetted, 2 subnets

      R      172.168.1.0 [120/6] via 192.168.12.1, 00:00:03, Ethernet0/0

      R      172.168.100.0 [120/1] via 192.168.12.1, 00:00:03, Ethernet0/0

      R*  0.0.0.0/0 [120/1] via 192.168.12.1, 00:00:03, Ethernet0/0

       

       

      第二向R3的EIGRP路由协议注入静态路由、默认路由、直连路由、RIP、OSPF、ISIS,由于重分布到EIGRP的路由管理距离会变成无限大,所以必须手工分别设置带宽、延迟、可靠性、负载以及MTU的参数值。在"Redistribute"命令中用参数"metric"指定的种子度量值优先于在路由模式下使用"default-metric命令设定的默认的种子度量值".注意静态、默认、直连不需要指定metric值

      R1#conf t

      R1(config)#router eigrp1

      R1(config-router)#redistribute static //注入静态和默认路由,或使用network0.0.0.0

      R1(config-router)#redistributeconnected//注入直连路由

      R1(config-router)#redistribute ripmetric 1000 100 255 1 1500 //注入rip路由

      R1(config-router)#redistribute ospf 1metric 1000 100 255 1 1500//注入OSPF路由

      R1(config-router)#redistribute isislevel-1-2 metric 1000 100 255 1 1500//注入ISIS路由

       

      R3#sh ip rou //R3路由表,重分布的路由代码为"D EX"

      Codes: C - connected, S - static, R -RIP, M - mobile, B - BGP

            D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

            N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

            E1 - OSPF external type 1, E2 - OSPF external type 2

            i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

            ia - IS-IS inter area, * - candidate default, U - per-user static route

            o - ODR, P - periodic downloaded static route

      Gateway of last resort is 192.168.13.1to network 0.0.0.0

      D EX 192.168.12.0/24 [170/307200] via192.168.13.1, 00:00:04, Ethernet0/0

          1.0.0.0/24 is subnetted, 1 subnets

      D EX   1.1.1.0 [170/409600] via 192.168.13.1, 00:00:04, Ethernet0/0

      C   192.168.13.0/24 is directly connected, Ethernet0/0

          2.0.0.0/24 is subnetted, 1 subnets

      D EX   2.2.2.0 [170/2611200] via 192.168.13.1, 00:11:03, Ethernet0/0

      D EX 192.168.14.0/24 [170/307200] via192.168.13.1, 00:00:04, Ethernet0/0

          3.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

      C      3.3.3.0/24 is directly connected, Loopback0

      D      3.0.0.0/8 is a summary, 01:24:53, Null0

      D EX 192.168.15.0/24 [170/307200] via 192.168.13.1,00:00:05, Ethernet0/0

          4.0.0.0/32 is subnetted, 1 subnets

      D EX   4.4.4.4 [170/2611200] via 192.168.13.1, 00:09:40, Ethernet0/0

      D EX 202.100.100.0/24 [170/2195456] via192.168.13.1, 00:00:20, Ethernet0/0

          5.0.0.0/24 is subnetted, 1 subnets

      D EX   5.5.5.0 [170/2611200] via 192.168.13.1, 00:09:15, Ethernet0/0

          172.168.0.0/24 is subnetted, 2 subnets

      D EX   172.168.1.0 [170/284160] via 192.168.13.1, 00:00:20, Ethernet0/0

      D EX   172.168.100.0 [170/284160] via 192.168.13.1, 00:20:35, Ethernet0/0

      D*EX 0.0.0.0/0 [170/2195456] via192.168.13.1, 00:20:35, Ethernet0/0

       

       

      第三向R4的OSPF路由协议注入静态路由、默认路由、直连路由、RIP、EIGRP、ISIS,重发布时管理距离为110且Metric为20,当然可也以通过"metric-type"设置类型,或者"metric"参数设置外部路径成本。注意在向ospf重发布是需要加上subnets,否则只重发布主类网

      R1#conf t

      R1(config)#router ospf 1

      R1(config-router)#default-informationoriginate //注入默认路由

      R1(config-router)#redistribute connectedsubnets//注入直连路由

      R1(config-router)#redistribute staticsubnets//注入静态路由

      R1(config-router)#redistribute ripsubnets//注入RIP路由

      R1(config-router)#redistribute eigrp 1subnets//注入EIGRP路由

      R1(config-router)#redistribute isislevel-1-2 subnets//注入ISIS路由

       

      R4#ship rou//重分布进OSPF的路由被路由器R4学到,代码为"O E2",

       Codes:C - connected, S - static, R - RIP, M - mobile, B - BGP

            D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

            N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

            E1 - OSPF external type 1, E2 - OSPF external type 2

            i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

            ia - IS-IS inter area, * - candidate default, U - per-user static route

            o - ODR, P - periodic downloaded static route

      Gateway of last resort is 192.168.14.1to network 0.0.0.0

      O E2 192.168.12.0/24 [110/20] via192.168.14.1, 00:11:00, Ethernet0/0

          1.0.0.0/24 is subnetted, 1 subnets

      O E2   1.1.1.0 [110/20] via 192.168.14.1, 00:10:50, Ethernet0/0

      O E2 192.168.13.0/24 [110/20] via192.168.14.1, 00:11:00, Ethernet0/0

          2.0.0.0/24 is subnetted, 1 subnets

      O E2   2.2.2.0 [110/20] via 192.168.14.1, 00:09:33, Ethernet0/0

      C   192.168.14.0/24 is directly connected, Ethernet0/0

      O E2 3.0.0.0/8 [110/20] via192.168.14.1, 00:08:47, Ethernet0/0

      O E2 192.168.15.0/24 [110/20] via192.168.14.1, 00:11:01, Ethernet0/0

          4.0.0.0/24 is subnetted, 1 subnets

      C      4.4.4.0 is directly connected, Loopback0

      O E2 202.100.100.0/24 [110/20] via192.168.14.1, 00:11:01, Ethernet0/0

          5.0.0.0/24 is subnetted, 1 subnets

      O E2   5.5.5.0 [110/20] via 192.168.14.1, 00:08:10, Ethernet0/0

          172.168.0.0/24 is subnetted, 2 subnets

      O E2   172.168.1.0 [110/20] via 192.168.14.1, 00:10:53, Ethernet0/0

      O E2   172.168.100.0 [110/20] via 192.168.14.1, 00:10:18, Ethernet0/0

      O*E2 0.0.0.0/0 [110/1] via 192.168.14.1,00:11:58, Ethernet0/0

       

       

      第四向R5的ISIS路由协议注入静态路由、默认路由、直连路由、RIP、EIGRP、ISIS,重发布时管理距离为115且Metric为10。当把其他路由协议重分发到isis中时,必须使用level-2类型.默认就是Level-2

      R1#conf t

      R1(config)#router isis

      R1(config-router)#default-informationoriginate //注入默认路由

      R1(config-router)#redistribute static//注入静态路由

      R1(config-router)#redistribute connected//注入直连路由

      R1(config-router)#redistribute rip//注入RIP路由

      R1(config-router)#redistribute ospf 1//注入OSPF路由

      R1(config-router)#redistribute eigrp 1//注入EIGRP路由

       

      R5#sh ip rou //R5的路由表

      Codes: C - connected, S - static, R -RIP, M - mobile, B - BGP

            D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

            N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

            E1 - OSPF external type 1, E2 - OSPF external type 2

            i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

            ia - IS-IS inter area, * - candidate default, U - per-user static route

            o - ODR, P - periodic downloaded static route

      Gateway of last resort is 192.168.15.1to network 0.0.0.0

      i L2 192.168.12.0/24 [115/10] via192.168.15.1, Ethernet0/0

          1.0.0.0/24 is subnetted, 1 subnets

      i L2   1.1.1.0 [115/10] via 192.168.15.1, Ethernet0/0

      i L2 192.168.13.0/24 [115/10] via192.168.15.1, Ethernet0/0

          2.0.0.0/24 is subnetted, 1 subnets

      i L2   2.2.2.0 [115/10] via 192.168.15.1, Ethernet0/0

      i L2 192.168.14.0/24 [115/10] via192.168.15.1, Ethernet0/0

      i L2 3.0.0.0/8 [115/10] via192.168.15.1, Ethernet0/0

      C   192.168.15.0/24 is directly connected, Ethernet0/0

          4.0.0.0/32 is subnetted, 1 subnets

      i L2   4.4.4.4 [115/10] via 192.168.15.1, Ethernet0/0

      i L2 202.100.100.0/24 [115/10] via192.168.15.1, Ethernet0/0

          5.0.0.0/24 is subnetted, 1 subnets

      C      5.5.5.0 is directly connected, Loopback0

          172.168.0.0/24 is subnetted, 2 subnets

      i L2   172.168.1.0 [115/10] via 192.168.15.1, Ethernet0/0

      i L2    172.168.100.0 [115/10] via 192.168.15.1,Ethernet0/0

      i*L2 0.0.0.0/0 [115/10] via192.168.15.1, Ethernet0/0

       

       

       

       

      实验二、多点多向路由重发布

      R2配置:(边界路由)

      R2#conft

      R2(config)#inte0/0

      R2(config-if)#ipadd 192.168.21.2 255.255.255.0

      R2(config-if)#nosh

      R2(config-if)#exit

      R2(config)#inte0/1

      R2(config-if)#ipadd 192.168.24.2 255.255.255.0

      R2(config-if)#nosh

      R2(config-if)#exit

      R2(config)#inte0/2

      R2(config-if)#ipadd 192.168.25.2 255.255.255.0

      R2(config-if)#nosh

      R2(config-if)#exit

      R2(config)#inte0/3

      R2(config-if)#ipadd 192.168.26.2 255.255.255.0

      R2(config-if)#iprouter isis

      R2(config-if)#nosh

      R2(config-if)#exit

      R2(config)#routerrip

      R2(config-router)#ver2

      R2(config-router)#noau

      R2(config-router)#net192.168.21.0

      R2(config-router)#exit

      R2(config)#routereigrp 1

      R2(config-router)#net192.168.24.0

      R2(config-router)#exit

      R2(config)#routerospf 1

      R2(config-router)#net192.168.25.0 255.255.255.0 area 0

      R2(config-router)#exit

      R2(config)#routerisis

      R2(config-router)#net49.0001.2222.2222.2222.00

      R2(config-router)#exit

       

      R3配置(边界路由器)

      R3#conft

      R3(config)#inte0/0

      R3(config-if)#ipadd 192.168.31.3 255.255.255.0

      R3(config-if)#nosh

      R3(config-if)#exit

      R3(config)#inte0/1

      R3(config-if)#ipadd 192.168.34.3 255.255.255.0

      R3(config-if)#nosh

      R3(config-if)#exit

      R3(config)#inte0/2

      R3(config-if)#ipadd 192.168.35.3 255.255.255.0

      R3(config-if)#nosh

      R3(config-if)#exit

      R3(config)#inte0/3

      R3(config-if)#ipadd 192.168.36.3 255.255.255.0

      R3(config-if)#iprouter isis

      R3(config-if)#nosh

      R3(config-if)#exit

      R3(config)#routerrip

      R3(config-router)#ver2

      R3(config-router)#noau

      R3(config-router)#net192.168.31.0

      R3(config-router)#exit

      R3(config)#routereigrp 1

      R3(config-router)#net192.168.34.0

      R3(config-router)#exit

      R3(config)#routerospf 1

      R3(config-router)#net192.168.35.0 255.255.255.0 area 0

      R3(config-router)#exit

      R3(config)#routerisis

      R3(config-router)#net49.0001.3333.3333.3333.00

      R3(config-router)#exit

       

      R1配置(rip路由协议)

      R1#conft

      R1(config)#inte0/0

      R1(config-if)#ipadd 192.168.21.1 255.255.255.0

      R1(config-if)#nosh

      R1(config-if)#exit

      R1(config)#inte0/1

      R1(config-if)#ipadd 192.168.31.1 255.255.255.0

      R1(config-if)#nosh

      R1(config-if)#exit

      R1(config-if)#ipadd 1.1.1.1 255.255.255.0

      R1(config-if)#exit

      R1(config)#routerrip

      R1(config-router)#ver2

      R1(config-router)#noau

      R1(config-router)#net192.168.21.0

      R1(config-router)#noau

      R1(config-router)#net192.168.31.0

      R1(config-router)#net1.1.1.0

       

      R4配置(eigrp路由)

      R4#conft

      R4(config)#inte0/0

      R4(config-if)#ipadd 192.168.24.4 255.255.255.0

      R4(config-if)#nosh

      R4(config-if)#exit

      R4(config)#inte0/1

      R4(config-if)#ipadd 192.168.34.4 255.255.255.0

      R4(config-if)#nosh

      R4(config-if)#exit

      R4(config)#routereigrp 1

      R4(config-router)#net192.168.34.0

      R4(config-router)#net192.168.24.0

       

      第一向R1的RIP路由协议注入EIGRP、OSPF、ISIS

      R2#conft

      R2(config)#routerrip

      R2(config-router)#default-metric4

      R2(config-router)#redistributeeigrp 1

      R2(config-router)#redistributeospf 1

      R2(config-router)#redistributeisis level-1-2

       

      R3#conft

      R3(config)#routerrip

      R3(config-router)#default-metric4

      R3(config-router)#redistributeeigrp 1

      R3(config-router)#redistributeospf 1

      R3(config-router)#redistributeisis level-1-2

       

       

       

      第二向R4的EIGRP路由协议注入RIP、OSPF、ISIS

      R2#conft

      R2(config)#routereigrp 1

      R2(config-router)#default-metric1000 2500 255 1 1500

      R2(config-router)#redistributerip

      R2(config-router)#redistributeospf 1

      R2(config-router)#redistributeisis level-1-2

       

      R3#conft

      R3(config)#routereigrp 1

      R3(config-router)#default-metric1000 2500 255 1 1500

      R3(config-router)#redistributerip

      R3(config-router)#redistributeospf 1

      R3(config-router)#redistributeisis level-1-2

       

       

       

      第三向R5的OSPF路由协议中注入RIP、EIGRP、ISIS

      R2#conft

      R2(config)#routerospf 1

      R2(config-router)#redistributerip subnets

      R2(config-router)#redistributeeigrp 1 subnets

      R2(config-router)#redistributeisis level-1-2 subnets

       

      R3#conft

      R3(config)#routerospf 1

      R3(config-router)#redistributerip subnets

      R3(config-router)#redistributeeigrp 1 subnets

      R3(config-router)#redistributeisis level-1-2 subnets

       

       

       

      第四向R6的ISIS路由协议注入RIP、EIGRP、OSPF

      R2#conf t

      R2(config)#routerisis

      R2(config-router)#redistributerip level-2

      R2(config-router)#redistributeeigrp 1 level-2

      R2(config-router)#redistributeospf 1 level-2

       

      R3#conft

      R3(config-router)#redistributerip level-2

      R3(config-router)#redistributeeigrp 1 level-2

      R3(config-router)#redistributeospf 1 level-2

       

      先查看R2和R3的路由表,留意红色标记的路由,其实并不是最佳路由,也就是说出现了次优路由。

      R2#ship rou

      Codes:C - connected, S - static, R - RIP, M - mobile, B - BGP

             D - EIGRP, EX - EIGRP external, O -OSPF, IA - OSPF inter area

             N1 - OSPF NSSA external type 1, N2 -OSPF NSSA external type 2

             E1 - OSPF external type 1, E2 - OSPFexternal type 2

             i - IS-IS, su - IS-IS summary, L1 -IS-IS level-1, L2 - IS-IS level-2

             ia - IS-IS inter area, * - candidatedefault, U - per-user static route

             o- ODR, P - periodic downloaded static route

      Gatewayof last resort is not set

           1.0.0.0/24 is subnetted, 1 subnets

      i L2    1.1.1.0 [115/20] via192.168.26.6, Ethernet0/3

      O E2 192.168.31.0/24 [110/20] via 192.168.25.5, 00:15:21,Ethernet0/2

      C    192.168.25.0/24 is directly connected,Ethernet0/2

      D    4.0.0.0/8 [90/409600] via 192.168.24.4,01:46:16, Ethernet0/1

      C    192.168.24.0/24 is directly connected,Ethernet0/1

           5.0.0.0/32 is subnetted, 1 subnets

      O       5.5.5.5 [110/11] via 192.168.25.5,00:15:21, Ethernet0/2

           6.0.0.0/24 is subnetted, 1 subnets

      iL1    6.6.6.0 [115/20] via 192.168.26.6,Ethernet0/3

      C    192.168.26.0/24 is directly connected,Ethernet0/3

      C    192.168.21.0/24 is directly connected,Ethernet0/0

      i L1192.168.36.0/24 [115/20] via 192.168.26.6, Ethernet0/3

      D    192.168.34.0/24 [90/307200] via192.168.24.4, 01:46:19, Ethernet0/1

      O    192.168.35.0/24 [110/20] via 192.168.25.5,00:15:25, Ethernet0/2

       

      R3#ship rou

      Codes:C - connected, S - static, R - RIP, M - mobile, B - BGP

             D- EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

             N1 - OSPF NSSA external type 1, N2 -OSPF NSSA external type 2

             E1 - OSPF external type 1, E2 - OSPFexternal type 2

             i - IS-IS, su - IS-IS summary, L1 -IS-IS level-1, L2 - IS-IS level-2

             ia - IS-IS inter area, * - candidatedefault, U - per-user static route

             o - ODR, P - periodic downloaded staticroute

      Gatewayof last resort is not set

           1.0.0.0/24 is subnetted, 1 subnets

      O E2    1.1.1.0 [110/20] via192.168.35.5, 00:23:48, Ethernet0/2

      C    192.168.31.0/24 is directly connected,Ethernet0/0

      O    192.168.25.0/24 [110/20] via 192.168.35.5,00:23:48, Ethernet0/2

      D    4.0.0.0/8 [90/409600] via 192.168.34.4,01:54:22, Ethernet0/1

      D    192.168.24.0/24 [90/307200] via192.168.34.4, 01:54:22, Ethernet0/1

           5.0.0.0/32 is subnetted, 1 subnets

      O       5.5.5.5 [110/11] via 192.168.35.5,00:23:48, Ethernet0/2

           6.0.0.0/24 is subnetted, 1 subnets

      O E2   6.6.6.0 [110/20] via 192.168.35.5, 00:23:50, Ethernet0/2

      i L1192.168.26.0/24 [115/20] via 192.168.36.6, Ethernet0/3

      O E2 192.168.21.0/24 [110/20] via 192.168.35.5, 00:23:50,Ethernet0/2

      C    192.168.36.0/24 is directly connected,Ethernet0/3

      C    192.168.34.0/24 is directly connected,Ethernet0/1

      C    192.168.35.0/24 is directly connected,Ethernet0/2

       

      分析:在单点重分发下似乎没有这种情况,这是因为发往一个方向的路由不会被重分发回来。但是在多点双向时情况就不同了,自己分发出去的路由会被另一个协议重分发回来的。如果AD值高的路由协议向AD值低的路由协议中重分发,就会产生次优路由,路由环路等问题,反之,AD值低的路由协议向AD高的路由协议重分发,就不会发生这个问题。注意错误发生在边界路由器上。此时就要使用路由策略来解决,方法如下

    1. 路由过滤 不让产生环路的路由条目进入我这台路由器,这样也就不会产生次优路径了

    2. 修改管理距离AD 把次优路由条目的AD值调高,高到路由器即便看到两条路由条目去往同一目的地,也不会把次优路由写入路由表。这种方法比前一种好在如果最佳路径down了,次优路由变成备份路由使用。

       

      这里我们修改管理距离,然后再次查看每个路由器的路由表,注意R1、R4、R5、R6间的负载均衡。

      R2#conf t

      R2(config)#routerrip

      R2(config-router)#distance111 //修改RIP外部路由的管理距离,使小于ISIS、ospf 、Eigrp

      R2(config-router)#exit

      R2(config)#routerospf 1                           

      R2(config-router)#distanceospf external 170 //修改OSPF的管理距离大于isis 和rip,等于eigrp

       

      R3#conf t

      R3(config)#routerrip

      R3(config-router)#distance111

      R3(config-router)#exit

      R3(config)#routerospf 1                           

      R3(config-router)#distanceospf external 170

       

      R2#ship rou

      Codes:C - connected, S - static, R - RIP, M - mobile, B - BGP

             D - EIGRP, EX - EIGRP external, O -OSPF, IA - OSPF inter area

             N1 - OSPF NSSA external type 1, N2 -OSPF NSSA external type 2

             E1 - OSPF external type 1, E2 - OSPFexternal type 2

             i - IS-IS, su - IS-IS summary, L1 -IS-IS level-1, L2 - IS-IS level-2

             ia - IS-IS inter area, * - candidatedefault, U - per-user static route

             o- ODR, P - periodic downloaded static route

      Gatewayof last resort is not set

           1.0.0.0/24 is subnetted, 1 subnets

      R       1.1.1.0 [111/1] via 192.168.21.1,00:00:04, Ethernet0/0

      R    192.168.31.0/24 [111/1] via 192.168.21.1,00:00:04, Ethernet0/0

      C    192.168.25.0/24 is directly connected,Ethernet0/2

      D    4.0.0.0/8 [90/409600] via 192.168.24.4,00:00:04, Ethernet0/1

      C    192.168.24.0/24 is directly connected,Ethernet0/1

           5.0.0.0/32 is subnetted, 1 subnets

      O       5.5.5.5 [110/11] via 192.168.25.5,00:00:04, Ethernet0/2

           6.0.0.0/24 is subnetted, 1 subnets

      iL1    6.6.6.0 [115/20] via 192.168.26.6,Ethernet0/3

      C    192.168.26.0/24 is directly connected,Ethernet0/3

      C    192.168.21.0/24 is directly connected,Ethernet0/0

      i L1192.168.36.0/24 [115/20] via 192.168.26.6, Ethernet0/3

      D    192.168.34.0/24 [90/307200] via192.168.24.4, 00:00:08, Ethernet0/1

      O    192.168.35.0/24 [110/20] via 192.168.25.5,00:00:08, Ethernet0/2

       

      R3#ship rou

      Codes:C - connected, S - static, R - RIP, M - mobile, B - BGP

             D - EIGRP, EX - EIGRP external, O -OSPF, IA - OSPF inter area

             N1 - OSPF NSSA external type 1, N2 -OSPF NSSA external type 2

             E1 - OSPF external type 1, E2 - OSPFexternal type 2

             i - IS-IS, su - IS-IS summary, L1 -IS-IS level-1, L2 - IS-IS level-2

             ia - IS-IS inter area, * - candidatedefault, U - per-user static route

             o - ODR, P - periodic downloaded staticroute

      Gatewayof last resort is not set

           1.0.0.0/24 is subnetted, 1 subnets

      R       1.1.1.0 [111/1] via 192.168.31.1,00:00:00, Ethernet0/0

      C    192.168.31.0/24 is directly connected,Ethernet0/0

      O    192.168.25.0/24 [110/20] via 192.168.35.5,00:00:01, Ethernet0/2

      D    4.0.0.0/8 [90/409600] via 192.168.34.4,00:00:01, Ethernet0/1

      D    192.168.24.0/24 [90/307200] via192.168.34.4, 00:00:01, Ethernet0/1

           5.0.0.0/32 is subnetted, 1 subnets

      O       5.5.5.5 [110/11] via 192.168.35.5,00:00:01, Ethernet0/2

           6.0.0.0/24 is subnetted, 1 subnets

      iL1    6.6.6.0 [115/20] via 192.168.36.6,Ethernet0/3

      i L1192.168.26.0/24 [115/20] via 192.168.36.6, Ethernet0/3

      R    192.168.21.0/24 [111/1] via 192.168.31.1,00:00:02, Ethernet0/0

      C    192.168.36.0/24 is directly connected,Ethernet0/3

      C    192.168.34.0/24 is directly connected,Ethernet0/1

      C    192.168.35.0/24 is directly connected,Ethernet0/2

       

      R1#ship rou

      Codes:C - connected, S - static, R - RIP, M - mobile, B - BGP

             D - EIGRP, EX - EIGRP external, O -OSPF, IA - OSPF inter area

             N1 - OSPF NSSA external type 1, N2 -OSPF NSSA external type 2

             E1 - OSPF external type 1, E2 - OSPFexternal type 2

             i - IS-IS, su - IS-IS summary, L1 -IS-IS level-1, L2 - IS-IS level-2

             ia - IS-IS inter area, * - candidatedefault, U - per-user static route

             o - ODR, P - periodic downloaded staticroute

      Gatewayof last resort is not set

           1.0.0.0/24 is subnetted, 1 subnets

      C       1.1.1.0 is directly connected, Loopback0

      C    192.168.31.0/24 is directly connected,Ethernet0/1

      R    192.168.25.0/24 [120/4] via 192.168.31.3,00:00:20, Ethernet0/1

                           [120/4] via 192.168.21.2,00:00:14, Ethernet0/0

      R    4.0.0.0/8 [120/4] via 192.168.31.3,00:00:20, Ethernet0/1

                     [120/4] via 192.168.21.2,00:00:14, Ethernet0/0

      R    192.168.24.0/24 [120/4] via 192.168.31.3,00:00:20, Ethernet0/1

                           [120/4] via 192.168.21.2,00:00:14, Ethernet0/0

           5.0.0.0/32 is subnetted, 1 subnets

      R       5.5.5.5 [120/4] via 192.168.31.3,00:00:22, Ethernet0/1

                      [120/4] via 192.168.21.2,00:00:16, Ethernet0/0

           6.0.0.0/24 is subnetted, 1 subnets

      R       6.6.6.0 [120/4] via 192.168.31.3,00:00:24, Ethernet0/1

                      [120/4] via 192.168.21.2,00:00:17, Ethernet0/0

      R    192.168.26.0/24 [120/4] via 192.168.31.3,00:00:24, Ethernet0/1

      C    192.168.21.0/24 is directly connected,Ethernet0/0

      R    192.168.36.0/24 [120/4] via 192.168.21.2,00:00:17, Ethernet0/0

      R    192.168.34.0/24 [120/4] via 192.168.31.3,00:00:24, Ethernet0/1

                           [120/4] via 192.168.21.2,00:00:17, Ethernet0/0

      R    192.168.35.0/24 [120/4] via 192.168.31.3,00:00:24, Ethernet0/1

                           [120/4] via 192.168.21.2,00:00:17, Ethernet0/0

       

      R4#ship rou

      Codes:C - connected, S - static, R - RIP, M - mobile, B - BGP

             D - EIGRP, EX - EIGRP external, O -OSPF, IA - OSPF inter area

             N1 - OSPF NSSA external type 1, N2 -OSPF NSSA external type 2

             E1 - OSPF external type 1, E2 - OSPFexternal type 2

             i - IS-IS, su - IS-IS summary, L1 -IS-IS level-1, L2 - IS-IS level-2

             ia - IS-IS inter area, * - candidatedefault, U - per-user static route

             o - ODR, P - periodic downloaded staticroute

      Gatewayof last resort is not set

           1.0.0.0/24 is subnetted, 1 subnets

      DEX    1.1.1.0 [170/3225600] via192.168.34.3, 00:00:07, Ethernet0/1

                      [170/3225600] via 192.168.24.2,00:00:07, Ethernet0/0

      D EX192.168.31.0/24 [170/3225600] via 192.168.34.3, 00:00:07, Ethernet0/1

                           [170/3225600] via192.168.24.2, 00:00:07, Ethernet0/0

      D EX192.168.25.0/24 [170/3225600] via 192.168.34.3, 00:00:07, Ethernet0/1

                           [170/3225600] via192.168.24.2, 00:00:07, Ethernet0/0

           4.0.0.0/8 is variably subnetted, 2subnets, 2 masks

      C       4.4.4.0/24 is directly connected, Loopback0

      D       4.0.0.0/8 is a summary, 00:00:09, Null0

      C    192.168.24.0/24 is directly connected,Ethernet0/0

           5.0.0.0/32 is subnetted, 1 subnets

      DEX    5.5.5.5 [170/3225600] via192.168.34.3, 00:00:09, Ethernet0/1

                      [170/3225600] via 192.168.24.2,00:00:09, Ethernet0/0

           6.0.0.0/24 is subnetted, 1 subnets

      DEX    6.6.6.0 [170/3225600] via192.168.34.3, 00:00:10, Ethernet0/1

                      [170/3225600] via 192.168.24.2,00:00:10, Ethernet0/0

      D EX192.168.26.0/24 [170/3225600] via 192.168.34.3, 00:00:10, Ethernet0/1

      D EX192.168.21.0/24 [170/3225600] via 192.168.34.3, 00:00:10, Ethernet0/1

                           [170/3225600] via192.168.24.2, 00:00:10, Ethernet0/0

      D EX192.168.36.0/24 [170/3225600] via 192.168.24.2, 00:00:10, Ethernet0/0

      C    192.168.34.0/24 is directly connected,Ethernet0/1

      D EX192.168.35.0/24 [170/3225600] via 192.168.34.3, 00:00:10, Ethernet0/1

                           [170/3225600] via192.168.24.2, 00:00:10, Ethernet0/0

       

      R5# ship rou

      Codes:C - connected, S - static, R - RIP, M - mobile, B - BGP

             D - EIGRP, EX - EIGRP external, O -OSPF, IA - OSPF inter area

             N1 - OSPF NSSA external type 1, N2 -OSPF NSSA external type 2

             E1 - OSPF external type 1, E2 - OSPFexternal type 2

             i - IS-IS, su - IS-IS summary, L1 -IS-IS level-1, L2 - IS-IS level-2

             ia - IS-IS inter area, * - candidatedefault, U - per-user static route

             o - ODR, P - periodic downloaded staticroute

      Gatewayof last resort is not set

           1.0.0.0/24 is subnetted, 1 subnets

      OE2    1.1.1.0 [110/20] via 192.168.35.3,00:00:02, Ethernet0/1

                      [110/20] via 192.168.25.2,00:00:02, Ethernet0/0

      O E2192.168.31.0/24 [110/20] via 192.168.35.3, 00:00:02, Ethernet0/1

                           [110/20] via 192.168.25.2,00:00:02, Ethernet0/0

      C    192.168.25.0/24 is directly connected,Ethernet0/0

      O E24.0.0.0/8 [110/20] via 192.168.35.3, 00:00:02, Ethernet0/1

                     [110/20] via 192.168.25.2,00:00:02, Ethernet0/0

      O E2192.168.24.0/24 [110/20] via 192.168.35.3, 00:00:04, Ethernet0/1

                           [110/20] via 192.168.25.2,00:00:04, Ethernet0/0

           5.0.0.0/24 is subnetted, 1 subnets

      C       5.5.5.0 is directly connected, Loopback0

           6.0.0.0/24 is subnetted, 1 subnets

      OE2    6.6.6.0 [110/20] via 192.168.35.3,00:00:06, Ethernet0/1

                      [110/20] via 192.168.25.2,00:00:06, Ethernet0/0

      O E2192.168.26.0/24 [110/20] via 192.168.35.3, 00:00:06, Ethernet0/1

      O E2192.168.21.0/24 [110/20] via 192.168.35.3, 00:00:06, Ethernet0/1

                           [110/20] via 192.168.25.2,00:00:06, Ethernet0/0

      O E2192.168.36.0/24 [110/20] via 192.168.25.2, 00:00:06, Ethernet0/0

      O E2192.168.34.0/24 [110/20] via 192.168.35.3, 00:00:06, Ethernet0/1

                           [110/20] via 192.168.25.2,00:00:06, Ethernet0/0

      C    192.168.35.0/24 is directly connected,Ethernet0/1

       

      R6#ship rou

      Codes:C - connected, S - static, R - RIP, M - mobile, B - BGP

             D - EIGRP, EX - EIGRP external, O -OSPF, IA - OSPF inter area

             N1 - OSPF NSSA external type 1, N2 -OSPF NSSA external type 2

             E1 - OSPF external type 1, E2 - OSPFexternal type 2

             i - IS-IS, su - IS-IS summary, L1 -IS-IS level-1, L2 - IS-IS level-2

             ia - IS-IS inter area, * - candidatedefault, U - per-user static route

             o - ODR, P - periodic downloaded staticroute

      Gatewayof last resort is not set

           1.0.0.0/24 is subnetted, 1 subnets

      iL2    1.1.1.0 [115/10] via 192.168.36.3,Ethernet0/1

                      [115/10] via 192.168.26.2,Ethernet0/0

      i L2192.168.31.0/24 [115/10] via 192.168.36.3, Ethernet0/1

                           [115/10] via 192.168.26.2,Ethernet0/0

      i L2192.168.25.0/24 [115/10] via 192.168.36.3, Ethernet0/1

                           [115/10] via 192.168.26.2,Ethernet0/0

      i L24.0.0.0/8 [115/10] via 192.168.36.3, Ethernet0/1

                     [115/10] via 192.168.26.2,Ethernet0/0

      i L2192.168.24.0/24 [115/10] via 192.168.36.3, Ethernet0/1

                           [115/10] via 192.168.26.2,Ethernet0/0

           5.0.0.0/32 is subnetted, 1 subnets

      iL2    5.5.5.5 [115/10] via 192.168.36.3,Ethernet0/1

                      [115/10] via 192.168.26.2,Ethernet0/0

           6.0.0.0/24 is subnetted, 1 subnets

      C       6.6.6.0 is directly connected, Loopback0

      C    192.168.26.0/24 is directly connected,Ethernet0/0

      i L2192.168.21.0/24 [115/10] via 192.168.36.3, Ethernet0/1

                           [115/10] via 192.168.26.2,Ethernet0/0

      C    192.168.36.0/24 is directly connected,Ethernet0/1

      i L2192.168.34.0/24 [115/10] via 192.168.36.3, Ethernet0/1

                           [115/10] via 192.168.26.2,Ethernet0/0

      i L2192.168.35.0/24 [115/10] via 192.168.36.3, Ethernet0/1

                           [115/10] via 192.168.26.2,Ethernet0/0


CCNP---重发布实验(单点双向---线型网络拓扑图) CCNP---重发布(单点双向---线型网络拓扑图)目录搭建拓扑图实验要求配置过程配置IP地址配置协议重发布 目录 搭建拓扑图 实验要求 1.R1 起 RIP 协议,R3 起 OSPF 协议,R5 起 EIGRP 协议。 2.全网可达。 配置过程 配置IP地址 R1: R1#conf t R1(config)#int se 4/0 R1(config-if)#ip add 10.1.1.1 25... 阅读详情

相关推荐

CCNP---重发布实验(单点双向---星型网络拓扑图)

CCNP---重发布(单点双向)目录搭建拓扑图实验要求配置过程配置IP地址配置协议重发布 目录 搭建拓扑图 实验要求 1.R1 起 RIP 协议,R3 起 OSPF 协议,R4 起 EIGRP 协议。 2.全网可达。 配置过程 配置IP地址 R1: R1#conf t R1(config)#int se4/1 R1(config-if)#ip add 10.1.1.1 255.255.255.0...

qq_43613197的博客 868

CCNA实验三十二 ISDN

       CCNA实验三十二 ISDN环境:Windows XP 、Boson NetSim7.02目的:简单认识ISDN和并掌握基本配置说明:ISDN综合业务数字网(Integrated Services Digital Network,ISDN)是一个数字电话网络国际标准,是一种典型的电路交换网络系统。它通过普通的铜缆以更高的速率和质量传输语音和数据。ISDN的承载业务类型按照业务的数据率分为两级。1、基本速率接口(BRI:BasicRateInterface),该速率由两个承载信道和一个数据控制信

kkfloat博客 2793

Python+OpenCV实战:雨天车牌识别准确率提升300%的5个关键技巧

本文针对雨天车牌识别准确率骤降的难题,分享了五个基于Python和OpenCV的实战技巧。通过暗通道先验去雾、雨纹抑制、光照不变量颜色空间转换、多尺度自适应阈值分割以及融合传统特征与轻量级深度学习的混合识别策略,系统性地提升了算法在恶劣天气下的鲁棒性。这些方法能有效解决图像模糊、对比度低、字符断裂粘连等问题,为智能交通等实际应用提供可靠解决方案。

k8l9m0n的博客 717

linux ip命令_如何在Linux上使用ip命令

linux ip命令Fatmawati Achmad Zaenuri/ShutterstockFatmawati Achmad Zaenuri / Shutterstock You can configure IP addresses, network interfaces, and routing rules on the fly with the Linux ip command. We’ll...

culunxun2863的博客 1697

matlab 用m_map画地形水深图

clear,clc %投影 m_proj('albers equal-area','lat',[5 43],'long',[105 125],'rect','on'); %加载水深文件 [CS,CH]=m_etopo2('contourf',[-7000:500:3000],'edgecolor','none'); %绘制高分辨率陆地和海岸线 m_gshhs_h('patch',[0.1 0.9 ...

qq_44913577的博客 9514

【AI落地】AI生成测试用例,claude or gpt?(提效至少 50%)

gpt生成测试用例?当然好使啦,用好了提效50%+,用不好就让他变好!

青禾tester 1971

硬盘

硬盘 硬盘是电脑主要的存储媒介之一,由一个或者多个铝制或者玻璃制的碟片组成。这些碟片外覆盖有铁磁性材料。绝大多数硬盘都是固定硬盘,被永久性地密封固定在硬盘驱动器中。硬盘有固态硬盘(SSD)、机械硬盘(HDD)、混合硬盘(HHD);SSD采用闪存颗粒来存储,HDD采用磁性碟片来存储,混合硬盘(HHD: Hybrid HardDisk)是把磁性硬盘和闪存集成到一起的一种硬盘。...

系统运维 459

深度解析:如何通过NodeRed实现私有485协议VRF中央空调与HomeAssistant的无缝对接

本文详细介绍了如何利用NodeRed的灵活流程化编程,破解并处理VRF中央空调的私有485协议,实现与HomeAssistant的无缝本地化集成。文章从协议分析、硬件准备到NodeRed核心流程搭建、数据映射及双向通信控制,提供了一套完整的实战方案,帮助用户将非标设备深度融入智能家居生态,摆脱对厂家云服务的依赖。

weixin_29173777的博客 408

tar.gz & tar.bz2 解压命令

*.tar.gz格式tar -zxvf xx.tar.gz *.tar.bz2格式 `tar -jxvf xx.tar.bz2`

Random Notes & Thoughts on CS/ML/DL/CV 625

别再手动算了!用Excel函数一键搞定AQI和首要污染物分析(附完整公式模板)

本文介绍如何利用Excel函数自动化计算AQI和首要污染物分析,大幅提升数据处理效率。通过构建标准化输入模板、智能计算IAQI、自动判定AQI与首要污染物,并生成可视化仪表盘,帮助环保工作者快速完成每日监测报告。

weixin_30443075的博客 345

黑猫带你学Nand第8篇:NandFlash的供电情况详解

是指在任何工作条件下,设备允许的最大电压、电流、功率以及温度等参数的界限值。

黑猫奥利奥的博客 1150

CCNP路由实验之十一 IPv6 (8月5号账号被盗,乱发博文深表抱歉,感谢客服帮忙取回密码)

CCNP路由实验之十一 IPv6  IPv4是互联网协议(InternetProtocol,IP)的第四版,也是第一个被广泛使用,构成现今互联网技术的基石的协议。IPv4可以运行在各种各样的底层网络上,比如端对端的串行数据链路(PPP协议和SLIP协议),卫星链路, 以太网等等。全球因特网所采用的协议族是TCP/IP协议族。IP是TCP/IP协议族中网络层的协议,是TCP/IP协议族的核心协议。I

kkfloat博客 1万+

安卓新奇玩机工具全攻略___联发科MTK v6 限时免费 刷写固件工具操作

摘要:该文介绍一款限时免费的联发科V6刷机工具,支持小米、Vivo、Moto等多品牌设备,包括红米Note14Pro等机型(Klimt/Goya等代码)。工具需注册使用,提供EFS分区备份功能。作者提示工具可能触发杀毒警报,强调禁止非法用途,并说明部分联网工具可能失效。

小马哥的专栏 1326

CCNP6:重发布技术+路由策略(Route-map)2019.6.18修改

CCNP9重发布技术 说明:本次讲解的环境为VMwarePro14.0上运行的webiou,使用CRT作为远程登陆工具。 一、认识重发布: 1、什么是重发布? 重发布(redistribute别名:重发布、重分发、重新分配): 一台设备同时运行于两个协议或者两个进程,默认从两端学习到的路由条目不共享。重发布技术是 人为 进行的共享。 2、使用重发布技术时的注意事项: (1)必须存在 ASBR——自...

LIHAO的博客 4437

YOLOv11涨点改进 | 全网独家下采样改进、细节涨点篇 | TGRS 2025 | 引入PWD参数化小波下采样模块,减少下采样过程中小目标的关键细节丢失,即插即用,助力高效涨点发论文

本文提出了一种改进YOLOv11小目标检测性能的参数化小波下采样(PWD)模块。PWD通过小波变换保留目标细节信息,增强频率域特征表达,有效解决了传统下采样导致的小目标信息丢失问题。该模块采用双分支设计,结合自适应频率选择和空间补偿机制,在红外图像和低光场景中表现出更强的抗干扰能力。实验表明,PWD能显著提升YOLOv11对弱纹理和低对比度目标的检测精度,同时保持计算效率。文章详细介绍了PWD的结构原理、实现代码及在YOLOv11中的集成方法,为小目标检测提供了有效的改进方案。

Ai缝合怪、助力小伙伴高效发论文 238

数学建模模型总结

这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!

CCNP之重发布实验

1234各有一个环回,2环回宣告在rip v2,4环回宣告在ospf配置:OSPF学环回学到的是/32位的掩码,因此在所有运行OSPF的环回接口上,把OSPF的工作方式改为点到点----即R3和R4 int lo0 ip ospf network point-to-point宣告完成后,会出现路由回馈的现象在R2和R4上改管理距离—rip管理距离是120 ospf管理距离是110 要在管理距离...

qq_44911995的博客 240

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

CCNP---重发布

CCNP---重发布目录重发布基本概念基本要求配置规则分类配置将一种动态路由协议发布到另一种动态路由协议中将ASBR上的静态路由发布到动态路由协议中将ASBR上非该协议内工作的直连路由发布到该动态路由协议中。多点双向重发布路由策略作用配置抓控制层面流量路由策略Route-map 配置指南 目录 重发布 基本概念 重发布,又名重分布、重分发; 一台设备同时运行于两个协议或两个进程,默认从两端学习到的...

qq_43613197的博客 328

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

Camera2Demo

在Camera2 的基础上进行封装,使得Camera2一堆初始化逻辑与Activity分离,降低耦合度,完成预览拍照并保存的操作

ccnp——多点双向重发布实验报告

一、实验目的 熟练掌握多点双向重发布配置 二、实验内容 三、概要设计 1、划分IP并配置IP 2、在划分区域配置所需协议 3、使用多点双向重发布技术 4、解决路由器选路不佳的问题 四、 详细设计 1、划分IP并配置IP 2、在划分区域配置所需协议 R1,R2,R3,R4配置对应路由协议 R1 R2(ABR) R3 R4(ABR) 3、使用多点双向重发布技术 1)R2重发布 ...

qq_43772826的博客 350

CCNP 5 重发布 重分布 重分发 路由策略

重发布、重分布、重分发 ASBR同时工作于不同的路由协议中,然后通过各种的方式学习的条目,再进行共享 必须存在ASBR----自治系统边界路由器–协议边界路由器 需要考虑种子度量 规则 将A协议发布到B协议,在ASBR上的B协议中配置 将A协议发布到B协议,是将ASBR上通过A协议学习,及本地工作于A的直连全部发入B协议 基于三个方面了解重发布: 将A协议发布到B 协议—将一种动态路由协...

heibaikong6的博客 581

ccnp——重发布,路由策略

重发布 一台设备同时运行于两个协议或两个进程,默认从两端学习到的路由条目不共享;重发布技术就是人为的进行共享 关注点 1、必须存在ASBR — 自治系统边界路由器—协议边界路由器 2、必须考虑种子度量—协议间共享路由时,度量是携带到新的路由协议中,需要在ASBR导入路由时添加起始度量; 规则: 1、将A协议发布到B协议时,在ASBR上的B协议中配置; 2、将A协议发布到B协议时,将ASBR上所有通...

qq_43772826的博客 281

CCNP 重发布

重发布

flandreflor的博客 227

CCNP实验:OSPF综合、MGRE、特殊区域、减少LSA的更新量

文章目录CCNP实验:OSPF综合、MGRE、特殊区域、减少LSA的更新量1、规划IP:2、配置:(1)底层:(2)路由:①配置缺省:②搭建MGRE:③路由宣告:④重发布EIGRP:⑤解决不规则区域:⑥配置NAT:(3)优化:①减少骨干的LSA更新量:②减少非骨干的LSA更新量: CCNP实验:OSPF综合、MGRE、特殊区域、减少LSA的更新量 关于此次实验不懂的可以参考我这两篇博客: CCNP...

LIHAO的博客 784

CCNP11-重发布

文章目录一、重发布概念二、常见几种路由协议的重发布1、RIP2、OSPF3、EIGRP三、重发布工具 一、重发布概念 概念: 一台路由器同时工作在两种不同的路由协议间,或者同一协议的不同进程间; 默认学习到两边的路由信息后,不进行共享; 因为算法和规则可能不同,导致默认也不能直接进行共享; 重发布机制就是人为授权该设备进行双向共享,将A协议产生的路由共享到B协议时,基于B协议的规则来进行转发; 条...

践踏记忆的博客 325

CCNP_重发布技术

重发布: 又称重分布、重分发: 一台设备同时运行于两个协议或两个进程,默认从两端学习到的路由条目不共享;重发布技术就是人为的进行共享; 关注点: 1、必须存在ASBR — 自治系统边界路由器—协议边界路由器 2、必须考虑种子度量—协议间共享路由时,度量是携带到新的路由协议中,需要在ASBR 导入路由时添加起始度量; 规则: 1、将A协议发布到B协议时,在ASBR上的B协议中配置; 2、将A协议发布...

qq_44913154的博客 307

CCNP OSPF实验

CCNP OSPF实验 实验日期: 2019年11月23日 课程名称: CCNP 实验名称: OSPF 一、实验目的 熟练掌握思科OSPF配置命令 二、实验内容 三、概要设计 1、合理划分IP地址并配置IP 2、解决区域0 MGRE问题 3、解决远离骨干的非骨干区域 4、解决EIGRP区域 5、解决访问R4(ISP)环回 6、减少LAS更新量 四、 详细设计 1、合理划分IP地址并配置IP 1)...

Icarus2019的博客 800
上一篇: CCNP路由实验之七 动态路由之BGP
下一篇: CCNP路由实验之九 路由策略
kkfloat
博客等级 码龄17年 923粉丝 201原创
评论 3
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值