Freigeben über


New-SCNCBGPRouter

Creates VMM BGP Router object that can be used for BGP configuration.

Syntax

Default (Default)

New-SCNCBGPRouter
    [-VMMServer <ServerConnection>]
    -LocalASN <UInt32>
    [-RouterPeers <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.NCBGPPeer]>]
    [<CommonParameters>]

Description

The New-SCNCBGPRouter cmdlet creates a VMM Border Gateway Protocol (BGP) Router object that can be used for BGP configuration with System Center 2019 Virtual Machine Manager. You must configure either a BGP Router or a BGP Peer role to provide connectivity between your data center and external internet end points. You can create and configure more than one BGP Router by using one System Center 2019 Virtual Machine Manager installation.

Examples

Example: Create a BGP Router and peer with BGP Peer

PS C:\> $bgpPeer = New-SCNCBGPPeer RouterName "BGPPeer01"  -RouterIPAddress "10.10.50.45"  -RouterAsn 65 PS C:\> $bgpRouter = New-SCNCBGPRouter -LocalASN 64 -RouterPeers @($bgpPeer

This example creates a BGP Peer with router name BGPPeer01 and peers with BGP Router. The BGP Router object can be used in Set-SCFabricRoleResource to configure the BGP peer routers for Fabric Role Resources such as Load Balancer and Gateway.

Step 1: Create BGP Peer

Step 2: Create BGP Router

Step 3: Use the bgpRouter created in step 2 to configure the BGP peer routers for Fabric Role Resources using Set-SCFabricRoleResource.

Parameters

-LocalASN

The New-SCNCBGPRouter cmdlet creates a VMM Border Gateway Protocol (BGP) Router object that can be used for BGP configuration with System Center 2019 Virtual Machine Manager. You must configure either a BGP Router or a BGP Peer role to provide connectivity between your data center and external internet end points. You can create and configure more than one BGP Router by using one System Center 2019 Virtual Machine Manager installation.

Parameter properties

Type:UInt32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RouterPeers

The New-SCNCBGPRouter cmdlet creates a VMM Border Gateway Protocol (BGP) Router object that can be used for BGP configuration with System Center 2019 Virtual Machine Manager. You must configure either a BGP Router or a BGP Peer role to provide connectivity between your data center and external internet end points. You can create and configure more than one BGP Router by using one System Center 2019 Virtual Machine Manager installation.

Parameter properties

Type:

System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.NCBGPPeer]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-VMMServer

The New-SCNCBGPRouter cmdlet creates a VMM Border Gateway Protocol (BGP) Router object that can be used for BGP configuration with System Center 2019 Virtual Machine Manager. You must configure either a BGP Router or a BGP Peer role to provide connectivity between your data center and external internet end points. You can create and configure more than one BGP Router by using one System Center 2019 Virtual Machine Manager installation.

Parameter properties

Type:ServerConnection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.