码迷,mamicode.com
首页 > 其他好文 > 详细

路由协议OSPF在帧中继上配置

时间:2015-04-24 16:44:56      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:路由协议;ospf;frame relay;帧中继

一、实验拓扑图

技术分享


二、各设备配置

framrelay配置如下

interface Serial0/1

 no ip address

 encapsulation frame-relay

 serial restart-delay 0

 clockrate 64000

 no frame-relay inverse-arp

 frame-relay lmi-type cisco

 frame-relay intf-type dce

 frame-relay route 102 interface Serial0/2 201

 frame-relay route 103 interface Serial0/3 301

!

interface Serial0/2

 no ip address

 encapsulation frame-relay

 serial restart-delay 0

 clockrate 64000

 no frame-relay inverse-arp

 frame-relay lmi-type cisco

 frame-relay intf-type dce

 frame-relay route 201 interface Serial0/1 102

!

interface Serial0/3

 no ip address

 encapsulation frame-relay

 serial restart-delay 0

 clockrate 64000

 no frame-relay inverse-arp

 frame-relay lmi-type cisco

 frame-relay intf-type dce

 frame-relay route 301 interface Serial0/1 103


R1配置如下:

interface Loopback0

 ip address 172.16.1.1 255.255.255.0

 ip ospf network point-to-point

!

interface Serial0/0

 ip address 192.168.1.1 255.255.255.0

 encapsulation frame-relay

 ip ospf network broadcast

 serial restart-delay 0

 frame-relay map ip 192.168.1.2 102 broadcast

 frame-relay map ip 192.168.1.3 103 broadcast

 no frame-relay inverse-arp

!

router ospf 10

 router-id 172.16.1.1

 log-adjacency-changes

 network 172.16.1.0 0.0.0.255 area 0

 network 192.168.1.0 0.0.0.255 area 0

!

R2配置如下:

interface Loopback0

 ip address 172.16.2.1 255.255.255.0

 ip ospf network point-to-point

!

interface Serial0/0

 ip address 192.168.1.2 255.255.255.0

 encapsulation frame-relay

 ip ospf network broadcast

 serial restart-delay 0

 frame-relay map ip 192.168.1.1 201 broadcast

 no frame-relay inverse-arp

!

router ospf 10

 router-id 172.16.2.1

 log-adjacency-changes

 network 172.16.2.0 0.0.0.255 area 0

 network 192.168.1.0 0.0.0.255 area 0

!

R3配置如下:

interface Loopback0

 ip address 172.16.3.1 255.255.255.0

 ip ospf network point-to-point

!

interface Serial0/1

 ip address 192.168.1.3 255.255.255.0

 encapsulation frame-relay

 ip ospf network broadcast

 serial restart-delay 0

 frame-relay map ip 192.168.1.1 301 broadcast

 no frame-relay inverse-arp

!

router ospf 10

 router-id 172.16.3.1

 log-adjacency-changes

 network 172.16.3.0 0.0.0.255 area 0

 network 192.168.1.0 0.0.0.255 area 0

!

三、相关调试命令

frame-relay switching

debug ip ospf events

debug ip ospf packet

show ip ospf

show ip ospf database

show ip ospf interface

show ip ospf neighbor

show ip route



本文出自 “谢正旺” 博客,请务必保留此出处http://xiezhengwang.blog.51cto.com/6288872/1637906

路由协议OSPF在帧中继上配置

标签:路由协议;ospf;frame relay;帧中继

原文地址:http://xiezhengwang.blog.51cto.com/6288872/1637906

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!