Print Download PDF Send Feedback

Previous

Next

Configuring Route Aggregation - Gaia Clish (aggregate)

Create aggregate routes using these Gaia Clish commands:

set aggregate <ip_prefix>

contributing protocol <protocol> contributing-route

all {on | off}

<ip_prefix>

exact on

off

on

refines on

off

contributing protocol <protocol> off

rank {default | <0-255>}

weight default

aspath-truncate {on | off}

Parameters

Parameter

Description

contributing protocol <protocol> contributing-route {all | <ip_prefix>} {on | off}

The IP address and mask length of the new aggregate route and the contributing protocol or interface route. To specify a protocol, enter direct, static, ospf2, ospf2ase, bgp, rip, igrp, rip, or aggregate. To specify a contributing route, enter all to contribute all the routes for a specific protocol or enter the IP address and mask length to contribute a specific route.

<ip_prefix> exact on

The contributing route is limited to the specified IP address and mask length only.

You cannot enable both exact on and refines on at the same time. If you enable refines on when exact on is enabled, exact on is automatically disabled.

<ip_prefix> refines on

The contributing route is based on addresses with a greater value than the specified mask length of the specified IP address.

You cannot enable both exact on and refines on at the same time. If you enable refines on when exact on is enabled, exact on is automatically disabled.

rank default

The rank to assign to the aggregate route when routes from different protocols to the same destination are present. For each route, the route from the protocol with the lowest rank is used.

Each routing protocol has a different default rank value. Aggregate routes have a default rank of 130.

rank <0-255>

The rank to assign to the aggregate route when routes from different protocols to the same destination are present. For each route, the route from the protocol with the lowest rank is used. Each routing protocol has a different default rank value.

Each routing protocol has a different default rank value. Aggregate routes have a default rank of 130.

weight default

A value that breaks a tie if select routes going to the same destination have the same rank value. The route with the highest weight is the active route. The active route is installed in the kernel forwarding table and redistributed to the other routing protocols.

  • Range: 0-65535.
  • Default: 0

weight <0-65535>

A value that breaks a tie if select routes going to the same destination have the same rank value. The route with the highest weight is the active route. The active route is installed in the kernel forwarding table and redistributed to the other routing protocols.

  • Default: 0

aspath-truncate {on | off}

Specifies that the autonomous system (AS) path be truncated to the longest common AS path. The default behavior is to build an AS path that consists of sets and sequences of all contributing AS paths.

  • Default: off

Route Aggregation commands summary

SET commands:

Note - Enter set aggregate [Esc][Esc].

set aggregate VALUE aspath-truncate VALUE

set aggregate VALUE contributing-protocol VALUE contributing-route VALUE exact on

set aggregate VALUE contributing-protocol VALUE contributing-route VALUE off

set aggregate VALUE contributing-protocol VALUE contributing-route VALUE on

set aggregate VALUE contributing-protocol VALUE contributing-route VALUE refines on

set aggregate VALUE contributing-protocol VALUE off

set aggregate VALUE off

set aggregate VALUE rank VALUE

set aggregate VALUE weight VALUE