![图片[1]-19.2 OSPFv3配置-大赛人网](https://www.dsrw.com/wp-content/uploads/2023/03/图片3-16-1024x459.png)
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
请登录后查看评论内容