R1(config)# interface G0/0 R1(config-if)# description LAN R1(config-if)# ipv6 address 2001:db8:1::1/64 R1(config-if)# exit R1(config)# interface G0/1 R1(config-if)# description VERS_R2 R1(config-if)# ipv6 address 2001:db8:12::1/64 R1(config-if)# exit R1(config)# ipv6 router ospf 1 R1(config-rtr)# router-id 1.1.1.1 R1(config-rtr)# exit R1(config)# interface G0/0 R1(config-if)# ipv6 ospf 1 area 0 R1(config)# interface G0/1 R1(config-if)# ipv6 ospf 1 area 0
R2(config)# interface G0/0 R1(config-if)# description VERS_R1 R2(config-if)# ipv6 address 2001:db8:12::2/64 R2(config-if)# exit R2(config)# interface G0/1 R1(config-if)# description VERS_R3 R2(config-if)# ipv6 address 2001:db8:23::2/64 R2(config-if)# exit R2(config)# ipv6 router ospf 1 R2(config-rtr)# router-id 2.2.2.2 R2(config-rtr)# exit R2(config)# interface G0/0 R2(config-if)# ipv6 ospf 1 area 0 R2(config-if)# exit R2(config)# interface G0/1 R2(config)# ipv6 ospf 1 area 0 R2(config-if)# exit
R3(config)# interface G0/0 R1(config-if)# description LAN R3(config-if)# ipv6 address 2001:db8:3::1/64 R3(config-if)# exit R3(config)# interface G0/1 R1(config-if)# description VERS_R2 R3(config-if)# ipv6 address 2001:db8:23::3/64 R3(config-if)# exit R3(config)# ipv6 router ospf 1 R3(config-rtr)# router-id 3.3.3.3 R3(config-rtr)# exit R3(config)# interface G0/0 R3(config-if)# ipv6 ospf 1 area 0 R3(config)# interface G0/1 R3(config-if)# ipv6 ospf 1 area 0
Depuis n’importe quel routeur, utilisez la commande :
R1# show ipv6 ospf neighbor
Pour voir la table de routage OSPFv3 :
R1# show ipv6 route ospf
Depuis R1, tentez de pinger l’interface de R3
R1# ping 2001:db8:23::3