您的位置:首页 > 其它

多区域ospf在帧中继环境下实现互通-配置命令(请各位多指教)

2019-01-23 20:24 204 查看

实验拓扑

R1:R1#show run
Building configuration...

Current configuration : 1582 bytes
!
! Last configuration change at 16:23:13 CST Wed Jan 23 2019
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
!
no aaa new-model
clock timezone CST 8 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!

!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.10.255.1 255.255.255.255
!
interface Ethernet0/0
ip address 10.10.253.1 255.255.255.252
ip ospf network non-broadcast
!
interface Ethernet0/1
no ip address
shutdown
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
interface Serial1/0
ip address 10.10.254.1 255.255.255.240
encapsulation frame-relay
ip ospf network non-broadcast
serial restart-delay 0
frame-relay map ip 10.10.254.2 102
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
router-id 10.10.255.1
no auto-cost
network 10.10.253.0 0.0.0.3 area 1
network 10.10.254.1 0.0.0.0 area 0
neighbor 10.10.254.2
neighbor 10.10.253.2
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end

R1#
R2:R2#show run
Building configuration...

Current configuration : 1568 bytes
!
! Last configuration change at 15:46:51 CST Wed Jan 23 2019
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
!
no aaa new-model
clock timezone CST 8 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!

!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.10.255.2 255.255.255.255
!
interface Ethernet0/0
no ip address
shutdown
!
interface Ethernet0/1
no ip address
shutdown
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
ip address 10.10.254.2 255.255.255.240
encapsulation frame-relay
ip ospf network non-broadcast
ip ospf priority 10
serial restart-delay 0
frame-relay map ip 10.10.254.1 201
frame-relay map ip 10.10.254.3 203
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
router-id 10.10.255.2
no auto-cost
network 10.10.254.2 0.0.0.0 area 0
neighbor 10.10.254.3
neighbor 10.10.254.1 priority 2
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end

R2#
R3:R3#show run
Building configuration...

Current configuration : 1585 bytes
!
! Last configuration change at 16:05:30 CST Wed Jan 23 2019
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
!
no aaa new-model
clock timezone CST 8 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!

!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.10.255.3 255.255.255.255
!
interface Ethernet0/0
ip address 10.10.253.21 255.255.255.252
ip ospf network non-broadcast
!
interface Ethernet0/1
no ip address
shutdown
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
ip address 10.10.254.3 255.255.255.240
encapsulation frame-relay
ip ospf network non-broadcast
serial restart-delay 0
frame-relay map ip 10.10.254.2 302
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
router-id 10.10.255.3
no auto-cost
network 10.10.253.20 0.0.0.3 area 2
network 10.10.254.3 0.0.0.0 area 0
neighbor 10.10.254.2
neighbor 10.10.253.22
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end

R3#
R4:R4#show run
Building configuration...

Current configuration : 1699 bytes
!
! Last configuration change at 15:39:54 CST Wed Jan 23 2019
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
!
no aaa new-model
clock timezone CST 8 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!

!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.10.255.4 255.255.255.255
!
interface Loopback1
ip address 10.10.8.1 255.255.255.0
!
interface Loopback2
ip address 10.10.9.1 255.255.255.0
!
interface Loopback3
ip address 10.10.10.1 255.255.255.0
!
interface Ethernet0/0
ip address 10.10.253.2 255.255.255.252
ip ospf network non-broadcast
!
interface Ethernet0/1
no ip address
shutdown
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
router-id 10.10.255.4
no auto-cost
network 10.10.8.0 0.0.0.255 area 1
network 10.10.9.0 0.0.0.255 area 1
network 10.10.10.0 0.0.0.255 area 1
network 10.10.253.0 0.0.0.3 area 1
neighbor 10.10.253.1
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end

R4#
R5:R5#show run
Building configuration...

Current configuration : 1706 bytes
!
! Last configuration change at 15:04:12 CST Wed Jan 23 2019
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R5
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
!
no aaa new-model
clock timezone CST 8 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!

!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.10.255.5 255.255.255.255
!
interface Loopback1
ip address 10.10.12.1 255.255.255.0
!
interface Loopback2
ip address 10.10.13.1 255.255.255.0
!
interface Loopback3
ip address 10.10.14.1 255.255.255.0
!
interface Ethernet0/0
ip address 10.10.253.22 255.255.255.252
ip ospf network non-broadcast
!
interface Ethernet0/1
no ip address
shutdown
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
router-id 10.10.255.5
no auto-cost
network 10.10.12.0 0.0.0.255 area 2
network 10.10.13.0 0.0.0.255 area 2
network 10.10.14.0 0.0.0.255 area 2
network 10.10.253.20 0.0.0.3 area 2
neighbor 10.10.253.21
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end

R5#
R6(帧中继交换机)
RFSW#show run
Building configuration...

Current configuration : 1688 bytes
!
! Last configuration change at 16:12:54 CST Wed Jan 23 2019
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname RFSW
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
!
no aaa new-model
clock timezone CST 8 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!

!
!
!
!
ip cef
no ipv6 cef
!
frame-relay switching
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
no ip address
shutdown
!
interface Ethernet0/1
no ip address
shutdown
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay intf-type dce
frame-relay route 102 interface Serial1/1 201
frame-relay route 103 interface Serial1/2 301
!
interface Serial1/1
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay intf-type dce
frame-relay route 201 interface Serial1/0 102
frame-relay route 203 interface Serial1/2 302
!
interface Serial1/2
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 103
frame-relay route 302 interface Serial1/1 203
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end

RFSW#

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  帧中继 多区域 ospf