ZXR105900ESeriesCongurationGuide(IPv4Routing)
S1(config-if-loopback1)#ipaddress1.1.1.11255.255.255.255
S1(config-if-loopback1)#exit
S1(config)#routerospf1
S1(config-ospf-1)#network11.22.1.00.0.0.255area0
S1(config-ospf-1)#network11.22.10.00.0.0.255area0
S1(config-ospf-1)#network1.1.1.110.0.0.0area0
S1(config-ospf-1)#maximum-paths2
S1(config-ospf-1)#exit
CongurationonS2:
S2(config)#interfacevlan10
S2(config-if-vlan10)#ipaddress11.22.1.2255.255.255.0
S2(config-if-vlan10)#exit
S2(config)#interfacevlan20
S2(config-if-vlan20)#ipaddress11.22.10.2255.255.255.0
S2(config-if-vlan20)#exit
S2(config)#interfaceloopback2
S2(config-if-loopback2)#ipaddress1.1.1.22255.255.255.255
S2(config-if-loopback2)#exit
S2(config)#routerospf1
S2(config-ospf-1)#router-id32.33.1.1
S2(config-ospf-1)#network11.22.1.00.0.0.255area0
S2(config-ospf-1)#network11.22.10.00.0.0.255area0
S2(config-ospf-1)#network1.1.1.220.0.0.0area0
S2(config-ospf-1)#maximum-paths2
S2(config-ospf-1)#exit
CongurationCheck
Thefollowingcontentwillbeshownafterthecongurationaboveisnished.Itshowsthat
S1andS2setupneighborhoodalready.S1andS2pingtheloopbackinterfaceofthe
peerbetweeneachother,andthepingsaresuccessful.Itshowsthatthecongurationis
successful.
S1#showipospfneighbor
OSPFRouterwithID(1.1.1.32)(ProcessID1)
NeighborIDPriStateDeadTimeAddressInterface
32.33.1.11FULL/DR00:00:4011.22.1.2vlan30
32.33.1.11FULL/DR00:00:3711.22.10.2vlan40
S1(config-ospf-1)#showipforwardingroute1.1.1.22
IPv4RoutingTable:
DestGwInterfaceOwnerPriMetric
1.1.1.22/3211.22.1.2vlan30OSPF1102
3-46
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential