Chapter9IPv6Route-MapPolicyConguration
M-Multicast
*-FIBroute
>-selectedroute,p-staleinfo
Time:Thetimeoflastmodified!
I21:2:3::/64[115/20]
viafe80::221:1dff:fe1d:1100,gei-2/2,06h06m18s
I1192:168::/64[115/20]
viafe80::221:1dff:fe1d:1100,gei-2/2,01h46m35s
9.1.2.3Example:ConfiguringanOSPFv3RoutingPolicy
CongurationDescription
BothR1andR2’sinterfacesareconguredinOSPFv3area1,andanOSPFv3neighbor
relationship(status:full)isestablishedbetweenthem,seeFigure9-3.Astaticrouteis
conguredonR1,andaroute-mapiscreatedforOSPFv3staticrouteredistribution.
Figure9-3AnExampleofConguringanOSPFv3RoutingPolicy
CongurationFlow
1.EnableIPv6andsetIPv6addressesonthecorrespondinginterfacesofR1andR2.
2.CreateaneighborrelationshipbetweenR1andR2inOSPFv3area1.
3.Createaroute-maponR1.
4.CongureastaticrouteonR1.
5.Applytheroute-maptoOSPFv3routeredistributiononR1.
CongurationCommands
1.CreateanOSPFv3neighborrelationshipbyconguringthedirectly-connected
interfacesofR1andR2tobeonthesamenetworksegment.
R1(config)#interfacegei-1/2
R1(config-if-gei-1/2)#noshutdown
R1(config-if-gei-1/2)#ipv6enable
R1(config-if-gei-1/2)#ipv6address192:168::1:1/64
R1(config-if-gei-1/2)#exit
R1(config)#ipv6routerospf1026
R1(config-ospfv3-1026)#router-id11.11.11.11
R1(config-ospfv3-1026)#interfacegei-1/2area1
R1(config-ospfv3-1026-if-gei-1/2)#exit
9-13
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential