/
set protocols ospf6 area interface vif neighbor router-id
set 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 vrf vrf-name area area-id interface interface-name vif vif-name neighbor ip-address router-id area-id
Parameters
vrf-name | 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-id | OSPFv6 area identifier. |
interface-name | Interface name. |
vif | Virtual interface name. |
ip-address | IP address of the directly connected interface of OSPFv6 neighbor. |
router-id | Router 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
, multiple selections available,
Related content
set protocols ospf4 area interface vif address neighbor router-id
set protocols ospf4 area interface vif address neighbor router-id
More like this
set protocols ospf6 area interface vif address disable
set protocols ospf6 area interface vif address disable
More like this
set protocols ospf6 router-id
set protocols ospf6 router-id
More like this
set protocols ospf6 area interface vif disable
set protocols ospf6 area interface vif disable
More like this
set protocols ospf6 area stub
set protocols ospf6 area stub
More like this
set protocols ospf6 area stub
set protocols ospf6 area stub
More like this
Copyright © 2025 Pica8 Inc. All Rights Reserved.