分类:
2012-10-26 13:59:31
cisco 3745 router config:
Router#sh run
Building configuration...
Current configuration : 3002 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$SrWM$w.qmxnXALIyR0gTRGm3Gc1
!
no aaa new-model
!
resource policy
!
ip subnet-zero
ip cef
!
!
no ip dhcp use vrf connected
!
!
no ip domain lookup
!
!
!
controller E1 1/0
channel-group 0 timeslots 1-31
!
controller E1 1/1
channel-group 0 timeslots 1-31
!
controller E1 3/0
channel-group 0 timeslots 1-31
!
controller E1 3/1
channel-group 0 timeslots 1-31
!
!
interface Loopback0
ip address 10.50.71.254 255.255.255.252
!
interface FastEthernet0/0
description the lan port link to the local network
ip address 10.50.70.1 255.255.255.0
ip nat inside
speed auto
half-duplex
priority-group 16
no cdp enable
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0:0
description this wan port link to xxzx
bandwidth 2000
ip address 10.48.128.54 255.255.255.252
ip mroute-cache
priority-group 16
ip rsvp bandwidth 1500 1500
!
interface Serial1/1:0
description this wan port link to xxzx-7507_2
bandwidth 2000
ip address 10.48.128.182 255.255.255.252
priority-group 16
!
interface Serial3/0:0
description this prot link to dingyuan
bandwidth 2000
ip address 10.50.84.13 255.255.255.252
priority-group 16
!
interface Serial3/1:0
description this prot link to fengyang
ip address 10.50.84.17 255.255.255.252
!
interface Serial4/0
description this port link to quanjiao
ip address 10.50.84.9 255.255.255.252
no fair-queue
serial restart-delay 0
!
interface Serial4/1
description this port link to mingguang
ip address 10.50.84.21 255.255.255.252
serial restart-delay 0
!
interface Serial4/2
description this port link to laian
ip address 10.50.84.5 255.255.255.252
serial restart-delay 0
!
interface Serial4/3
description this port link to tianchang
ip address 10.50.84.1 255.255.255.252
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
area 550 range 10.50.64.0 255.255.224.0
redistribute rip
network 10.2.172.0 0.0.0.15 area 550
network 10.48.128.54 0.0.0.0 area 0
network 10.48.128.182 0.0.0.0 area 0
network 10.50.64.0 0.0.0.255 area 550
network 10.50.70.0 0.0.0.255 area 550
network 10.50.71.254 0.0.0.0 area 550
network 10.50.84.1 0.0.0.0 area 550
network 10.50.84.5 0.0.0.0 area 550
network 10.50.84.9 0.0.0.0 area 550
network 10.50.84.13 0.0.0.0 area 550
network 10.50.84.17 0.0.0.0 area 550
network 10.50.84.21 0.0.0.0 area 550
default-metric 64
!
router rip
version 2
redistribute ospf 1
network 10.0.0.0
default-metric 2
no auto-summary
!
ip classless
ip route 10.50.64.0 255.255.255.0 10.50.70.2
ip route 10.246.0.0 255.255.0.0 10.50.70.6
!
ip http server
!
access-list 10 permit 10.50.70.251
priority-list 16 protocol ip high list 10
!
control-plane
!
!
line con 0
password xxxxx
logging synchronous
login
line aux 0
line vty 0 4
password xxxxx
logging synchronous
login
!
!
end
Router#
fortigate firewall configure(CLI command):
ES903 # config router ospf
(ospf)# sh
config router ospf
config area
edit 0.0.2.38
next
end
config network
edit 1
set area 0.0.2.38
set prefix 10.50.70.0 255.255.255.0
next
edit 2
set area 0.0.2.38
set prefix 10.50.64.0 255.255.255.0
next
end
config redistribute "connected"
set status enable
end
config redistribute "static"
set status enable
end
config redistribute "rip"
end
set router-id 10.50.72.2
end
fortigate firewall router show:
类型 子类型 网络地址 路径长度 路径成本 网关 接口 持续时间
静态 0.0.0.0/0 10 0 10.50.70.1 external
OSPF External 2 10.0.0.0/8 110 20 10.50.70.1 external 00:15:41
OSPF OSPF 区域间 10.2.165.0/28 110 111 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.2.174.0/28 110 111 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.2.178.0/28 110 111 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.0.0/18 110 61 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.0/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.4/30 110 110 10.50.70.1 external 00:00:05
OSPF OSPF 区域间路由 10.48.128.8/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.12/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.16/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.20/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.24/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.28/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.32/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.36/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.40/30 110 110 10.50.70.1 external 00:10:12
OSPF OSPF 区域间路由 10.48.128.44/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.48/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.52/30 110 60 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.56/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.60/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.64/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.68/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.72/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.76/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.80/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.84/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.88/30 110 110 10.50.70.1 external 00:21:38
OSPF OSPF 区域间路由 10.48.128.92/30 110 110 10.50.70.1 external