Total Nets: 5
Intra Area: 5 Inter Area: 0 ASE: 0 NSSA: 0
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R2
[R2]inter loop 0
[R2-LoopBack0]ip add 2.2.2.2 32
[R2-LoopBack0]inter g0/0/1
[R2-GigabitEthernet0/0/1]ip add 192.168.2.1 24
Jul 29 2020 21:35:05-08:00 R2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[R2-GigabitEthernet0/0/1]inter g0/0/0
[R2-GigabitEthernet0/0/0]ip add 10.1.1.2 24
Jul 29 2020 21:35:31-08:00 R2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R2-GigabitEthernet0/0/0] q
[R2]router id 2.2.2.2
[R2]ospf
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
[R2-ospf-1-area-0.0.0.0]network 10.1.1.0 0.0.0.255
[R2-ospf-1-area-0.0.0.0]network 192.168.2.0 0.0.0.255
[R2]dis ospf rout
OSPF Process 1 with Router ID 2.2.2.2
Routing Tables