API Guide

Identifier GUID-76C04E06-5367-4253-AD43-3C06129EB012
Version 4
Status Translation approved
配置存根区域
类型 5 LSA 不会泛洪至存根区域。ABR 将默认路由通告到它所连接的存根区域。存根区域路由器使用默认路由到达外部目标。
1. 启用 OSPFv3 路由并进入 ROUTER-OSPFv3 模式 1 65535
router ospfv3 instance number
2. ROUTER-OSPFv3 模式下将区域配置为存根区域。
area area-id stub [no-summary]
area-id 采用 A.B.C.D 格式或数字将 OSPFv3 区域 ID 输入为 IP 地址 1 65535
no-summary 可选输入以防止 ABR 将摘要 LSA 发送到存根区域。
配置存根区域
OS10(config)# router ospfv3 10
OS10(conf-router-ospf-10)# area 10.10.5.1 stub no-summary
查看存根区域配置
OS10# show running-configuration ospfv3
!
interface ethernet1/1/3
ipv6 ospf 65 area 0.0.0.2
!
router ospfv3 65
area 0.0.0.2 stub no-summary
OS10# show ipv6 ospf database
OSPF Router with ID (199.205.134.103) (Process ID 65)
Router Link States (Area 0.0.0.2)
ADV Router Age Seq# Fragment ID Link count Bits
-------------------------------------------------------------------
199.205.134.103 32 0x80000002 0 1
202.254.156.15 33 0x80000002 0 1 B
Net Link States (Area 0.0.0.2)
ADV Router Age Seq# Link ID Rtr count
----------------------------------------------------------
202.254.156.15 38 0x80000001 12 2
Inter Area Prefix Link States (Area 0.0.0.2)
ADV Router Age Seq# Prefix
-----------------------------------------------------------------
202.254.156.15 93 0x80000001 ::/0
Intra Area Prefix Link States (Area 0.0.0.2)
ADV Router Age Seq# Link ID Ref-lstype Ref-LSID
-------------------------------------------------------------------
202.254.156.15 34 0x80000003 65536 0x2002 12
Link (Type-8) Link States (Area 0.0.0.2)
ADV Router Age Seq# Link ID Interface
--------------------------------------------------------------
199.205.134.103 42 0x80000001 12 ethernet1/1/3
202.254.156.15 54 0x80000001 12 ethernet1/1/3
3 673