Chapter9IPv6Route-MapPolicyConguration
directly-connectedroutestopeerCE1.VRFtest1thatresidesonPE2advertisesthe
AddressroutesgeneratedbythelocalLoopbackaddressanddirectly-connectedroutes
topeerCE2.TheVRFtest1routingtableonPE1andPE2containsthelocalandremote
routes.
Theroute-map,usedforVRFtest1onPE1,allowsPE1toimportorexportroutesfrom/to
itsVPNneighbor.
Figure9-5AnExampleofConguringaRoutingPolicyfor6VPE
Table9-1listsanIPaddressplanning.
Table9-1IPAddressPlanning
EquipmentInterfaceIPAddress
CE1gei-1/11001::20:2/120
gei-1/21001::20:1/120 PE1
gei-1/310.10.12.1/24
gei-1/610.10.12.2/24 PE2
gei-1/7.102002::20:2/120
CE2gei-1/8.102002::20:1/120
CongurationFlow
1.CongurethebasicL3VPNnetworkingenvironment(CE1–PE1–PE2–CE2),enable
IPv6andsetIPv6addressesonthecorrespondinginterfacesoftherouters.
2.Conguretheprotocol,andmakesurethattheprivateroutingtablesontwoPEs
containallplannedroutes.
3.Createaroute-maponPE1,anddenethecharacteristicsoftheroutesforwhich
policyroutingisperformed(thatis,deningagroupofmatchcriteria).Variousroute
attributes,suchasdestinationaddress,canbegroupedasamatchrule.
4.Applytheroute-maptoaVRFinstanceonPE1toimplementrouteimporting/exporting,
routepublishingandreceiving.
CongurationCommands
1.CongurethebasicL3VPNnetworkingenvironmentonPE1andPE2.
CongurationonPE1:
PE1(config)#ipvrftest1
PE1(config-vrf-test1)#rd100:1
PE1(config-vrf-test1)#address-familyipv6
PE1(config-vrf-test1-af-ipv6)#route-targetimport100:1
9-21
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential