Chapter176RDConguration
Figure17-7AnExampleofConguring6RD
CongurationFlow
1.Establisha6RDtunnelbetweenaCPEdeviceandR2.Inthefollowingconguration,
a6RDtunnelisestablishedbetweenCPE2andR2.
2.CreateIPv6tunnelsonR1andR2,andenabletheIPv6function.
3.ConguretheworkingmodeofIPv6tunnelsto6rd,andsetcorrespondingparameters.
4.ConguretheIPv6addressesontheIPv6tunnelsbasedonthe6rdrule.
5.CongureanIPv4routeonR1,sothatthereisanIPv4routebetweenR2andCPE
(R1forwardsIPv4packetsonly).
CongurationCommands
CongurationonR1:
R1(config)#interfacegei-1/1
R1(config-if-gei-1/1)#ipaddress1.0.0.2255.255.255.0
R1(config-if-gei-1/1)#noshutdown
R1(config-if-gei-1/1)#exit
R1(config)#interfacegei-1/2
R1(config-if-gei-1/2)#ipaddress10.0.0.1255.255.255.0
R1(config-if-gei-1/2)#noshutdown
R1(config-if-gei-1/2)#exit
/*Configureav4route,sothatthereisv4routebetweenaddress10.0.0.2on
deviceCPE2andthegei-1/1interfaceonR2.Theconfigurationisomitted.*/
CongurationonR2:
R2(config)#interfacegei-1/1
R2(config-if-gei-1/1)#ipaddress1.0.0.1255.255.255.0
R2(config-if-gei-1/1)#noshutdown
R2(config-if-gei-1/1)#exit
R2(config)#interfacev6_tunnel1
R2(config-if-v6_tunnel1)#ipv6enable
R2(config-if-v6_tunnel1)#ipv6address3000:0:100:1::1/32
R2(config-if-v6_tunnel1)#exit
17-7
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential