API Guide
Identifier GUID-FCF7F51D-FC28-42F5-A5AC-8BDC5A414A8A
Version 5
Status Translation approved
启用 OSPFv3
1. 在 CONFIGURATION 模式下全局启用 OSPFv3 并配置 OSPFv3 实例。
router ospfv3 instance-number
2. 输入接口信息以在 INTERFACE 模式下配置 OSPFv3 接口。
interface ethernet node/slot/port[:subport]
3. 在 INTERFACE 模式下启用接口。
no shutdown
4. 禁用默认的交换机端口配置,并将其从接口或 INTERFACE 模式中的 LAG 端口移除。
no switchport
5. 在 INTERFACE 模式下启用接口上的 OSPFv3。
ipv6 ospfv3 process-id area area-id
• process-id — 输入特定 OSPFv3 进程的 OSPFv3 进程 ID,从 1 到 65535。
• area-id — 将 OSPF 区域 ID 输入为 A.B.C.D 格式或数字(从 1 到 65535)的 IP 地址。
启用 OSPFv3
OS10(config)# router ospfv3 100
OS10(config-router-ospfv3-100)# exit
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# no shutdown
OS10(conf-if-eth1/1/1)# no switchport
OS10(conf-if-eth1/1/1)# ipv6 ospfv3 300 area 0.0.0.0
Identifier
GUID-3E27C886-4FF8-4748-AB77-C0E1333D2851
Version 2
Status Translation approved
在非默认 VRF 实例中启用 OSPFv3
1. 创建要在其中启用 OSPFv3 的非默认 VRF 实例:
ip vrf vrf-name
CONFIGURATION 模式
2. 在您之前创建的非默认 VRF 实例中启用 OSPFv3,并在 VRF CONFIGURATION 模式下配置 OSPFv3 实例。
router ospfv3 instance-number vrf vrf-name
3. 输入接口信息以在 INTERFACE 模式下配置 OSPFv3 接口。
interface ethernet node/slot/port[:subport]
4. 在 INTERFACE 模式下启用接口。
no shutdown
5. 禁用默认的交换机端口配置,并将其从接口或 INTERFACE 模式中的 LAG 端口移除。
no switchport
6. 将接口与您之前创建的非默认 VRF 实例关联。
ip vrf forwarding vrf-name
第 3 层 671