set protocols ospf6 distance-ospf6

Run the command set protocols ospf6 distance-ospf6 to configure the administrative distance for intra-area, inter-area and external routes.

Run the command delete protocols ospf6 distance-ospf6 to remove this configuration from the switch.


Command Syntax

set protocols ospf6 [vrf <vrf-name>] distance-ospf6 {intra-area <distance> | inter-area <distance> | external <distance>}

delete protocols ospf6 [vrf <vrf-name>] distance-ospf6 {intra-area <distance> | inter-area <distance> | external <distance>}


Parameters

ParameterDescription
vrf <vrf-name>Optional. Specifies the name of the VRF for the OSPFv3 instance.
intra-area <distance>Specifies the administrative distance for intra-area routes. The values is an integer that ranges from 1 to 255.
inter-area <distance>Specifies the administrative distance for inter-area routes. The values is an integer that ranges from 1 to 255.
external <distance>Specifies the administrative distance for external routes. The values is an integer that ranges from 1 to 255.

Example

  • This example configures the administrative distance of inter-area routes and intra-area routes to 200 and sets the administrative distance for external routes to 250.
admin@XorPlus# set protocols ospf6 distance ospf6 intra-area 200
admin@XorPlus# set protocols ospf6 distance-ospf6 inter-area 200
admin@XorPlus# set protocols ospf6 distance-ospf6 external 250
admin@XorPlus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.