帧中继上的OSPF配置(点到点)

e566f37f54f04e8d94a4489c3f1505c3.png

R1:
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
 ip ospf network point-to-point
!
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/0.101 point-to-point
 ip address 192.168.1.2 255.255.255.0
 ip ospf network point-to-point
 snmp trap link-status
 frame-relay interface-dlci 101
!
interface Serial1/0.102 point-to-point
 ip address 172.16.1.2 255.255.255.0
 ip ospf network point-to-point
 snmp trap link-status
 frame-relay interface-dlci 102
!
router ospf 1
 log-adjacency-changes
 network 1.1.1.0 0.0.0.255 area 0
 network 172.16.1.0 0.0.0.255 area 0
 network 192.168.1.0 0.0.0.255 area 0
!


R2:
!
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clock rate 64000
 frame-relay intf-type dce
 frame-relay route 101 interface Serial1/1 301
 frame-relay route 102 interface Serial1/2 401
!
interface Serial1/1
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clock rate 64000
 frame-relay intf-type dce
 frame-relay route 301 interface Serial1/0 101
!
interface Serial1/2
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clock rate 64000
 frame-relay intf-type dce
 frame-relay route 401 interface Serial1/0 102
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!


R3:
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.0
 ip ospf network point-to-point
!
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/0.301 point-to-point
 ip address 192.168.1.1 255.255.255.0
 ip ospf network point-to-point
 snmp trap link-status
 frame-relay interface-dlci 301
!
router ospf 1
 log-adjacency-changes
 network 3.3.3.0 0.0.0.255 area 0
 network 192.168.1.0 0.0.0.255 area 0
!


R4:
!
interface Loopback0
 ip address 4.4.4.4 255.255.255.0
 ip ospf network point-to-point
!
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/0.401 point-to-point
 ip address 172.16.1.1 255.255.255.0
 ip ospf network point-to-point
 snmp trap link-status
 frame-relay interface-dlci 401
!
router ospf 1
 log-adjacency-changes
 network 4.4.4.0 0.0.0.255 area 0
 network 172.16.1.0 0.0.0.255 area 0
!

 

 

 

posted @ 2023-04-03 18:49  .mignon  阅读(24)  评论(0)    收藏  举报  来源