R1 connect to R2 via ethernet
R1#set interface em1 unit 0 family inet address 1.1.1.1/24
R1#set interface lo1 unit 0 family inet address 11.11.11.11/24
R1#set protocol ospf area 0.0.0.0 interface em1
R1#set protocol ospf area 0.0.0.0 interface lo1
R2#set interface em1 unit 0 family inet address 2.2.2.2/24
R2#set interface lo2 unit 0 family inet address 22.22.22.22/24
R2#set interface lo2 unit 0 family inet address 22.22.22.22/24
R2#set protocol ospf area 0.0.0.0 interface em1
R2#set protocol ospf area 0.0.0.0 interface lo2
R2#set protocol ospf area 0.0.0.0 interface lo2
show ospf neighbor
show protocols ospf
No comments:
Post a Comment