首页 > 其他分享 >CCNP Day5 EIGRP默认路由三

CCNP Day5 EIGRP默认路由三

时间:2022-11-27 22:02:45浏览次数:42  
标签:CCNP R1 R2 R3 0.0 Day5 EIGRP router config

1、网络拓扑

2、基础Eigrp配置

R1>
R1>enable
R1#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#interface f0/0
R1(config-if)#ip add 172.16.12.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#interface loopback 0
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#no shu
R1(config-if)#no shutdown 
R1(config-if)#exit
R1(config)#router eigrp 100
R1(config-router)#network 172.16.12.1 0.0.0.0
R1(config-router)#network 1.1.1.1 0.0.0.0
R1(config-router)#exit
R1(config)#
R1(config)#interface s1/1
R1(config-if)#ip add 1.1.13.1 255.255.255.0
R1(config-if)#no shutdown 
R1(config-if)#exit
R1(config)#router eigrp 100
R1(config-router)#1.1.13.1 255.255.255.0
R1(config-router)#network 1.1.13.1 255.255.255.0
R1(config-router)#
R1(config-router)#
R1(config-router)#
R1(config-router)#end
R1#
R1#
R1(config)#router eigrp 100
R1(config-router)#no auto-summary 


R2>
R2>enable
R2#config t
R2(config)#interface f0/0
R2(config-if)#ip add 172.16.12.2 255.255.255.0
R2(config-if)#no shutdown 
R2(config-if)#exit
R2(config)#
R2(config)#interface s1/0
R2(config-if)#ip add 192.168.23.1 255.255.255.0
R2(config-if)#no shutdown 
R2(config-if)#exit
R2(config)#router eigrp 100
R2(config-router)#network 192.168.23.1 0.0.0.0
R2(config-router)#network 172.16.12.2 0.0.0.0
R2(config-router)#end
R2(config)#router eigrp 100
R2(config-router)#no auto
R2(config-router)#no auto-summary 
R2(config-router)#
R2(config-router)#
R2(config-router)#
R2(config-router)#
R2(config-router)#end
R2#show ip eigrp topology 
IP-EIGRP Topology Table for AS(100)/ID(192.168.23.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status 

P 1.1.1.0/24, 1 successors, FD is 156160
        via 172.16.12.1 (156160/128256), FastEthernet0/0
P 3.3.3.0/24, 1 successors, FD is 2297856
        via 192.168.23.2 (2297856/128256), Serial1/0
P 1.1.13.0/24, 1 successors, FD is 2172416
        via 172.16.12.1 (2172416/2169856), FastEthernet0/0
        via 192.168.23.2 (2681856/2169856), Serial1/0
P 192.168.23.0/24, 1 successors, FD is 2169856
        via Connected, Serial1/0
P 172.16.12.0/24, 1 successors, FD is 28160
        via Connected, FastEthernet0/0
R2#


R3>enable
R3#config t
R3(config)#
R3(config)#interface s1/0
R3(config-if)#ip add 192.168.23.2 255.255.255.0
R3(config-if)#no shutdown 
R3(config-if)#exit
R3(config)#interface loopback 0
R3(config-if)#ip add 3.3.3.3 255.255.255.0
R3(config-if)#no shutdown 
R3(config)#router eigrp 100
R3(config-router)#network 3.3.3.3 0.0.0.0
R3(config-router)#network 192.168.23.2 0.0.0.0
R3(config-router)#end
R3#show ip route 
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 not set

D    1.0.0.0/8 [90/2300416] via 192.168.23.1, 00:00:11, Serial1/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, 00:00:16, Null0
D    172.16.0.0/16 [90/2172416] via 192.168.23.1, 00:00:11, Serial1/0
C    192.168.23.0/24 is directly connected, Serial1/0
R3#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/75/88 ms
R3#
R3#
R3#
R3(config)#interface s1/1
R3(config-if)#ip add 1.1.13.2 255.255.255.0
R3(config-if)#exit
R3(config)#router eigrp 100
R3(config-router)#network 1.1.13.2 0.0.0.0
R3(config-router)#end
R3#
R3#
R3#
R3#show ip route 
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 not set

D    1.0.0.0/8 [90/2300416] via 192.168.23.1, 00:30:48, Serial1/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, 00:30:53, Null0
D    172.16.0.0/16 [90/2172416] via 192.168.23.1, 00:30:48, Serial1/0
C    192.168.23.0/24 is directly connected, Serial1/0
R3#
R3#
R3#show ip eigrp topology 
IP-EIGRP Topology Table for AS(100)/ID(3.3.3.3)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status 

P 1.0.0.0/8, 1 successors, FD is 2300416
        via 192.168.23.1 (2300416/156160), Serial1/0
P 3.0.0.0/8, 1 successors, FD is 128256
        via Summary (128256/0), Null0
P 3.3.3.0/24, 1 successors, FD is 128256
        via Connected, Loopback0
P 192.168.23.0/24, 1 successors, FD is 2169856
        via Connected, Serial1/0
P 172.16.0.0/16, 1 successors, FD is 2172416
        via 192.168.23.1 (2172416/28160), Serial1/0
R3#
R3#show ip eigrp neighbors 
IP-EIGRP neighbors for process 100
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
1   1.1.13.1                Se1/1             13 00:00:01    1  2000  2  5
0   192.168.23.1            Se1/0             13 00:33:34  614  3684  
R3(config)#router eigrp 100
R3(config-router)#no aut
R3(config-router)#no auto-summary 
R3(config-router)#end
R3#
R3#
R

 

2、网络拓扑

标签:CCNP,R1,R2,R3,0.0,Day5,EIGRP,router,config
From: https://www.cnblogs.com/leishu/p/16930784.html

相关文章

  • CCNP Day4 EIGRP默认路由二
    1、网络拓扑 2、第三种方式配置默认路由(接口下汇总的方式)R3#R3#configtEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R3(config)#inte......
  • CCNP Day3 EIGRP的相关概念
    1、Eigrp参数R2#showipeigrpneighborsIP-EIGRPneighborsforprocess100HAddressInterfaceHoldUptimeSRTTRTOQSeq......
  • day5
    022.for循环语句语法:for(语句1;表达式;语句2){语句块} 注意:1.循环开始的时候先执行语句一在整个循环过程中语句一只会被执行一次2.判断表达式的值如果为真......
  • Eigrp 的配置与说明
    EIGRPDatabases(EIGRP数据库)存在三张表如下:1、邻居表neighbortable:EIGRP路由器会在启动后发送HELLO包来寻找和维持邻居关系2、拓扑表topologytable:EIGRP路由器会把从邻......
  • day51(监听器,ajax)
    web监听器第一种监听(1).实现HttpSessionBindingListener接口(2).重写相关方法注意:在哪个类中实现了该接口,就会监听哪个类当这个类对象被设置session中时,会......
  • Day5
    T1做法1:枚举选了哪些行间隔,对列间隔进行dp,时间复杂度\(O(2^{n-1}n^3))\)。做法2:枚举选了哪些行列列间隔,考虑增量使得转移变成\(O(1)\),时间复杂度\(O(2^{n+m-2})\)......
  • day50
    web过滤器获取到session对象HttpServletRequestrequest=(HttpServletRequest)arg0;HttpServletResponseresponse=(HttpServletResponse)arg1;HttpSessions......
  • Day5-5 简单的加减乘除计算器
    简单加减乘除计算器packagecom.kuang.method;​importjava.util.Scanner;​publicclassDemo07{publicstaticvoidmain(String[]args){......
  • Day5-4 递归
    递归递归就是:方法调用自己利用递归可以用简单的程序来解决一些复杂的问题。它通常把一个大型复杂的问题层层转化为一个与原问题相似的规模较小的问题来求解,递归策略只需......
  • Day5-3 可变参数
    可变参数JDK1.5开始,Java支持传递同类型的可变参数给一个方法在方法声明中,在指定参数类型后加一个省略号(...)一个方法中只能指定一个可变参数,他必须是方法的最后......