Chapter4IPv6StaticRouteConguration
ipv6enable
ipv6address2005::1/64
noshutdown
!
$!</Interface>
R1(config)#showipv6interfacegei-2/1
Interfacegei-2/1isup,lineprotocolisup
IPv6isenabled,HardwareisGigabitEthernet
HWaddr:0020.231d.0e0e
index29
Bandwidth1000000Kbits
IPv6MTUis1500bytes
inet6fe80::220:23ff:fe1d:e0e/64
inet62005::1/64
DADattempsnumber:3
NDreachable-timeis30000milliseconds
R1(config)#showrunning-configipv6-static
!<ipv6-static>
ipv6route2003::/642005::2
!</ipv6-static>
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
4.3.2Example:ConfiguringaStaticIPv6Route(IndirectNextHop)
CongurationDescription
AsshowninFigure4-2,R1andR3aredirectlyconnectedtoR2separately.IfR1needs
totransmitpacketstoremotenetworksegment2003::/64,itmusttransmitpacketstoR2
havingIPv6address2006::2rst.IfR2needstotransmitpacketstoremotenetwork
segment2003::/64,itmusttransmitpacketstoR3havingIPv6address2005::2rst.
4-5
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential