New-AzNetworkCloudBgpAdvertisementObject
Create an in-memory object for BgpAdvertisement.
Syntax
New-AzNetworkCloudBgpAdvertisementObject
-IPAddressPool <String[]>
[-AdvertiseToFabric <AdvertiseToFabric>]
[-Community <String[]>]
[-Peer <String[]>]
[<CommonParameters>]
Description
Create an in-memory object for BgpAdvertisement.
Examples
Example 1: Create an in-memory object for BgpAdvertisement.
New-AzNetworkCloudBgpAdvertisementObject -IPAddressPool @("pool1","pool2") -AdvertiseToFabric "True" -Community @("communityString") -Peer @("peer1")
AdvertiseToFabric Community IPAddressPool Peer
----------------- --------- ------------- ----
True {communityString} {pool1, pool2} {peer1}
Create an in-memory object for BgpAdvertisement.
Parameters
-AdvertiseToFabric
The indicator of if this advertisement is also made to the network fabric associated with the Network Cloud Cluster. This field is ignored if fabricPeeringEnabled is set to False.
Type: | AdvertiseToFabric |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Community
The names of the BGP communities to be associated with the announcement, utilizing a BGP community string in 1234:1234 format.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IPAddressPool
The names of the IP address pools associated with this announcement.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Peer
The names of the BGP peers to limit this advertisement to. If no values are specified, all BGP peers will receive this advertisement.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |