ospf虚链路认证

AR1配置

interface GigabitEthernet0/0/0
 ip address 12.1.1.1 255.255.255.0 

ospf 1 router-id 1.1.1.1 
 area 0.0.0.0 
  authentication-mode md5 1 cipher %$%$$y*-0=3L6UD'ph<OfvV-O>!/%$%$
  network 12.1.1.0 0.0.0.255 

AR2配置

interface GigabitEthernet0/0/0
 ip address 12.1.1.2 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 23.1.1.2 255.255.255.0 

ospf 1 router-id 2.2.2.2 
 area 0.0.0.0 
  authentication-mode md5 1 cipher %$%$g/>Y0K+X]DJnMGBN="vUO<Ad%$%$
  network 12.1.1.0 0.0.0.255 
 area 0.0.0.1 
  authentication-mode md5 1 cipher %$%$0TU]>Mtoe@@~7p$0PsqPO;X>%$%$
  network 23.1.1.0 0.0.0.255 
  vlink-peer 3.3.3.3 simple cipher %$%$D87i-|["a(JVT<P3odx=O~[C%$%$

AR3配置

interface GigabitEthernet0/0/0
 ip address 34.1.1.3 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 23.1.1.3 255.255.255.0 

ospf 1 router-id 3.3.3.3 
 area 0.0.0.1 
  authentication-mode md5 1 cipher %$%$BeWVMI.mn,7x2uA$EZ~XO<o5%$%$
  network 23.1.1.0 0.0.0.255 
  vlink-peer 2.2.2.2 simple cipher %$%$7*^~G[A%)Oa43k%Z!e$LO@{$%$%$
 area 0.0.0.2 
  authentication-mode md5 1 cipher %$%$YrzT4WzT,=C<>.]46".O=`I%$%$
  network 34.1.1.0 0.0.0.255 

AR4配置

interface GigabitEthernet0/0/0
 ip address 34.1.1.4 255.255.255.0 

ospf 1 router-id 4.4.4.4 
 area 0.0.0.2 
  authentication-mode md5 1 cipher %$%$U!qcTtD]TVIRQW;M{;V$O=6x%$%$
  network 34.1.1.0 0.0.0.255 

注意:当同时出现区域认证和V-Link认证时,V-Link认证优先

 

 

 

 

原文地址:https://www.cnblogs.com/liujunjun/p/13056582.html