EIGRP被动接口

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

实验:被动接口

环境如图:

R1R2实验目的:

1.看看设置了被动接口,Eigrp功能失效

基本配置:

R1

Router>en

Router#configure terminal

Router(config)#hostname r1

r1(config)#line console 0

r1(config-line)#logging synchronous

r1(config-line)#exec-timeout 0

r1(config-line)#exit

r1(config)#interface serial 1/2

r1(config-if)#ip address 12.12.12.1 255.255.255.0

r1(config-if)#no shutdown

r1(config-if)#exit

r1(config)#interface loopback 0

r1(config-if)#ip address 1.1.1.1 255.255.255.0

r1(config-if)#no shutdown

r1(config-if)#exit

r1(config)#exit

r1#wr

R2

Router>enable

Router#configure terminal

Router(config)#hostname r2

r2(config)#line console 0

r2(config-line)#logging synchronous

r2(config-line)#exec-timeout 0

r2(config-line)#exit

r2(config)#interface serial 1/3

r2(config-if)#ip address 12.12.12.2 255.255.255.0

r2(config-if)#no shutdown

r2(config-if)#exit

r2(config)#interface loopback 0

r2(config-if)#ip address 2.2.2.2 255.255.255.0

r2(config-if)#no shutdown

r2(config-if)#exit

r2(config)#exit

r2#wr

配置EIGRP动态路由协议R1

r1#configure terminal

r1(config)#router eigrp 1

r1(config-router)#network 1.1.1.1 0.0.0.255

r1(config-router)#network 12.12.12.1 0.0.0.155

r1(config-router)#no auto-summary

r1(config-router)#exit

r1(config)#exit

R2

r2#configure terminal

r2(config)#router eigrp 1

r2(config-router)#network 2.2.2.2 0.0.0.255

r2(config-router)#network 12.12.12.2 0.0.0.255

r2(config-router)#no auto-summary

r2(config-router)#exit

r2(config)#exit

显示路由表

R1

r1#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

1.0.0.0/24 is subnetted, 1 subnets

C 1.1.1.0 is directly connected, Loopback0

D 2.0.0.0/8 [90/2297856] via 12.12.12.2, 00:00:55, Serial1/2

12.0.0.0/30 is subnetted, 1 subnets

C 12.12.12.0 is directly connected, Serial1/2

R2

r2#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

1.0.0.0/24 is subnetted, 1 subnets

D 1.1.1.0 [90/2297856] via 12.12.12.1, 00:00:12, Serial1/3

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

C 2.2.2.0/24 is directly connected, Loopback0

D 2.0.0.0/8 is a summary, 00:00:13, Null0

相关文档
最新文档