New-AzNetworkCloudServiceLoadBalancerBgpPeerObject
Create an in-memory object for ServiceLoadBalancerBgpPeer.
Syntax
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 passsword -PeerPort 1234
BfdEnabled BgpMultiHop HoldTime KeepAliveTime MyAsn Name Password PeerAddress PeerAsn PeerPort
---------- ----------- -------- ------------- ----- ---- -------- ----------- ------- --------
False False P300s P300s 64512 name passsword 203.0.113.254 64497 1234
Create an in-memory object for ServiceLoadBalancerBgpPeer.
Parameters
-BfdEnabled
The indicator of BFD enablement for this BgpPeer.
Type: | BfdEnabled |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BgpMultiHop
The indicator to enable multi-hop peering support.
Type: | BgpMultiHop |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | 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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | 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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MyAsn
The autonomous system number used for the local end of the BGP session.
Type: | Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
The name used to identify this BGP peer for association with a BGP advertisement.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Password
The authentication password for routers enforcing TCP MD5 authenticated sessions.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PeerAddress
The IPv4 or IPv6 address used to connect this BGP session.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PeerAsn
The autonomous system number expected from the remote end of the BGP session.
Type: | Int64 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PeerPort
The port used to connect this BGP session.
Type: | Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Azure PowerShell