CCIE RS V5 考试 LAB1 实验详解:Section 2.3 EIGRP in AS45678

如需注册 @ccie.engineer、@ccde.engineer、@ccar.engineer、@hcie.engineer、@rhce.engineer 和 @cissp.engineer 邮箱,请点击这里

传送门:CCIE RS V5 考试 LAB1 实验详解:Section 2.2 EIGRP in AS34567

Section 2.3 EIGRP in AS45678

CCIE RS V5考试LAB1实验详解:Section 2.3 EIGRP in AS45678
CCIE RS V5考试LAB1实验详解:Section 2.3 EIGRP in AS45678

根据以下需求配置 EIGRP in 45678 的网络:

  • EIGRP AS 号是 45678;
  • interface lo0 在其他所有路由器上必须看到并显示为 EIGRP 内部路由;
  • 确保 EIGRP 没有运行在任何连接其他 AS 的接口上,使用任何方法完成这个需求;
  • SW5 和 SW6 是三层交换机,必须配置 EIGRP;
  • R15、R16 和 R17 这三个路由器要使用 EIGRP 的 64bit 宽度量;(也就是使用 EIGRP 命名的配置模式)
  • 在 AS45678 的任何物理接口上不要改变接口的带宽。
CCIE RS V5考试LAB1实验详解:Section 2.3 EIGRP in AS45678
CCIE RS V5考试LAB1实验详解:Section 2.3 EIGRP in AS45678

配置:

R15(config)#int l 0
R15(config-if)#ip add 123.15.15.15 255.255.255.255

R15(config-if)#int r e 0/1-2
R15(config-if-range)#no sh

R15(config-if-range)#router eigrp APAC
R15(config-router)#add ipv4 un au 45678
R15(config-router-af)#net 123.15.15.15 0.0.0.0
R15(config-router-af)#net 123.20.1.1 0.0.0.0
R15(config-router-af)#net 123.20.1.9 0.0.0.0
R16(config)#int l 0
R16(config-if)#ip add 123.16.16.16 255.255.255.255

R16(config-if)#int r e 0/1-2
R16(config-if-range)#no sh

R16(config-if-range)#router eigrp APAC
R16(config-router)#add ipv4 un au 45678
R16(config-router-af)#net 123.16.16.16 0.0.0.0
R16(config-router-af)#net 123.20.1.2 0.0.0.0
R16(config-router-af)#net 123.20.1.17 0.0.0.0
R17(config)#int l 0
R17(config-if)#ip add 123.17.17.17 255.255.255.255

R17(config-if)#int r e 0/1-2
R17(config-if-range)#no sh

R17(config-if-range)#router eigrp APAC
R17(config-router)#add ipv4 un au 45678
R17(config-router-af)#net 123.17.17.17 0.0.0.0
R17(config-router-af)#net 123.20.1.18 0.0.0.0
R17(config-router-af)#net 123.20.1.10 0.0.0.0
SW05(config)#int l 0
SW05(config-if)#ip add 123.205.5.5 255.255.255.255
SW05(config-if)#do sh cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID   Local Intrfce   Holdtme   Capability   Platform       Port ID
      R16         Eth 0/1       154            R      Linux   Uni Eth 0/1
      R15         Eth 0/0       142            R      Linux   Uni Eth 0/1

SW05(config-if)#int r e 0/0-1
SW05(config-if-range)#sw mo ac
SW05(config-if-range)#sw ac v 55 —— SW05 分别用两根线连接了R15 和 R16;根据需求
所示,SW05 是要运行 EIGRP 的,所以要划分 VLAN 还要开启 SVI 接口,然后通过 SVI 接口
运行 EIGRP
% Access VLAN does not exist. Creating vlan 55

SW05(config-if-range)#int vlan 55
SW05(config-if)#ip add 123.20.1.3 255.255.255.248 —— 注意,AS 45678 的 IP 地址
都是 /29 的子网掩码
SW05(config-if)#no sh

SW05(config-if)#int vlan 5
SW05(config-if)#ip add 123.55.55.5 255.255.255.0
SW05(config-if)#no sh

SW05(config-if)#router eigrp 45678 —— 64bit 宽度量只要 R15、R16 和 R17 运行了就
行,当然这里要是用宽度量也可以
SW05(config-router)#net 123.205.5.5 0.0.0.0
SW05(config-router)#net 123.20.1.3 0.0.0.0
SW05(config-router)#net 123.55.55.0 0.0.0.255 —— 后面组播的实验需要用到这个,就
一起通告了
SW06(config)#int l 0
SW06(config-if)#ip add 123.206.6.6 255.255.255.255

SW06(config-if)#do sh cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID   Local Intrfce   Holdtme   Capability   Platform       Port ID
      R17         Eth 0/1       177            R      Linux   Uni Eth 0/1
      R15         Eth 0/0       165            R      Linux   Uni Eth 0/2

SW06(config-if)#int r e 0/0-1
SW06(config-if-range)#sw mo ac
SW06(config-if-range)#sw ac v 66
% Access VLAN does not exist. Creating vlan 66

SW06(config-if-range)#int vlan 66
SW06(config-if)#ip add 123.20.1.11 255.255.255.248
SW06(config-if)#no sh

SW06(config-if)#int vlan 6
SW06(config-if)#ip add 123.66.66.6 255.255.255.0
SW06(config-if)#no sh

SW06(config-if)#router eigrp 45678 —— 64bit 宽度量只要 R15、R16 和 R17 运行了就
行,当然这里要是用宽度量也可以
SW06(config-router)#net 123.206.6.6 0.0.0.0
SW06(config-router)#net 123.66.66.0 0.0.0.255
SW06(config-router)#net 123.20.1.11 0.0.0.0

测试:

R15#sh ip ei interfaces —— 这里可以看哪个接口通告了 EIGRP
 EIGRP-IPv4 VR(APAC) Address-Family Interfaces for AS(45678)
                  Xmit Queue   PeerQ        Mean  Pacing Time  Multicast   Pending
 Interface Peers  Un/Reliable  Un/Reliable  SRTT  Un/Reliable  Flow Timer  Routes
 Lo0          0        0/0       0/0           0      0/0           0          0
 Et0/1        2        0/0       0/0           3      0/2          50          0
 Et0/2        2        0/0       0/0           5      0/3          50          0

 R15#sh ip protocols 
 *** IP Routing is NSF aware ***

 Routing Protocol is "eigrp 45678"
   Outgoing update filter list for all interfaces is not set
   Incoming update filter list for all interfaces is not set
   Default networks flagged in outgoing updates
   Default networks accepted from incoming updates
   EIGRP-IPv4 VR(APAC) Address-Family Protocol for AS(45678)
     Metric weight K1=1, K2=0, K3=1, K4=0, K5=0 K6=0
     Metric rib-scale 128
     Metric version 64bit —— 这里可以看是否开启了 64bit 宽度量
    NSF-aware route hold timer is 240
     Router-ID: 123.15.15.15
     Topology : 0 (base) 
       Active Timer: 3 min
       Distance: internal 90 external 170
       Maximum path: 4
       Maximum hopcount 100
       Maximum metric variance 1
       Total Prefix Count: 8
       Total Redist Count: 0

 R15#sh ip ro ei
 Codes: L - local, 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, H - NHRP, l - LISP
        + - replicated route, % - next hop override

 Gateway of last resort is not set

       123.0.0.0/8 is variably subnetted, 10 subnets, 2 masks
 D        123.16.16.16/32 [90/1024640] via 123.20.1.2, 00:03:15, Ethernet0/1
 D        123.17.17.17/32 [90/1024640] via 123.20.1.10, 00:03:15, Ethernet0/2
 D        123.20.1.16/29 [90/1536000] via 123.20.1.10, 00:03:15, Ethernet0/2
                         [90/1536000] via 123.20.1.2, 00:03:15, Ethernet0/1
 D        123.205.5.5/32 [90/3584000] via 123.20.1.3, 00:03:14, Ethernet0/1
 D        123.206.6.6/32 [90/3584000] via 123.20.1.11, 00:01:53, Ethernet0/2

可以看到 123.55.55.0 和 123.66.66.0 两个网段没有学到,因为 VLAN 5 和 6 下没有活动的物理接口,所以 VLAN5 和 6 shutdown 了。后面做到组播那一节会把交换机上没有使用的物理接口分别全部划分进 VLAN5 和 6,到时候就可以学习到了。

这篇文章对你有帮助吗?

相关文章

发表评论?

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据