Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (39 sloc) 1.28 KB
$RefreshToken = "62c26d4a-xxxx-xxxx-xxxx-913873b1dfe0"
$OrgName = "VMC-SET-EMEA"
$SDDCName = "GC-API-SDDC"
Import-Module ./VMware.VMC.NSXT.psd1
Import-Module ./VMware.VMC.psd1
Connect-Vmc -RefreshToken $RefreshToken
Connect-NSXTProxy -RefreshToken $RefreshToken -OrgName $OrgName -SDDCName $SDDCName
Get-NSXTOverviewInfo
New-NSXTRouteBasedVPN -Name VPN-T1 `
-PublicIP 52.57.x.x `
-RemotePublicIP 18.19.x.x `
-BGPLocalIP 169.254.62.2 `
-BGPRemoteIP 169.254.62.1 `
-BGPlocalASN 65056 `
-RemoteBGPASN 64512 `
-BGPNeighborID 65 `
-TunnelEncryption AES_256 `
-TunnelDigestEncryption SHA2_256 `
-IKEEncryption AES_256 `
-IKEDigestEncryption SHA2_256 `
-DHGroup GROUP14 `
-IKEVersion IKE_V1 `
-PresharedPassword xxxxx
New-NSXTRouteBasedVPN -Name VPN-T2 `
-PublicIP 52.57.x.x `
-RemotePublicIP 52.59.x.x `
-BGPLocalIP 169.254.61.2 `
-BGPRemoteIP 169.254.61.1 `
-BGPlocalASN 65056 `
-RemoteBGPASN 64512 `
-BGPNeighborID 66 `
-TunnelEncryption AES_256 `
-TunnelDigestEncryption SHA2_256 `
-IKEEncryption AES_256 `
-IKEDigestEncryption SHA2_256 `
-DHGroup GROUP14 `
-IKEVersion IKE_V1 `
-PresharedPassword xxxxx
Get-NSXTRouteBasedVPN
You can’t perform that action at this time.