match additional-paths advertise-set

Enables filtering of additional-paths to be advertised for a route map.

Syntax

match additional-paths advertise-set [ all ] [ best num ] [ best-range start-num end-num ] [ group-best ]
no match additional-paths [ all ] advertise-set [ best num ] [ best-range start-num end-num ] [ group-best ]

Command Default

By default, a route map is not configured to filter advertised paths.

Parameters

all
Causes all (up to a maximum of 16) routes to be advertised.
best num
Specifies the number of best routes to advertise.
best-range
Causes advertisement of routes within a number range.
start-num
Specifies the start number of the range of routes to advertise. The number ranges from 1 through 16.
end-num
Specifies the end number of the range of routes to advertise. The number ranges from 1 through 16.
group-best
Advertises the group-best path.

Modes

Route-map configuration mode

Usage Guidelines

A match occurs when an additional path that is a candidate for advertisement has the same path marking (tag) as the marking configured by using the match additional-paths advertise-set command.

Only one match additional-paths advertise-set command configuration is allowed for each route map; any subsequent match additional-paths advertise-set command configuration overwrites the previous configuration.

The no form of the command restores the default configuration.

Examples

The following example shows how to configure route map (rm_example) to advertise the group-best route.

device# configure terminal
device(config)# route-map rm_example permit 123
device(config-routemap-rm_example/permit/123)# match additional-paths advertise-set group-best