设为首页 友情链接
在线留言 发表文章
加入收藏 广告联系

刺猬首页

| 专案技术 | 网络技术 | 图形图象 | 网络编程 | 网页设计 | 操作系统 | 服务器 | 技术白皮书 | 在线实验室 | 刺猬论坛 |
小说专版  | 数据库 | 设计赏析 | 存储频道 | 网络安全 | 私服架设 |  Solaris | 网站评估 | PC维护技巧 | 下载中心 | 博 客 |
专   题: | Linux | java | cisco | 防病毒 | 刀片 | SOA | iscsi | ASP.NET | SQL | Oracle |
您现在的位置: IT公社 IT community >> 思科学堂 >> 思科网络学堂 >> 文章正文 用户登录 新用户注册
专 题 栏 目
最 新 热 门
最 新 推 荐
相 关 文 章
CCIE-LAB最新IOS12.3T版
Cisco IOS框架
Cisco IOS安全体系结构
Cisco IOS体系结构
IOS 简介
如何选择Cisco IOS软件版
IOS:路由的王冠
图解 Cisco IOS 命名规范
Cisco ios 软件的安装升
思科IOS 12.3新特性
  OSPF Authentication over FR         
OSPF Authentication over FR
 

【导读】OSPF Authentication over FR

R1 (s0/0) -------------------R3 --------------------(s0/0) R4

1. R3 is Hub

2. R3 can use point-to-multipoint subinterface

3. R1 and R4 used physical interface only

4. only between R1 and R3 can use MD5 authenticaiton

hostname r1

!

!

!

interface Loopback0

ip address 10.1.1.1 255.255.255.0

!

interface Serial0/0

no ip address

encapsulation frame-relay

frame-relay interface-dlci 103 ppp Virtual-Template1

no frame-relay inverse-arp

!

interface Virtual-Template1

ip unnumbered Loopback0

ip ospf authentication message-digest

ip ospf message-digest-key 1 md5 cisco

!

router ospf 1

area 0 authentication message-digest

network 10.1.1.0 0.0.0.255 area 0

r1#sh ip route

40.0.0.0/32 is subnetted, 1 subnets

O 40.1.1.1 [110/3] via 30.1.1.1, 00:14:38, Virtual-Access1

10.0.0.0/24 is subnetted, 1 subnets

C 10.1.1.0 is directly connected, Loopback0

30.0.0.0/32 is subnetted, 1 subnets

C 30.1.1.1 is directly connected, Virtual-Access1

r1#

r1#sh ip ospf nei

Neighbor ID Pri State Dead Time Address Interface

30.1.1.1 1 FULL/ - 00:00:37 30.1.1.1 Virtual-Access1

r1#

r1#sh ip int brief

Interface IP-Address OK? Method Status Protocol

Ethernet0/0 unassigned YES unset administratively down down

Serial0/0 unassigned YES unset up up

Serial0/1 unassigned YES unset administratively down down

Virtual-Access1 10.1.1.1 YES TFTP up up

Virtual-Template1 10.1.1.1 YES manual down down

Loopback0 10.1.1.1 YES manual up up

r1#

r1#ping 30.1.1.1

Type escape sequence to abort.

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

!!!!!

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

r1#ping 40.1.1.1

Type escape sequence to abort.

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

!!!!!

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

================================================

hostname r3

interface Loopback0

ip address 30.1.1.1 255.255.255.0

!

interface Serial0/0

no ip address

encapsulation frame-relay

no frame-relay inverse-arp

!

interface Serial0/0.1 multipoint

frame-relay interface-dlci 301 ppp Virtual-Template1

frame-relay interface-dlci 304 ppp Virtual-Template2

!

interface Virtual-Template1

ip unnumbered Loopback0

ip ospf authentication message-digest

ip ospf message-digest-key 1 md5 cisco

!

interface Virtual-Template2

ip unnumbered Loopback0

!

router ospf 1

area 0 authentication message-digest

network 30.1.1.0 0.0.0.255 area 0

r3# sh ip ospf nei

Neighbor ID Pri State Dead Time Address Interface

40.1.1.1 0 FULL/ - 00:00:30 40.1.1.1 Virtual-Access1

10.1.1.1 0 FULL/ - 00:00:34 10.1.1.1 Virtual-Access3

r3#

r3#sh ip route

Gateway of last resort is not set

40.0.0.0/32 is subnetted, 1 subnets

C 40.1.1.1 is directly connected, Virtual-Access1

10.0.0.0/32 is subnetted, 1 subnets

C 10.1.1.1 is directly connected, Virtual-Access3

30.0.0.0/24 is subnetted, 1 subnets

C 30.1.1.0 is directly connected, Loopback0

r3#

r3#sh ip int brie

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES unset administratively down down

Serial0/0 unassigned YES unset up up

Serial0/0.1 unassigned YES unset up up

Serial0/0.2 unassigned YES unset deleted down

BRI0/0 unassigned YES unset administratively down down

BRI0/0:1 unassigned YES unset administratively down down

BRI0/0:2 unassigned YES unset administratively down down

Serial0/1 unassigned YES unset administratively down down

Virtual-Access1 30.1.1.1 YES TFTP up up

Virtual-Template1 30.1.1.1 YES TFTP down down

Virtual-Access2 unassigned YES unset down down

Virtual-Template2 30.1.1.1 YES TFTP down down

Virtual-Access3 30.1.1.1 YES TFTP up up

Loopback0 30.1.1.1 YES manual up up

r3#

r3#p 10.1.1.1

Type escape sequence to abort.

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

!!!!!

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

r3#p 40.1.1.1

Type escape sequence to abort.

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

!!!!!

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

----------------------------------------------------------------------------------------

hostname r4

interface Loopback0

ip address 40.1.1.1 255.255.255.0

!

interface Serial0/0

no ip address

encapsulation frame-relay

frame-relay interface-dlci 403 ppp Virtual-Template1

no frame-relay inverse-arp

!

interface Virtual-Template1

ip unnumbered Loopback0

router ospf 1

area 0 authentication message-digest

network 40.1.1.0 0.0.0.255 area 0

r4# sh ip ospf nei

Neighbor ID Pri State Dead Time Address Interface

30.1.1.1 0 FULL/ - 00:00:33 30.1.1.1 Virtual-Access1

r4#

r4#sh ip route

40.0.0.0/24 is subnetted, 1 subnets

C 40.1.1.0 is directly connected, Loopback0

10.0.0.0/32 is subnetted, 1 subnets

O 10.1.1.1 [110/65537] via 30.1.1.1, 00:25:47, Virtual-Access1

30.0.0.0/32 is subnetted, 1 subnets

C 30.1.1.1 is directly connected, Virtual-Access1

r4#

r4#sh ip int brie

Interface IP-Address OK? Method Status Protocol

Ethernet0/0 unassigned YES unset administratively down down

Serial0/0 unassigned YES unset up up

TokenRing0/0 unassigned YES unset administratively down down

Serial0/1 unassigned YES unset administratively down down

Ethernet3/0 unassigned YES unset administratively down down

TokenRing3/0 unassigned YES unset administratively down down

Virtual-Access1 40.1.1.1 YES TFTP up up

Virtual-Template1 40.1.1.1 YES TFTP down down

Virtual-Access2 unassigned YES unset down down

Loopback0 40.1.1.1 YES manual up up

r4#

r4#p 10.1.1.1

Type escape sequence to abort.

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

!!!!!

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

r4#p 30.1.1.1

Type escape sequence to abort.

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

!!!!!

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

  (责任编辑: 51CTO.com TEL:010-68476606)

频道声明:本频道的文章除部分特别声明禁止转载的专稿外,可以自由转载.但请务必注明出出处和原始作者 文章版权归本频道与文章作者所有.对于被频道转载文章的个人和网站,我们表示深深的谢意。

原始作者:佚名 录入时间:2006-10-13 4:49:42
信息来源:不详 投稿信箱:itqoo@126.com
文章录入:admin    责任编辑:admin 
  • 上一篇文章:

  • 下一篇文章:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    - 关于我们 - 合作伙伴 - 友情链接 - 广告刊登 - 投稿热线 - 在线留言版权声明联系方式 -
    IT公社版权所有 粤ICP备05127012号
    Copyrigh@2005-2006 itqoo.com.Inc All Rights Reserved  推荐分辨率 1024*768
    联系站长:E-Mail:itqoo@126.com     MSN:urchincc@hotmail.com    QQ:点击这里给我发消息
    特别感谢:亿太网络提供空间支持