Hello everyone! Today I’m going to introduce the OSPF authentication configuration. example<HUAWEI>system-view
[Huawei]sysname Switch-01
[Switch-01]interface eth-trunk 1
[Switch-01-eth-trunk1]ip address 10.12.0.2 255.255.255.252
[Switch-01]ospf 1
[Switch-01-ospf]area0.0.0.0
[Switch-01-ospf-area-0.0.0.0]network 10.12.0.2 0.0.0.3
[Switch-01-ospf-1-area-0.0.0.0]authentication-modemd5 1 cipher Huawei@123 // must be same with peer switch
<Switch-01>save
<HUAWEI>system-view
[Huawei]sysnameSwitch-02
[Switch-02]interface eth-trunk 1
[Switch-02 -eth-trunk 1]ip address 10.12.0.5 255.255.255.252
[Switch-02]ospf 1
[Switch-02 -ospf]area 0.0.0.0
[Switch-02 -ospf-area-0.0.0.0]network 10.12.0.5 0.0.0.3
[Switch-02-ospf-1-area-0.0.0.0]authentication-mode md5 1 cipher Huawei@123 // must be same with peer switch
< Switch-02>save
Thanks!

