Created
July 6, 2015 07:44
-
-
Save andreaswasita/d1a0e6e5ccb3835822a3 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.4/30" | |
$SecSN = "192.168.2.4/30" | |
#You can use Public ASN you own or Private ASN Greater than 65000 | |
$ASN = "YourASN" | |
$VLAN = "101" | |
#Create a new bgp peering session | |
New-AzureBGPPeering -ServiceKey $ServiceKey -PrimaryPeerSubnet $PriSN -SecondaryPeerSubnet $SecSN -PeerAsn $ASN -VlanId $VLAN –AccessType Public |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment