Chapter196VPEConguration
2.AssociatetheinterfacewithVRF ,andcongureanIPv6addressontheinterface.
StepCommandFunction
1ZXR10(config)#interface<interface-name>Entersinterfaceconguration
mode.
2ZXR10(config-if-interface-name)#ipvrfforwarding
<vrf-name>
Associatestheinterface
withVRF .IfanIPaddress
hasbeenconguredonthe
interface,itisnecessaryto
deletetheIPaddressandthen
congureanewIPaddress.
3ZXR10(config-if-interface-name)#ipv6enableEnablesIPv6onaninterface.
4ZXR10(config-if-interface-name)#ipv6address
{X:X::X:X/<1-128>[anycast|eui-64]|link-local
<X:X::X:X>}
ConguresanIPv6address
onaninterface.
anycast,theanycastaddress.
eui-64,theEui64prex
address.
3.CongureIPv6staticroutebetweenaCEandaPE.
WhenIPv6staticrouterunsbetweenaCEandaProviderEdge(PE),itisnecessary
tocongureanIPv6staticroutetotheCEonthePEandredistributethestaticroute
toBGP .
StepCommandFunction
1ZXR10(config)#ipv6routevrf<vrf-name><prefixof
destinationipaddress><networkmask><nexthopaddress>
ConguresanIPv6static
routetoaCEonaPE.Itis
necessarytospecifytheVRF
whichthestaticroutebelongs
to.
2ZXR10(config)#routerbgp<as-number>EntersBGProute
congurationmode.
3ZXR10(config-bgp)#address-familyipv6vrf<vrf-name>EntersVRFaddressfamily
congurationmode.
4ZXR10(config-bgp-af-ipv6-vrf)#redistributestatic
[metric<metric-value>],[route-map<map-tag>]
Redistributesthestaticroute.
AsshowninFigure19-2,itisrequiredtorunstaticroutebetweenCE1andPE1.The
followingexampleshowshowtocongurestaticroutesonCE1andPE1respectively.
19-3
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential