az network vpn-site link

Note

This reference is part of the virtual-wan extension for the Azure CLI (version 2.39.0 or higher). The extension will automatically install the first time you run an az network vpn-site link command. Learn more about extensions.

Manage VPN site link.

Commands

az network vpn-site link add

Add a VPN site link to VPN site configuration.

az network vpn-site link list

List VPN site links on VPN site configuration.

az network vpn-site link remove

Remove a VPN site link from VPN site configuration.

Add a VPN site link to VPN site configuration.

az network vpn-site link add --ip-address
                             --name
                             --resource-group
                             --site-name
                             [--asn]
                             [--bgp-peering-address]
                             [--fqdn]
                             [--link-provider-name]
                             [--link-speed-in-mbps]
                             [--no-wait]

Add a VPN site link to VPN site configuration

az network vpn-site link add -g MyRG --site-name VpnSite -n VpnSiteLinkName --ip-address 10.0.1.111 --asn 1234 --bgp-peering-address 192.168.0.0
--ip-address

IP address of the VPN site.

--name -n

The name of vpn site link.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--site-name

Name of the VPN site config.

--asn

BGP speaker's ASN.

--bgp-peering-address

Peering address and BGP identifier of this BGP speaker.

--fqdn

FQDN of vpn-site-link.

--link-provider-name

Name of the link provider.

--link-speed-in-mbps

Link speed.

--no-wait

Do not wait for the long-running operation to finish.

List VPN site links on VPN site configuration.

az network vpn-site link list --resource-group
                              --site-name

List VPN site links on VPN site configuration

az network vpn-site link list -g MyRG --site-name VpnSite
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--site-name

Name of the VPN site config.

Remove a VPN site link from VPN site configuration.

az network vpn-site link remove --index
                                --resource-group
                                --site-name
                                [--no-wait]

Remove a VPN site links from VPN site configuration

az network vpn-site link remove -g MyRG --site-name VpnSite --index 1
--index

List index of the item (starting with 1).

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--site-name

Name of the VPN site config.

--no-wait

Do not wait for the long-running operation to finish.