set protocols ospf6 interface area

Run the command set protocols ospf6 interface area to enable OSPFv3 on a specific interface and map that interface to an area.

Run the command delete protocols ospf6 interface to remove this configuration.


Command Syntax

set protocols ospf6 interface <interface-name> area <ipv4>

delete protocols ospf6 interface <interface-name> area <ipv4>


Parameters

ParameterDescription
area <ipv4>Specifies the area for OSPFv3, the value is in IPv4 dotted decimal format.
interface <interface-name>Specifies the VLAN interface name, the loopback interface name, the routed interface or the sub-interface name.


Usage Guidelines

You can add the L3 interface to a specified VRF to specify the VRF for the OSPFv3 instance. If L3 VLAN interface/loopback interface is not added to a specified VRF, then the command takes effect in the default VRF. 

The following commands add the L3 VLAN interface to a specified VRF and specify the VRF for the OSPFv3 instance.

admin@XorPlus# set l3-interface vlan-interface vlan100 vrf "vrf1"
admin@XorPlus# set protocols ospf6 interface vlan100 area 0.0.0.0

Example

  • This example enable OSPFv3 on L3 VLAN interface vlan100 and bind the interface to area 0.0.0.0.
admin@XorPlus# set protocols ospf6 interface vlan100 area 0.0.0.0

Copyright © 2024 Pica8 Inc. All Rights Reserved.