set protocols ospf summary-address


The set protocols ospf summary-address command summarizes the external routes with the matching address and mask. When advertising this route, its metric is set to the lowest cost path from among the routes that were summarized. This command can be used only on ASBR (Autonomous System Boundary Router).


Command Syntax

set protocols ospf [vrf <vrf-name>] summary-address <prefix/mask> [no-advertise | tag <tag-value>]


Parameters

Parameter

Description

vrf <vrf-name>

Optional. Specifies the name of the VRF for the OSPF instance.

summary-address <prefix/mask>

Specifies summarizing routes matching IPv4 address and mask prefix/mask.

no-advertise

Optional. Do not advertise the aggregate route. Suppress routes that match the specified prefix/mask pair.

tag <tag-value>

Optional. Specify the tag for the aggregate route. The summary prefix will be advertised along with the tag value in External LSAs. The value is an integer that ranges from 0 to 4294967295.


Example

  • The following commands configure OSPF route summarization for ASBR.
admin@Xorplus# set protocols ospf summary-address 10.2.0.0/16 tag 2
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.