HCIE-OSPFV3

HCIE-OSPFV3_第1张图片

R1配置

#

ipv6 //全局开启ipv6

#

interface GigabitEthernet0/0/0

 ipv6 enable //接口开启ipv6

 ipv6 address FE80::1 link-local//手工配置ipv6link-local地址

#

interface LoopBack0

 ipv6 enable

 ipv6 address 2001::1/128

#

ospfv3 1//ospfv3进程1

 router-id 1.1.1.1//ospfv3需要手工指定route-id否则不能建立邻居关系

#

interface GigabitEthernet0/0/0

ospfv3 1 area 0.0.0.0 instance 1//ospfv3需要在接口下配置ospf,指定为instance1,不能通过network方式引入。

#

interface LoopBack0

ospfv3 1 area 0.0.0.0 instance 1

R2配置

#

ipv6

interface GigabitEthernet0/0/0

 ipv6 enable

 ipv6 address FE80::2 link-local

 #

interface LoopBack0

 ipv6 enable

 ipv6 address 2001::2/128

#

ospfv3 1

 router-id 2.2.2.2

#

interface GigabitEthernet0/0/0

ospfv3 1 area 0.0.0.0 instance 2

#

interface LoopBack0

 ospfv3 1 area 0.0.0.0 instance 2

 

R3配置

#

ipv6

#

interface GigabitEthernet0/0/0

 ipv6 enable

 ipv6 address FE80::3 link-local

#

interface LoopBack0

 ipv6 enable

 ipv6 address 2001::3/128

#

ospfv3 1//ospf进程1

 router-id 3.3.3.3

#

ospfv3 2//ospf进程2

 router-id 33.33.33.33//为了避免混淆,不同进程下route-id应该不同,但是配置相同不影响其建立邻居关系

#

interface GigabitEthernet0/0/0//分别将其配置在不同进程下的ospfv3中

 ospfv3 1 area 0.0.0.0 instance 1

 ospfv3 2 area 0.0.0.0 instance 2

#

interface LoopBack0

 ospfv3 1 area 0.0.0.0 instance 1

 ospfv3 2 area 0.0.0.0 instance 2

查看R3ospfv3邻居关系

dis ospfv3 peer

OSPFv3 Process (1)

OSPFv3 Area (0.0.0.0)

Neighbor ID     Pri  State            Dead Time Interface            Instance ID

1.1.1.1           1  Full/DR          00:00:38  GE0/0/0                        1

 

OSPFv3 Process (2)

OSPFv3 Area (0.0.0.0)

Neighbor ID     Pri  State            Dead Time Interface            Instance ID

2.2.2.2           1  Full/DR          00:00:32  GE0/0/0                        2

对R3的OSPFV3报文进行抓包分析

 

HCIE-OSPFV3_第2张图片

 

<>

 

 

你可能感兴趣的:(网络工程师,HCIE-R&S)