ZXR105900ESeriesCongurationGuide(IPv4Routing)
S2(config)#interfaceloopback1
S2(config-if-loopback1)#ipadderss1.1.1.3255.255.255.255
S2(config-if-loopback1)#exit
S2(config)#interfacevlan10
S2(config-if-vlan10)#ipaddress30.0.0.1255.255.255.252
S2(config-if-vlan10)#exit
S2(config)#interfacevlan20
S2(config-if-vlan20)#ipaddress30.0.1.1255.255.255.252
S2(config-if-vlan20)#exit
S2(config)#routerospf1
S2(config-ospf-1)#router-id1.1.1.3
S2(config-ospf-1)#network30.0.0.00.0.0.3area1
S2(config-ospf-1)#network30.0.1.00.0.0.3area0
S2(config-ospf-1)#exit
RunthefollowingcommandsonS3:
S3(config)#interfaceloopback1
S3(config-if-loopback1)#ipadderss1.1.1.4255.255.255.255
S3(config-if-loopback1)#exit
S3(config)#interfacevlan10
S3(config-if-vlan10)#ipaddress30.0.1.2255.255.255.252
S3(config-if-vlan10)#exit
S3(config)#routerospf1
S3(config-ospf-1)#router-id1.1.1.4
S3(config-ospf-1)#network30.0.1.00.0.0.3area0
S3(config-ospf-1)#exit
Aftertheconguration,runthefollowingcommandtochecktheroutingtable.Routesnot
aggregatedaredisplayed.
S3#showipforwardingroute
IPv4RoutingTable:
DestGwInterfaceOwnerprimetric
1.1.1.230.0.1.1vlan10ospf11020
1.1.1.41.1.1.4loopback1address00
2.2.2.030.0.1.1vlan10ospf11020
2.2.2.430.0.1.1vlan10ospf11020
30.0.0.030.0.1.1vlan10ospf1102
30.0.1.030.0.1.2vlan10direct00
30.0.1.230.0.1.2vlan10address00
Runthefollowingcommandstocongureinter-arearouteaggregationonS2:
S2(config)#routerospf1
S2(config-ospf-1)#area1range2.2.2.0255.255.255.248summary-link
S2(config-ospf-1)#exit
Anaggregatedroute2.2.2.0/29isgeneratedintheS3routingtable.
3-24
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential