set protocols ospf6 area range

Run the command set protocols ospf6 area range to configure a summary route for all the routes in that range. The range parameter is used on the ABRs for the purpose of managing the size of the routing table.

Run the command delete protocols ospf6 area range to remove this configuration from the switch.


Command Syntax

set protocol ospf6 [vrf <vrf-name>] area {<ipv4>|<area-id>} range <ipv6/prefixlen> [advertise <true | false> | cost <cost>]

delete protocol ospf6 [vrf <vrf-name>] area {<ipv4>|<area-id>} range <ipv6/prefixlen> [advertise <true | false> | cost <cost>]


Parameters

ParameterDescription
vrf <vrf-name>Optional. Specifies the name of the VRF for the OSPFv3 instance.
area {<ipv4>|<area-id>}Specifies the area ID for the OSPFv3 instance. The value is either in IPv4 dotted decimal format or an integer ranging from 0 to 4294967295.
range <ipv6/prefixlen>Specifies the range parameter, the value is in IPv6/prefix length format.

advertise <true | false>

Optional. Determines whether to advertise the summarized route or not. The value could be true or false.

  • true: Advertise the summarized route.
  • false: Do not advertise the summarized route.

By default, the summarized route is advertised.

cost <cost>

Optional. Specifies the cost of the summarized route. The value is an integer that ranges from 0 to 16777215.

Example

  • This example creates a summary route for all the routes in the range 2001::/64.
admin@XorPlus# set protocols ospf6 area 0.0.0.0 range 2001::/64

Copyright © 2024 Pica8 Inc. All Rights Reserved.