本案例使用F1050与华为S5720交换机对接OSPF,建立OSPF邻居关系,实现业务的互通。
F1050版本信息如下:
H3C Comware Software, Version 7.1.064, Release 9323P28
Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.
H3C SecPath F1050 uptime is 17 weeks, 1 day, 10 hours, 5 minutes
Last reboot reason: IRF Merge reboot
Boot image: flash:/f1000fw-cmw710-boot-R9323P28.bin
Boot image version: 7.1.064, Release 9323P28
Compiled Apr 10 2019 16:00:00
System image: flash:/f1000fw-cmw710-system-R9323P28.bin
System image version: 7.1.064, Release 9323P28
Compiled Apr 10 2019 16:00:00
SLOT 1
CPU type: Multi-core CPU
DDR3 SDRAM Memory 4094M bytes
Board PCB Version:Ver.A
CPLD_A Version: 2.0
CPLD_B Version: 4.0
Basic BootWare Version: 2.02
Extend BootWare Version: 2.02
Board PFC Version:Ver.A
NandFlash PCB Version:Ver.A
[SubSlot 0]16GE+8SFP (Hardware)Ver.A, (Driver)1.0, (Cpld)4.0
SLOT 2
CPU type: Multi-core CPU
DDR3 SDRAM Memory 4094M bytes
Board PCB Version:Ver.A
CPLD_A Version: 2.0
CPLD_B Version: 4.0
Basic BootWare Version: 2.02
Extend BootWare Version: 2.02
Board PFC Version:Ver.A
NandFlash PCB Version:Ver.A
[SubSlot 0]16GE+8SFP (Hardware)Ver.A, (Driver)1.0, (Cpld)4.0
华为S5720版本信息如下:
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.160 (S5720 V200R008C00SPC500)
Copyright (C) 2000-2015 HUAWEI TECH CO., LTD
HUAWEI S5720-56C-EI-AC Routing Switch uptime is 160 weeks, 1 day, 4 hours, 25 minutes
ES5D2T52C002 0(Master) : uptime is 160 weeks, 1 day, 4 hours, 24 minutes
2048M bytes DDR Memory
344M bytes FLASH
Pcb Version : VER.C
Basic BootROM Version : 0208.0001 Compiled at Aug 28 2015, 13:46:41
BootLoad Version : 0208.0001 Compiled at Oct 30 2015, 11:38:42
CPLD Version : 010c
Software Version : VRP (R) Software, Version 5.160 (V200R008C00SPC500)
PWR1 information
Pcb Version : PWR VER.B
PWR2 information
Pcb Version : PWR VER.B
FAN1 information
Pcb Version : NA
F1050配置如下:
interface LoopBack0
ip address 10.190.0.10 255.255.255.255
quit
interface GigabitEthernet1/0/12
port link-mode route
description <connect to bg-Internet-S5720A>
ip address 10.190.254.17 255.255.255.252
ospf network-type p2p
quit
security-zone name Untrust
import interface GigabitEthernet1/0/12
quit
acl basic 2000
rule 0 permit source any
quit
zone-pair security source Local destination Trust
packet-filter 2000
quit
zone-pair security source Local destination Untrust
packet-filter 2000
quit
zone-pair security source Trust destination Local
packet-filter 2000
quit
zone-pair security source Trust destination Trust
packet-filter 2000
quit
zone-pair security source Trust destination Untrust
packet-filter 2000
quit
zone-pair security source Untrust destination Local
packet-filter 2000
quit
zone-pair security source Untrust destination Trust
packet-filter 2000
quit
zone-pair security source Untrust destination Untrust
packet-filter 2000
quit
ospf 1 router-id 10.190.0.10
import-route direct
area 0.0.0.0
network 10.190.0.10 0.0.0.0
network 10.190.254.16 0.0.0.3
network 10.190.254.20 0.0.0.3
network 10.190.254.24 0.0.0.3
network 10.190.254.28 0.0.0.3
S5720配置如下:
interface LoopBack0
ip address 10.190.0.13 255.255.255.255
quit
interface GigabitEthernet0/0/39
undo portswitch
description <connect to WBJRW_internet-FW>
ip address 10.190.254.18 255.255.255.252
ospf network-type p2p
quit
ospf 1 router-id 10.190.0.13
default-route-advertise always type 2
import-route direct
import-route static
silent-interface Vlanif300
area 0.0.0.0
network 10.190.0.13 0.0.0.0
network 10.190.254.0 0.0.0.15
network 10.190.254.16 0.0.0.3
network 10.190.254.37 0.0.0.0
查看F1050的OSPF邻居信息:
dis ospf peer
OSPF Process 1 with Router ID 10.190.0.10
Neighbor Brief Information
Area: 0.0.0.0
Router ID Address Pri Dead-Time State Interface
10.190.0.13 10.190.254.18 1 35 Full/ - GE1/0/12
10.190.0.11 10.190.254.22 1 31 Full/ - GE1/0/16
10.190.0.14 10.190.254.26 1 38 Full/ - GE2/0/12
10.190.0.12 10.190.254.30 1 32 Full/ - GE2/0/16
查看S5720 OSPF邻居信息:
dis ospf peer
OSPF Process 1 with Router ID 10.190.0.13
Neighbors
Area 0.0.0.0 interface 10.190.254.37(Vlanif999)'s neighbors
Router ID: 10.190.0.14 Address: 10.190.254.38
State: Full Mode:Nbr is Master Priority: 1
DR: None BDR: None MTU: 0
Dead timer due in 39 sec
Retrans timer interval: 0
Neighbor is up for 572:03:26
Authentication Sequence: [ 90065245]
Neighbors
Area 0.0.0.0 interface 10.190.254.18(GigabitEthernet0/0/39)'s neighbors
Router ID: 10.190.0.10 Address: 10.190.254.17
State: Full Mode:Nbr is Slave Priority: 1
DR: None BDR: None MTU: 0
Dead timer due in 37 sec
Retrans timer interval: 2
Neighbor is up for 572:04:01
Authentication Sequence: [ 9611512]
至此,F1050与华为5720交换机对接OSPF典型组网配置案例已完成!
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作