Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

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 vrf vrf-name area area-id interface interface-name vif vif-name neighbor ip-address router-id area-id



Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

Note that: The configuration is in the default VRF if not explicitly bound to any VRF.

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.


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

admin@Switch# set protocols ospf6 area interface vlan2 vif vlan2 neighbor 2001::1 router-id
  • No labels