OSPF的综合运用

实验展示图

实验要求:

1、R4为ISP,其上只能配置IP地址;R4与其他所有直连设备间均使用公有IP。

2、R3-R5/6/7为MGRE环境,R3为中心站点;

3、整个OSPF环境基于172.16.0.0/16划分;

4、所有设备均可访问R4的环回;

5、减少LSA的更新量,加快收敛,保障更新安全;

6、全网可达; 

实验思路:1、基于172.16.0.0/16划分网段。2、配置设备的IP地址包括环回。3、区域之间的路由注意。4、重发步。5、减少LSA的更新量,加快收敛,保障安全。6、全网可达

划分网段

 配置各个设备接口的IP包括环回

重发布

 进入某个区域之后import进行重发步

注意:每个区域配置完成之后随时ping防止后期排错,无从下手 

创建OSPF以及区域进行配置命令

整和地址

进入接口修改时间

测试全网可达

一些实验配置基本命令

<r6>display saved-configuration 
[V200R003C00]
#
 sysname r6
#
 board add 0/4 2SA 
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
aaa 
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default 
 domain default_admin 
 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
 local-user admin service-type http
#
firewall zone Local
 priority 15
#
interface Serial4/0/0
 link-protocol ppp
 ip address 64.0.0.1 255.255.255.0 
#
interface Serial4/0/1
 link-protocol ppp
#
interface GigabitEthernet0/0/0
 ip address 172.16.65.1 255.255.255.248 
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface LoopBack0
 ip address 172.16.3.1 255.255.255.0 
#
interface Tunnel0/0/0
 ip address 172.16.1.3 255.255.255.248 
 tunnel-protocol gre p2mp
 source Serial4/0/0
 ospf network-type p2mp
 ospf timer hello 10
 nhrp network-id 100
 nhrp entry 172.16.1.1 34.0.0.1 register
#
ospf 1 router-id 6.6.6.6 
 area 0.0.0.0 
  network 172.16.0.0 0.0.3.255 
 area 0.0.0.2 
  abr-summary 172.16.64.0 255.255.224.0
  network 172.16.65.1 0.0.0.0 
  nssa no-summary
#
ip route-static 0.0.0.0 0.0.0.0 64.0.0.2
#
user-interface con 0
 authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值