19.2 OSPFv3配置

图片[1]-19.2 OSPFv3配置-大赛人网
图19-4 OSPFv3基本配置网络拓扑

1.R1配置OSPFv3

[R1]ospfv3 1
[R1-ospfv3-1]router-id 1.1.1.1
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ospfv3 1 area 0
[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]ospfv3 1 area 0

2.R2配置OSPFv3

[R2]ospfv3 1
[R2-ospfv3-1]router-id 2.2.2.2
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]ospfv3 1 area 0
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]ospfv3 1 area 0  

3.R3配置OSPFv3

[R3]ospfv3 1
[R3-ospfv3-1]router-id 3.3.3.3
[R3]interface GigabitEthernet 0/0/0
[R3-GigabitEthernet0/0/0]ospfv3 1 area 0
[R3]interface GigabitEthernet 0/0/1
[R3-GigabitEthernet0/0/1]ospfv3 1 area 0

4.查看R3的OSPFv3路由

[R2]display ipv6 routing-table protocol ospfv3 
Public Routing Table : OSPFv3
Summary Count : 4
OSPFv3 Routing Table's Status : < Active >
Summary Count : 2 
 Destination  : 2001::                          PrefixLength : 64
 NextHop      : FE80::2E0:FCFF:FE10:12F9        Preference   : 10
 Cost         : 2                               Protocol     : OSPFv3
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : GigabitEthernet0/0/0            Flags        : D

 Destination  : 2004::                          PrefixLength : 64
 NextHop      : FE80::2E0:FCFF:FE96:7616        Preference   : 10
 Cost         : 2                               Protocol     : OSPFv3
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : GigabitEthernet0/0/1            Flags        : D

OSPFv3 Routing Table's Status : < Inactive >
Summary Count : 2

 Destination  : 2002::                          PrefixLength : 64
 NextHop      : ::                              Preference   : 10
 Cost         : 1                               Protocol     : OSPFv3
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : GigabitEthernet0/0/0            Flags        :  

 Destination  : 2003::                          PrefixLength : 64
 NextHop      : ::                              Preference   : 10
 Cost         : 1                               Protocol     : OSPFv3
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : GigabitEthernet0/0/1            Flags        :  
© 版权声明
THE END
喜欢就支持一下吧
点赞12 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容