Share via


Add method of the PS_BgpRouteAggregate class

Adds a new aggregate route for more specific BGP routes.

Syntax

uint32 Add(
  [in]  string                  RoutingDomain,
  [in]  string                  Prefix,
  [in]  uint32                  SummaryOnly,
  [in]  string                  AttributePolicy[],
  [in]  uint32                  PreserveASPath,
  [in]  boolean                 PassThru,
  [in]  boolean                 Force,
  [out] BgpRouteAggregateConfig cmdletOutput
);

Parameters

RoutingDomain [in]

A user-defined alphanumeric ID of the routing Domain / Tenant.

Prefix [in]

Classless IP address prefix for the aggregate IP Address and its prefix length.

SummaryOnly [in]

Flag to indicate that only the aggregate address is to be advertised to peers.

AttributePolicy [in]

A list of policy names that are to be applied to the Aggregate route to configure its attributes.

PreserveASPath [in]

Flag to keep the aggregated AS Paths in the AS Set of the aggregate IP Address.

PassThru [in]

true to indicate that the method returns an output object. The default is false.

Force [in]

true for no confirmation prompt for suppressing specific routes in favor of the newly added Aggregate route. The default is false.

cmdletOutput [out]

If PassThru is true, returns an embedded instance of the current object.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
Ramgmtpsprovider.mof
DLL
RAMgmtPSProvider.dll

See also

PS_BgpRouteAggregate