#Setting up a bgp session | |
$ServiceKey = "YourServiceKey" | |
$PriSN = "192.168.1.0/30" | |
$SecSN = "192.168.2.0/30" | |
#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