LSW13
[zjlfc] v b 13
[zjlfc]int e0/0/3
[zjlfc-Ethernet0/0/3]port link-type access
[zjlfc-Ethernet0/0/3]port de v 13
[zjlfc-Ethernet0/0/3]int v 13
[zjlfc-Vlanif13]ip ad 13.1.1.3 24
[zjlfc-Vlanif13]ospf 1
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]net 13.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 192.168.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 192.168.2.0 0.0.0.255
R2
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int e0/0/0
[zjlfc-Ethernet0/0/0]ip ad 13.1.1.1 24
[zjlfc-Ethernet0/0/0]ospf 1
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]net 13.1.1.0 0.0.0.255
LSW1
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int e0/0/1
[zjlfc-Ethernet0/0/1]port link-type access
[zjlfc-Ethernet0/0/1]q
[zjlfc]v b 10 20
[zjlfc]int e0/0/1
[zjlfc-Ethernet0/0/1]po de v 10
[zjlfc-Ethernet0/0/1]int e0/0/2
[zjlfc-Ethernet0/0/2]port link-t a
[zjlfc-Ethernet0/0/2]po de v 10
[zjlfc-Ethernet0/0/2]int e0/0/3
[zjlfc-Ethernet0/0/3]port link-type t
[zjlfc-Ethernet0/0/3]po t a v a
LSW2
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]v b 10 20
[zjlfc]int e0/0/1
[zjlfc-Ethernet0/0/1]port link-t a
[zjlfc-Ethernet0/0/1]po de v 20
[zjlfc-Ethernet0/0/1]int e0/0/2
[zjlfc-Ethernet0/0/2]port link-type a
[zjlfc-Ethernet0/0/2]po de v 20
[zjlfc-Ethernet0/0/2]int e0/0/3
[zjlfc-Ethernet0/0/3]port link-type t
[zjlfc-Ethernet0/0/3]po t a v a
LSW3
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]v b 10 20
[zjlfc]v b 10 20 13
[zjlfc]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]port link-t t
[zjlfc-GigabitEthernet0/0/1]po t a v a
[zjlfc-GigabitEthernet0/0/1]int g0/0/2
[zjlfc-GigabitEthernet0/0/2]port link-t t
[zjlfc-GigabitEthernet0/0/2]po t a v a
[zjlfc-GigabitEthernet0/0/2]int v10
[zjlfc-Vlanif10]ip ad 10.1.1.254 24
[zjlfc-Vlanif10]int v20
[zjlfc-Vlanif20]ip ad 10.1.2.254 24
[zjlfc-Vlanif20]int g0/0/3
[zjlfc-GigabitEthernet0/0/3]port link-t a
[zjlfc-GigabitEthernet0/0/3]po d v 13
[zjlfc-GigabitEthernet0/0/3]int v 13
[zjlfc-Vlanif13]ip ad 13.1.1.3 24
[zjlfc-Vlanif13]ospf 1
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]net 13.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 10.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 10.1.2.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]q
[zjlfc-ospf-1]a 1
[zjlfc-ospf-1-area-0.0.0.1]net 10.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.1]net 10.1.2.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.1]net 13.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.1]q
[zjlfc-ospf-1]q
[zjlfc]int g0/0/3
[zjlfc-GigabitEthernet0/0/3]ospf a
[zjlfc-GigabitEthernet0/0/3]q
[zjlfc]ospf 1
[zjlfc-ospf-1-area-0.0.0.1]authentication-mode simple hcia
[zjlfc-ospf-1-area-0.0.0.1]q
R1
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ip ad 13.1.1.1 24
[zjlfc-GigabitEthernet0/0/0]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]ip ad 12.1.1.1 24
[zjlfc-GigabitEthernet0/0/1]int g0/0/2
[zjlfc-GigabitEthernet0/0/2]ip ad 13.1.1.1 24
[zjlfc-GigabitEthernet0/0/2]ip ad 31.1.1.1 24
[zjlfc-GigabitEthernet0/0/2]ospf 1
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]net 12.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 31.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]q
[zjlfc-ospf-1]a 1
[zjlfc-ospf-1-area-0.0.0.1]net 13.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.1]q
[zjlfc-ospf-1]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]ospf c
[zjlfc-GigabitEthernet0/0/1]ospf cost 13
[zjlfc-GigabitEthernet0/0/1]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ospf a
[zjlfc-GigabitEthernet0/0/0]ospf authentication-mode s
[zjlfc-GigabitEthernet0/0/0]ospf authentication-mode simple hcia
[zjlfc-GigabitEthernet0/0/0]ospf 1
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]au
[zjlfc-ospf-1-area-0.0.0.0]authentication-mode s
[zjlfc-ospf-1-area-0.0.0.0]authentication-mode simple c
[zjlfc-ospf-1-area-0.0.0.0]authentication-mode simple cipher huawei
<zjlfc>undo t m
Info: Current terminal monitor is off.
<zjlfc>sy
Enter system view, return user view with Ctrl+Z.
[zjlfc]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ospf a
[zjlfc-GigabitEthernet0/0/0]q
[zjlfc]ospf 1
[zjlfc-ospf-1]a 1
[zjlfc-ospf-1-area-0.0.0.1]au
[zjlfc-ospf-1-area-0.0.0.1]authentication-mode s
[zjlfc-ospf-1-area-0.0.0.1]authentication-mode simple hcia
[zjlfc-ospf-1-area-0.0.0.1]q
[zjlfc-ospf-1]q
[zjlfc]q
R2
<Huawei>sy
[Huawei]undo t m
[Huawei]q
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ip ad 12.1.1.2 24
[zjlfc-GigabitEthernet0/0/0]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]ip ad 24.1.1.1 24
[zjlfc-GigabitEthernet0/0/1]ospf 1
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]net 12.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 24.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]authentication-mode simple cipher huawei
R3
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ip ad 31.1.1.2 24
[zjlfc-GigabitEthernet0/0/0]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]ip ad 34.1.1.1 24
[zjlfc-GigabitEthernet0/0/1]ospf 1
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]net 31.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 34.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]authentication-mode simple cipher huawei
R4
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int e0/0/0
[zjlfc-Ethernet0/0/0]ip ad 24.1.1.2 24
[zjlfc-Ethernet0/0/0]undo ip ad
[zjlfc-Ethernet0/0/0]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ip ad 24.1.1.2 24
[zjlfc-GigabitEthernet0/0/0]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]ip ad 34.1.1.2 24
[zjlfc-GigabitEthernet0/0/1]int g0/0/2
[zjlfc-GigabitEthernet0/0/2]ip ad 10.1.5.254 24
[zjlfc-GigabitEthernet0/0/2]ospf 1
[zjlfc-ospf-1]a 2
[zjlfc-ospf-1-area-0.0.0.2]net 10.1.5.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.2]q
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]net 24.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 34.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]authentication-mode simple cipher huawei