Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#Setting up a bgp session
$ServiceKey = "YourServiceKey"
$PriSN = ""
$SecSN = ""
#You can use Public ASN you own or Private ASN Greater than 65000
$ASN = "YourASN"
$VLAN = "100"
#Create a new bgp peering session
New-AzureBGPPeering -ServiceKey $ServiceKey -PrimaryPeerSubnet $PriSN -SecondaryPeerSubnet $SecSN -PeerAsn $ASN -VlanId $VLAN –AccessType Private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment