设为首页收藏本站language 语言切换
查看: 1778|回复: 2
收起左侧

[分享] oSPF区域验证简单配置

[复制链接]
发表于 2013-8-12 16:05:54 | 显示全部楼层 |阅读模式
配置简单AREA验证  step1 接口下配置 验证所需的KEY
  ip ospf authentication-key cisco
  ip ospf message-digest-key 1 md5 ciscoac   //启用MD5 KEY
  step2    在OSPF进程下开启验证
  router ospf 1
  area 0 authentication //启用简单验证
  area 0 authentication message-digest   //启用MD5加密验证
  setp3      查看验证是否开启
  show ip ospf
  rtrA#show ip ospf
  Routing Process "ospf 1" with ID 1.1.1.1
  Area BACKBONE(0)
  Number of interfaces in this area is 2
  Area has simple password authentication
  Router A
  interface Loopback0
  ip address 1.1.1.1 255.255.255.255
  !
  interface Serial0/0
  ip address 10.1.1.9 255.255.255.252
  ip ospf authentication-key cisco
  !
  interface Serial0/1
  ip address 10.1.1.1 255.255.255.252
  ip ospf authentication-key cisco
  clock rate 64000
  !
  router ospf 1
  area 0 authentication
  network 10.1.1.0 0.0.0.15 area 0
  Router B
  interface Loopback0
  ip address 2.2.2.2 255.255.255.255
  !
  interface Serial0
  ip address 10.1.1.2 255.255.255.252
  ip ospf authentication-key cisco
  !
  interface Serial1
  ip address 10.1.1.5 255.255.255.252
  ip ospf authentication-key cisco
  clock rate 64000
  !
  router ospf 1
  area 0 authentication
  network 10.1.1.0 0.0.0.15 area 0
  Router C
  interface Loopback0
  ip address 3.3.3.3 255.255.255.255
  !
  interface Serial0
  ip address 10.1.1.6 255.255.255.252
  ip ospf authentication-key cisco
  !
  interface Serial1
  ip address 10.1.1.10 255.255.255.252
  ip ospf authentication-key cisco
  clock rate 64000
  !
  router ospf 1
  area 0 authentication
  network 10.1.1.0 0.0.0.15 area 0

点评

牛X: 5.0
牛X: 5
  发表于 2013-10-4 02:09
发表于 2013-9-25 14:48:39 | 显示全部楼层
多谢分享
沙发 2013-9-25 14:48:39 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2016-3-18 07:50:08 | 显示全部楼层
谢谢共享资料
板凳 2016-3-18 07:50:08 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-28 07:48 , Processed in 0.091610 second(s), 29 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表