/
protocols ospf6 area interface vif neighbor router-id

protocols ospf6 area interface vif neighbor router-id

To configure an OSPFv6 neighbor, use the set protocols ospf6 area interface vif neighbor router-id command in L2/L3 configuration mode.

Command Syntax

set protocols ospf6 area area-id interface interface-name vif vif-name neighbor ip-address router-id area-id

Parameters

area-idOSPFv6 area identifier.
interface-nameInterface name.
vifVirtual interface name.
ip-addressIP address of the directly connected interface of OSPFv6 neighbor.
router-idRouter ID of the OSPFv6 neighbor.

Example

The following example configures an OSPFv6 neighbor with interface IPv6 address 2001::1 and router identifier 1.1.1.1:

admin@Switch# set protocols ospf6 area 0.0.0.0 interface vlan2 vif vlan2 neighbor 2001::1 router-id 1.1.1.1

Copyright © 2025 Pica8 Inc. All Rights Reserved.