
1、链路认证
R1 # interface Serial4/0/0 ospf authentication-mode hmac-md5 1 plain huawei #
R2 # interface Serial4/0/1 ospf authentication-mode hmac-md5 1 plain huawei #
2、区域认证
R2 # ospf 1 router-id 2.2.2.2 area 0.0.0.0 authentication-mode hmac-md5 1 plain huawei #
R3 # ospf 1 router-id 3.3.3.3 area 0.0.0.0 authentication-mode hmac-md5 1 plain huawei #
3、虚链路认证
R2 # ospf 1 router-id 2.2.2.2 area 0.0.0.1 vlink-peer 3.3.3.3 md5 1 plain huawei #
R3 # ospf 1 router-id 3.3.3.3 area 0.0.0.1 vlink-peer 2.2.2.2 md5 1 plain huawei #
浙公网安备 33010602011771号