Created
July 6, 2015 07:39
-
-
Save andreaswasita/20bc8ef75e5d6d278c5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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