Chinaunix首页 | 论坛 | 博客
  • 博客访问: 508205
  • 博文数量: 694
  • 博客积分: 40000
  • 博客等级: 大将
  • 技术积分: 4840
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-16 19:30
文章分类

全部博文(694)

文章存档

2011年(1)

2008年(693)

我的朋友

分类:

2008-10-16 19:32:22

R1(config)#inter f0/0
R1(config-if)#ip ospf   message-digest-key 1 md5 0 testtest
R1(config-if)#inter f1/0
R1(config-if)#ip ospf   message-digest-key 1 md5 0 testtest
==========================
1表示密匙链ID,取值1-255;
md5表示使用MD5加密;
0代表加密类型,0为缺省,7为cisco私有,testtest为密码。
==========================
R1(config-if)#exit
R1(config)#router ospf 10
R1(config-router)#area 1 authentication message-digest
==========================
area 1 authentication message-digest 表示area1传送摘要而不传送明文,
如果不配置则传送明文
==========================
R2(config)#inter f0/0
R2(config-if)#ip ospf   message-digest-key 1 md5 0 testtest
R2(config-if)#exit
R2(config)#router ospf 10
R2(config-router)#area 1 authentication message-digest

--------------------next---------------------

阅读(279) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~