ZXR10ZSRV2CongurationGuide(IPv6)
Figure4-2TopologyDiagramforConguringaStaticIPv6Route(IndirectNextHop)
CongurationFlow
1.CongureastaticrouteonR1,withthedestinationnetworksegment2003::/64and
nexthop2005::2.
2.CongureastaticrouteonR1,withthedestinationnetworksegment2005::/64and
nexthop2006::2.
CongurationCommands
CongurationonR1(IPv6addresscongurationsonR1,R2,andR3areomitted)
R1(config)#ipv6route2003::/642005::2
/*Configurethestaticroute(indirectnexthop).*/
R1(config)#ipv6route2005::/642006::2
/*Configurethestaticroute(directnexthop).*/
CongurationVerication
R1#showipv6forwardingroutestatic
IPv6RoutingTable:
Headers:Dest:Destination,Gw:Gateway,Pri:Priority;
Codes:K:kernel,I1:isis-l1,SFN:sf-nat64,R:ripng,AF:aftr,B:bgp,
D:direct,I2:isis-l2,SLN:sl-nat64,O:ospfv3,D6:dhcp,P:ppp,
S:static,N:nd,V:vrrp,A:address,M:multicast,UI:user-ipaddr;
DestOwnerMetric
InterfacePriGw
2003::/64S0
gei-2/112005::2
2005::/64S0
gei-2/112006::2
4.3.3Example:ConfiguringaDefaultIPv6Route
CongurationDescription
Thedefaultrouteisaspecialkindofstaticroute.Whenallroutesintheroutingtablefail
tobeselected,thedefaultroute,whichgreatlyreducesthehandlingloadoftherouter,is
used.Figure4-3showsthetopologystructureofIPv6defaultroutes.
4-6
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential