Compartilhar via


BgpRoutingPolicyConfig class

Retrieves the policy configuration of a Border Gateway Protocol (BGP) router.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("RAMgmtPSProvider"), AMENDMENT]
class BgpRoutingPolicyConfig
{
  string  RoutingDomain;
  string  PolicyName;
  uint32  PolicyType;
  string  MatchPrefix[];
  string  IgnorePrefix[];
  uint32  MatchASNRange[];
  string  MatchCommunity[];
  string  MatchNextHop[];
  string  NewNextHop;
  uint32  NewLocalPref;
  uint32  NewMED;
  boolean ClearMED;
  string  AddCommunity[];
  string  RemoveCommunity[];
  boolean RemoveAllCommunities;
};

Members

The BgpRoutingPolicyConfig class has these types of members:

Properties

The BgpRoutingPolicyConfig class has these properties.

AddCommunity

Data type: string array

Access type: Read-only

The community value to use during BGP route matching.

ClearMED

Data type: boolean

Access type: Read-only

Whether MED values from route advertisements are to be removed.

IgnorePrefix

Data type: string array

Access type: Read-only

The list IP addresses to ignore.

MatchASNRange

Data type: uint32 array

Access type: Read-only

The range of Autonomous System Numbers (ASN) to match with route advertisements.

MatchCommunity

Data type: string array

Access type: Read-only

The community attribute values to match with route advertisements.

MatchNextHop

Data type: string array

Access type: Read-only

The next-hop value to match with route advertisements.

MatchPrefix

Data type: string array

Access type: Read-only

The list IP addresses to match with route advertisements.

NewLocalPref

Data type: uint32

Access type: Read-only

The LOCAL_PREFERENCE value of all matched routes.

NewMED

Data type: uint32

Access type: Read-only

The multi-exit discriminator (MED) of all matched routes.

NewNextHop

Data type: string

Access type: Read-only

The next-hop value of all matched routes.

PolicyName

Data type: string

Access type: Read-only

The user-defined alphanumeric ID of the BGP routing policy.

PolicyType

Data type: uint32

Access type: Read-only

The type of the BGP routing policy.

RemoveAllCommunities

Data type: boolean

Access type: Read-only

Whether to remove all communities from the BGP route.

Windows Server 2012 R2: This property is not supported before Windows Server 2016.

RemoveCommunity

Data type: string array

Access type: Read-only

The community value to remove during BGP route matching.

RoutingDomain

Data type: string

Access type: Read-only

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

Note

This property is only used with multi-tenant deployments.

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

RAMgmtPSProvider Provider Classes