FAQ-防火墙与NE40E对接,配置ospfmd5认证方式,为什么ospf建立失败

发布时间:  2014-09-18 浏览次数:  196 下载次数:  0
问题描述
防火墙与NE40E对接,配置ospfmd5认证方式,为什么ospf建立失败?
解决方案
因为防火墙上只在接口上配置ospf认证,并没有使能ospf认证,需要在相应的area中配置authentication-mode md5,使能ospf认证机制才行。而NE40E则只需要在接口上配置ospf认证就可以了。
示例如下:
ospf 1                                                                                                                              
area 0.0.0.1                                                                                                                       
  network 56.1.1.0 0.0.0.255                                                                                                        
  network 222.66.56.0 0.0.0.255                                                                                                     
  authentication-mode md5

interface GigabitEthernet0/0/2                                                                                                                                                                                                                       
ip address 222.66.56.181 255.255.255.252                                                                                           
ospf authentication-mode md5 1 cipher 'OERX_4UNC+Q=^Q`MAF4<1!!

END