H3C OSPF路由配置
2010-10-08 12:52
561 查看
OSPF配置:
R1:
system
int e0/1/0
ip address 192.168.123.1 255.255.255.0
ospf authentication-mode simple 123
ospf cost 12
ospf dr-priority 1
ospf network-type broadcast
ospf timer hello 10
ospf timer dead 40
ospf trans-delay 25
undo shutdown
quit
int lo1
ip address 192.168.1.33 255.255.255.224
undo shutdown
quit
int lo2
ip address 192.168.1.66 255.255.255.224
undo shutdown
quit
ospf 100 router-id 1.1.1.1
area 12
network 192.168.123.0 0.0.0.255
network 192.168.1.32 0.0.0.31
network 192.168.1.64 0.0.0.31
return
display ip routing-table
R2:
system
int e0/1/0
ip address 192.168.123.2 255.255.255.0
ospf authentication-mode simple 123
ospf cost 12
ospf dr-priority 2
ospf network-type broadcast
ospf timer hello 10
ospf timer dead 40
ospf trans-delay 25
undo shutdown
quit
int lo1
ip address 192.168.2.33 255.255.255.224
undo shutdown
quit
int lo2
ip address 192.168.2.66 255.255.255.224
undo shutdown
quit
ospf 100 router-id 2.2.2.2
area 12
network 192.168.123.0 0.0.0.255
network 192.168.2.32 0.0.0.31
network 192.168.2.64 0.0.0.31
return
display ip routing-table
R3:
system
int e0/1/0
ip address 192.168.123.3 255.255.255.0
ospf authentication-mode simple 123
ospf cost 12
ospf dr-priority 3
ospf network-type broadcast
ospf timer hello 10
ospf timer dead 40
ospf trans-delay 25
undo shutdown
quit
int lo1
ip address 192.168.3.33 255.255.255.224
undo shutdown
quit
int lo2
ip address 192.168.3.66 255.255.255.224
undo shutdown
quit
int s0/2/2
ip address 192.168.34.1 255.255.255.0
ospf authentication-mode md5 1 789
undo shutdown
quit
ospf 100 router-id 3.3.3.3
area 12
network 192.168.123.0 0.0.0.255
network 192.168.3.32 0.0.0.31
network 192.168.3.64 0.0.0.31
abr-summary 192.168.1.0 255.255.255.0
abr-summary 192.168.2.0 255.255.255.0
abr-summary 192.168.3.0 255.255.255.0
quit
area 34
network 192.168.34.0 0.0.0.255
vlink-peer 4.4.4.4 simple 123
quit
return
R4:
system
int s0/2/0
ip add 192.168.34.2 255.255.255.0
ospf authentication-mode md5 1 789
undo shutdown
quit
int s0/2/2
ip add 192.168.45.1 255.255.255.0
ospf authentication-mode simple 123
undo shutdown
quit
ospf 100 router-id 4.4.4.4
area 34
network 192.168.34.0 0.0.0.255
vlink-peer 3.3.3.3 simple 123
quit
area 0
network 192.168.45.0 0.0.0.255
authentication-mode simple
quit
quit
R5:
system
int s0/2/2
ip add 192.168.45.2 255.255.255.0
ospf authentication-mode simple 123
undo shutdown
quit
int s0/2/0
ip add 192.168.56.1 255.255.255.0
ospf authentication-mode simple 123
undo shutdown
quit
int s0/2/1
ip add 192.168.50.1 255.255.255.0
undo shutdown
quit
ospf 100 router-id 5.5.5.5
import-route rip
asbr-summary 192.168.10.1 255.255.255.0
area 0
network 192.168.45.0 0.0.0.255
authentication-mode simple
network 192.168.56.0 0.0.0.255
authentication-mode simple
quit
quit
rip
network 192.168.50.0
import-route ospf 100
return
R6:
system
int s0/2/2
ip add 192.168.56.2 255.255.255.0
ospf authentication-mode simple 123
undo shutdown
quit
int s0/2/0
ip add 192.168.67.1 255.255.255.0
ospf authentication-mode md5 1 67
undo shutdown
quit
ospf 100 router-id 6.6.6.6
area 0
network 192.168.56.0 0.0.0.255
authentication-mode simple
quit
area 67
network 192.168.67.0 0.0.0.255
authentication-mode md5
stub
quit
quit
R10:
system
int s0/2/5
ip add 192.168.50.2 255.255.255.0
undo shutdown
quit
int lo10
ip add 192.168.10.1 255.255.255.224
undo shutdown
quit
rip
network 192.168.50.0
network 192.168.10.0
return
R7
system
int s0/2/2
ip add 192.168.67.2 255.255.255.0
ospf authentication-mode md5 1 67
undo shutdown
quit
ospf 100 router-id 7.7.7.7
area 67
network 192.168.67.0 0.0.0.255
authentication-mode md5
stub
quit
quit
本文出自 “2010网络” 博客,请务必保留此出处http://dnsdhcp.blog.51cto.com/1280638/402200
R1:
system
int e0/1/0
ip address 192.168.123.1 255.255.255.0
ospf authentication-mode simple 123
ospf cost 12
ospf dr-priority 1
ospf network-type broadcast
ospf timer hello 10
ospf timer dead 40
ospf trans-delay 25
undo shutdown
quit
int lo1
ip address 192.168.1.33 255.255.255.224
undo shutdown
quit
int lo2
ip address 192.168.1.66 255.255.255.224
undo shutdown
quit
ospf 100 router-id 1.1.1.1
area 12
network 192.168.123.0 0.0.0.255
network 192.168.1.32 0.0.0.31
network 192.168.1.64 0.0.0.31
return
display ip routing-table
R2:
system
int e0/1/0
ip address 192.168.123.2 255.255.255.0
ospf authentication-mode simple 123
ospf cost 12
ospf dr-priority 2
ospf network-type broadcast
ospf timer hello 10
ospf timer dead 40
ospf trans-delay 25
undo shutdown
quit
int lo1
ip address 192.168.2.33 255.255.255.224
undo shutdown
quit
int lo2
ip address 192.168.2.66 255.255.255.224
undo shutdown
quit
ospf 100 router-id 2.2.2.2
area 12
network 192.168.123.0 0.0.0.255
network 192.168.2.32 0.0.0.31
network 192.168.2.64 0.0.0.31
return
display ip routing-table
R3:
system
int e0/1/0
ip address 192.168.123.3 255.255.255.0
ospf authentication-mode simple 123
ospf cost 12
ospf dr-priority 3
ospf network-type broadcast
ospf timer hello 10
ospf timer dead 40
ospf trans-delay 25
undo shutdown
quit
int lo1
ip address 192.168.3.33 255.255.255.224
undo shutdown
quit
int lo2
ip address 192.168.3.66 255.255.255.224
undo shutdown
quit
int s0/2/2
ip address 192.168.34.1 255.255.255.0
ospf authentication-mode md5 1 789
undo shutdown
quit
ospf 100 router-id 3.3.3.3
area 12
network 192.168.123.0 0.0.0.255
network 192.168.3.32 0.0.0.31
network 192.168.3.64 0.0.0.31
abr-summary 192.168.1.0 255.255.255.0
abr-summary 192.168.2.0 255.255.255.0
abr-summary 192.168.3.0 255.255.255.0
quit
area 34
network 192.168.34.0 0.0.0.255
vlink-peer 4.4.4.4 simple 123
quit
return
R4:
system
int s0/2/0
ip add 192.168.34.2 255.255.255.0
ospf authentication-mode md5 1 789
undo shutdown
quit
int s0/2/2
ip add 192.168.45.1 255.255.255.0
ospf authentication-mode simple 123
undo shutdown
quit
ospf 100 router-id 4.4.4.4
area 34
network 192.168.34.0 0.0.0.255
vlink-peer 3.3.3.3 simple 123
quit
area 0
network 192.168.45.0 0.0.0.255
authentication-mode simple
quit
quit
R5:
system
int s0/2/2
ip add 192.168.45.2 255.255.255.0
ospf authentication-mode simple 123
undo shutdown
quit
int s0/2/0
ip add 192.168.56.1 255.255.255.0
ospf authentication-mode simple 123
undo shutdown
quit
int s0/2/1
ip add 192.168.50.1 255.255.255.0
undo shutdown
quit
ospf 100 router-id 5.5.5.5
import-route rip
asbr-summary 192.168.10.1 255.255.255.0
area 0
network 192.168.45.0 0.0.0.255
authentication-mode simple
network 192.168.56.0 0.0.0.255
authentication-mode simple
quit
quit
rip
network 192.168.50.0
import-route ospf 100
return
R6:
system
int s0/2/2
ip add 192.168.56.2 255.255.255.0
ospf authentication-mode simple 123
undo shutdown
quit
int s0/2/0
ip add 192.168.67.1 255.255.255.0
ospf authentication-mode md5 1 67
undo shutdown
quit
ospf 100 router-id 6.6.6.6
area 0
network 192.168.56.0 0.0.0.255
authentication-mode simple
quit
area 67
network 192.168.67.0 0.0.0.255
authentication-mode md5
stub
quit
quit
R10:
system
int s0/2/5
ip add 192.168.50.2 255.255.255.0
undo shutdown
quit
int lo10
ip add 192.168.10.1 255.255.255.224
undo shutdown
quit
rip
network 192.168.50.0
network 192.168.10.0
return
R7
system
int s0/2/2
ip add 192.168.67.2 255.255.255.0
ospf authentication-mode md5 1 67
undo shutdown
quit
ospf 100 router-id 7.7.7.7
area 67
network 192.168.67.0 0.0.0.255
authentication-mode md5
stub
quit
quit
本文出自 “2010网络” 博客,请务必保留此出处http://dnsdhcp.blog.51cto.com/1280638/402200
相关文章推荐
- H3C 配置OSPF引入自治系统外部路由 实验
- ospf动态路由的综合配置
- ospf引入默认路由配置
- EIGRP路由汇总和OSPF路由汇总配置
- 华为OSPF路由配置详解教程
- H3C ipv6 ISIS与BGP 路由配置
- H3C路由DHCP服务器配置
- Junos路由器静态路由及动态路由rip和ospf配置测试
- 19、OSPF配置实验之注入默认路由
- 单区域OSPF动态路由配置(拓扑图)
- H3C——路由引入和路由过滤配置实例
- H3C——路由策略和策略路由实例配置
- h3c ospf import-route 路由过滤
- 关于H3C路由配置VLAN的问题
- OSPF中路由ID号--根据H3C
- ABR上配置OSPF区域间路由汇总
- H3C SecPath防火墙GRE+IPSEC+OSPF典型配置举例
- H3C SecPath防火墙GRE+IPSEC+OSPF典型配置举例