Chapter21IPv6URPFConguration
Figure21-2TopologyofIPv6URPFCongurationExample(Loose)
CongurationFlow
1.AsshowninFigure21-2,establishthenetworkingstructure,addalinkforthe
sub-interfacebetweenR1andR2,andconguretheIPv6addressforeachinterface.
2.ConguretheOSPFv3protocolbetweenR1andR2toensuretheunicastinterworking.
3.CongurelooseURPFfortheingressgei-2/1onR1andcongureACL.
4.Thesourceaddressis3ff1::1,thedestinationnetworksegmentis1:20::/64,andthe
directionisfromR1toR2.
CongurationCommands
ThecongurationofR1isasfollows:
R1(config)#interfacegei-2/1
R1(config-if-gei-2/1)#noshutdown
R1(config-if-gei-2/1)#ipv6enable
R1(config-if-gei-2/1)#ipv6address1:1:ad::ea/64
R1(config-if-gei-2/1)#exit
R1(config)#interfacegei-2/2
R1(config-if-gei-2/2)#noshutdown
R1(config-if-gei-2/2)#ipv6enable
R1(config-if-gei-2/2)#ipv6address1:10::ad:ea/64
R1(config-if-gei-2/2)#exit
R1(config)#interfacegei-2/2.1
R1(config-if-gei-2/2.1)#exit
R1(config)#vlan-configuration
R1(config-vlan)#interfacegei-2/2.1
R1(config-vlan-if-gei-2/2.1)#encapsulation-dot1q100
/*configuresub-interfaceandestablishanotherlink*/
R1(config-vlan-if-gei-2/2.1)#exit
R1(config-vlan)#exit
R1(config)#interfacegei-2/2.1
R1(config-if-gei-2/2.1)#ipv6enable
R1(config-if-gei-2/2.1)#ipv6address200::1/64
R1(config-if-gei-2/2.1)#exit
R1(config)#ipv6routerospf1
R1(config-ospfv3-1)#interfacegei-2/1area0.0.0.0instance0
R1(config-ospfv3-1-if-gei-2/1)#exit
21-5
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential