路由技术 交换技术
   无线技术 综合技术 解决方案
   网络管理 网络协议 网络设备
   考试认证 juniper专题
3G纵览 数据通信
   光通信 智能网 WIMAX VOIP
   IPTV NGN
安全产品 病毒防治
    防火墙 安全方案 IDS/IPS    DOS/DDOS
存储技术 存储设备
   存储方案 服务器专区

Google
 
作者: 发布时间:2007-09-29 11:35:27 来源:ciscohuawei.com
 

环境:三台路由器通过串行接口相连。

要求:配置 R2 为帧中继交换机,使 R1 和 R3 运行在帧中继网络上;

在 R1 和 R3 分别启用 loop0 口,并且运行 EIGRP 路由选择协议。

e9cdf8162d09952e16a01f1e9c91994f.jpg

步骤一、帧中继的配置

fr-sw的配置:

fr-sw(config)# frame-relay switching à 启用帧中继交换机

fr-sw(config)#interface serial0

fr-sw(config-if)#clock rate 64000

fr-sw(config-if)# encapsulation frame-relay à 接口封装帧中继

fr-sw(config-if)# frame-relay intf-type dce à 类型DCE

fr-sw(config-if)# frame-relay route 301 interface s1 103 à 指定路由

fr-sw(config-if)#no shutdown

fr-sw(config-if)#interface serial1

fr-sw(config-if)# encapsulation frame-relay

fr-sw(config-if)#clock rate 64000

fr-sw(config-if)# frame-relay intf-type dce

fr-sw(config-if)# frame-relay route 103 inter s0 301

fr-sw(config-if)#no shutdown

r1的配置:

r1(config)#interface serial0

r1(config-if)# encapsulation frame-relay à 接口封装帧中继

r1(config-if)#ip address 30.1.1.1 255.255.255.0

r1(config-if)# frame-relay map ip 30.1.1.3 103 broadcast à 指定静态映射

r1(config-if)# no frame-relay inverse-arp à 关闭逆向ARP

r1(config-if)#no shutdown

r3 的配置:

r3(config)#interface s1

r3(config-if)# encapsulation frame-relay

r3(config-if)#ip add 30.1.1.3 255.255.255.0

r3(config-if)# frame-relay map ip 30.1.1.1 301 broadcast

r3(config-if)# no frame-relay inverse-arp

r3(config-if)#no shutdown

步骤二、查看帧中继的状态及联通性测试

r3的查看:

r3# show frame-relay pvc à 显示永久虚电路

PVC Statistics for interface Serial1 (Frame Relay DTE)

Active Inactive Deleted Static

Local 1 0 0 0

Switched 0 0 0 0

Unused 0 0 0 0

DLCI = 301, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1

r3# show interface s1 à 显示接口封装及状态

Serial1 is up, line protocol is up

Hardware is HD64570

Internet address is 30.1.1.3/24

MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation FRAME-RELAY , loopback not set

r3# show frame-relay map à 显示映射

Serial1 (up): ip 30.1.1.1 dlci 301 (0x12D,0x48D0), static ,

broadcast ,, status defined, active

测试帧中继连通性:

r1# ping 30.1.1.3

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 30.1.1.3, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 60/60/60 ms

步骤三、启用回环口,配置 EIGRP 路由 r1(config)#interface loopback 0

r1(config-if)#ip address 10.1.1.1 255.255.255.0

r1(config-if)#

r1(config-if)#` router eigrp 100 à 启用路由协议

r1(config-router)# network 10.1.1.0 0.0.0.255 à 发布直联网段

r1(config-router)# network 30.1.1.0 0.0.0.255

r1(config-router)# no auto-summary à 关闭自动汇总

r1(config-router)#

r3(config)#interface loopback 0

r3(config-if)#ip address 20.1.1.1 255.255.255.0

r3(config-if)# router eigrp 100

r3(config-router)# network 20.1.1.0 0.0.0.255

r3(config-router)# network 30.1.1.0 0.0.0.255

r3(config-router)# no auto-summary

r3(config-router)#

步骤四、显示学习到的路由

r1# show ip route

Codes: C - connected, S - static, I - IGRP, 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, E - EGP

i - IS-IS, 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

20.0.0.0/24 is subnetted, 1 subnets

D 20.1.1.0 [90/2297856] via 30.1.1.3, 00:00:38, Serial0

10.0.0.0/24 is subnetted, 1 subnets

C 10.1.1.0 is directly connected, Loopback0

30.0.0.0/24 is subnetted, 1 subnets

C 30.1.1.0 is directly connected, Serial0

r3#show ip route

Codes: C - connected, S - static, I - IGRP, 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, E - EGP

i - IS-IS, 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

20.0.0.0/24 is subnetted, 1 subnets

C 20.1.1.0 is directly connected, Loopback0

10.0.0.0/24 is subnetted, 1 subnets

D 10.1.1.0 [90/2297856] via 30.1.1.1, 00:00:00, Serial1

30.0.0.0/24 is subnetted, 1 subnets

C 30.1.1.0 is directly connected, Serial1

步骤五、显示当前配置

fr-sw 的当前配置:

fr-sw#show running-config

hostname fr-sw

!

no ip domain-lookup

!

frame-relay switching

!

interface Serial0

no ip address

encapsulation frame-relay

clockrate 64000

frame-relay intf-type dce

frame-relay route 301 interface Serial1 103

!

interface Serial1

no ip address

encapsulation frame-relay

clockrate 64000

frame-relay intf-type dce

frame-relay route 103 interface Serial0 301

!

end

r1 的当前配置 :

r1#show running-config

!

hostname r1

!

no ip domain-lookup interface Loopback0

ip address 10.1.1.1 255.255.255.0

!

interface Serial0

ip address 30.1.1.1 255.255.255.0

encapsulation frame-relay

frame-relay map ip 30.1.1.3 103 broadcast

no frame-relay inverse-arp

!

router eigrp 100

network 10.1.1.0 0.0.0.255

network 30.1.1.0 0.0.0.255

no auto-summary

end

r3 的当前配置:

r3#show running-config

hostname r3

!

interface Loopback0

ip address 20.1.1.1 255.255.255.0

!

interface Serial1

ip address 30.1.1.3 255.255.255.0

encapsulation frame-relay

frame-relay map ip 30.1.1.1 301 broadcast

no frame-relay inverse-arp

!

router eigrp 100

network 20.1.1.0 0.0.0.255

network 30.1.1.0 0.0.0.255

no auto-summary

!

end

※ 相关信息
无相关信息
 

  最新文章

·CCNA认证英文词汇中文解析
·CCNA640-802考试大纲
·CCNA管理手册:路由基础知
·CCNA——我的学习和考试感
·ccna实验—配置ISDN DDR
·ccna实验—背对背帧中继
·ccna实验—帧中继链路上运
·ccna实验—静态、动态NAT
·ccna实验—访问列表与tel
·ccna实验—RIPv1与EIGRP在
 

  热门文章

·CCNA最新考题 12.17
·Cisco常用单词(3)
·ccna实验—静态、动态NAT
·Cisco常用单词(2)
·ccna实验—配置STP与VTP
·CCNA学习:OSPF从入门到精
·CCNA常用学习书籍
·ccna实验—访问列表与tel
·ccna实验—帧中继链路上运
·ccna实验—RIP路由协议
 
 

 

Copyright ? 2006 All rights reserved