Edit

Share via


New-AzNetworkCloudServiceLoadBalancerBgpPeerObject

Create an in-memory object for ServiceLoadBalancerBgpPeer.

Syntax

Default (Default)

New-AzNetworkCloudServiceLoadBalancerBgpPeerObject
    -Name <String>
    -PeerAddress <String>
    -PeerAsn <Int64>
    [-BfdEnabled <BfdEnabled>]
    [-BgpMultiHop <BgpMultiHop>]
    [-HoldTime <String>]
    [-KeepAliveTime <String>]
    [-MyAsn <Int64>]
    [-Password <String>]
    [-PeerPort <Int64>]
    [<CommonParameters>]

Description

Create an in-memory object for ServiceLoadBalancerBgpPeer.

Examples

Example 1: Create an in-memory object for ServiceLoadBalancerBgpPeer.

New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password password -PeerPort 1234
BfdEnabled BgpMultiHop HoldTime KeepAliveTime MyAsn Name Password  PeerAddress   PeerAsn PeerPort
---------- ----------- -------- ------------- ----- ---- --------  -----------   ------- --------
False      False       P300s    P300s         64512 name password  203.0.113.254 64497   1234

Create an in-memory object for ServiceLoadBalancerBgpPeer.

Parameters

-BfdEnabled

The indicator of BFD enablement for this BgpPeer.

Parameter properties

Type:BfdEnabled
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

-BgpMultiHop

The indicator to enable multi-hop peering support.

Parameter properties

Type:BgpMultiHop
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

-HoldTime

Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The requested BGP hold time value. This field uses ISO 8601 duration format, for example P1H.

Parameter properties

Type:String
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

-KeepAliveTime

Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The requested BGP keepalive time value. This field uses ISO 8601 duration format, for example P1H.

Parameter properties

Type:String
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

-MyAsn

The autonomous system number used for the local end of the BGP session.

Parameter properties

Type:Int64
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

-Name

The name used to identify this BGP peer for association with a BGP advertisement.

Parameter properties

Type:String
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

-Password

The authentication password for routers enforcing TCP MD5 authenticated sessions.

Parameter properties

Type:String
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

-PeerAddress

The IPv4 or IPv6 address used to connect this BGP session.

Parameter properties

Type:String
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

-PeerAsn

The autonomous system number expected from the remote end of the BGP session.

Parameter properties

Type:Int64
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

-PeerPort

The port used to connect this BGP session.

Parameter properties

Type:Int64
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

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.

Outputs

ServiceLoadBalancerBgpPeer