手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>网络知识>Cisco技术>列表

OSPF Authentication over FR

来源:互联网 作者:west263.com 时间:2008-02-23
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!
--------------------------------------------------------------------------------
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

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!