次の方法で共有


Add method of the PS_BgpCustomRoute class

Adds custom BGP routes to a BGP routing table.

Syntax

uint32 Add(
  [in]  boolean              PassThru,
  [in]  string               RoutingDomain,
  [in]  string               Interface[],
  [in]  string               Network[],
  [out] BgpCustomNetworkInfo cmdletOutput
);

Parameters

PassThru [in]

Indicates whether cmdletOutput parameter returns an output object.

RoutingDomain [in]

The user-defined unique alphanumeric ID of the routing domain.

Interface [in]

A list of interface aliases that contain static routes to add to the BGP routing table.

Network [in]

A list of Classless Inter-Domain Routing (CIDR) IP network prefixes and network masks to add to the BGP routing table.

cmdletOutput [out]

Receives the BgpCustomNetworkInfo object that contains the custom BGP routes.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.Mof
DLL
RAMgmtPSProvider.dll

See also

PS_BgpCustomRoute