Share via


az network express-route peering connection

Manage ExpressRoute circuit connections.

Commands

Name Description Type Status
az network express-route peering connection create

Create connections between two ExpressRoute circuits.

Core GA
az network express-route peering connection delete

Delete the specified Express Route Circuit Connection from the specified express route circuit.

Core GA
az network express-route peering connection ipv6-config

Manage ExpressRoute circuit connection configs.

Core GA
az network express-route peering connection ipv6-config remove

Remove connection config to ExpressRoute circuit connection.

Core GA
az network express-route peering connection ipv6-config set

Set connection config to ExpressRoute circuit connection.

Core GA
az network express-route peering connection ipv6-config wait

Place the CLI in a waiting state until a condition is met.

Core GA
az network express-route peering connection list

List all global reach connections associated with a private peering in an express route circuit.

Core GA
az network express-route peering connection show

Get the specified Express Route Circuit Connection from the specified express route circuit.

Core GA
az network express-route peering connection wait

Place the CLI in a waiting state until a condition is met.

Core GA

az network express-route peering connection create

Create connections between two ExpressRoute circuits.

az network express-route peering connection create --circuit-name
                                                   --name
                                                   --peering-name
                                                   --resource-group
                                                   [--address-prefix]
                                                   [--authorization-key]
                                                   [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                   [--peer-circuit]
                                                   [--source-circuit]

Examples

Create connection between two ExpressRoute circuits with AzurePrivatePeering settings.

az network express-route peering connection create -g MyResourceGroup --circuit-name MyCircuit --peering-name AzurePrivatePeering -n myConnection --peer-circuit MyOtherCircuit --address-prefix 104.0.0.0/29

Required Parameters

--circuit-name

ExpressRoute circuit name.

--name -n

Name of the peering connection.

--peering-name

Name of BGP peering (i.e. AzurePrivatePeering).

--resource-group -g

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

Optional Parameters

--address-prefix

/29 IP address space to carve out customer addresses for tunnels.

--authorization-key

The authorization key used when the peer circuit is in another subscription.

--no-wait

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

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--peer-circuit

Name or ID of the peer ExpressRoute circuit.

--source-circuit

Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az network express-route peering connection delete

Delete the specified Express Route Circuit Connection from the specified express route circuit.

az network express-route peering connection delete [--circuit-name]
                                                   [--ids]
                                                   [--name]
                                                   [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                   [--peering-name]
                                                   [--resource-group]
                                                   [--subscription]

Examples

Delete an ExpressRoute circuit connection. (autogenerated)

az network express-route peering connection delete --circuit-name MyCircuit --name MyPeeringConnection --peering-name MyPeering --resource-group MyResourceGroup

Optional Parameters

--circuit-name

ExpressRoute circuit name.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Name of the peering connection.

--no-wait

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

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--peering-name

Name of BGP peering (i.e. AzurePrivatePeering).

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az network express-route peering connection list

List all global reach connections associated with a private peering in an express route circuit.

az network express-route peering connection list --circuit-name
                                                 --peering-name
                                                 --resource-group

Examples

List ExpressRouteCircuit Connection

az network express-route peering connection list --circuit-name MyCircuit --peering-name MyPeering --resource-group MyResourceGroup

Required Parameters

--circuit-name

ExpressRoute circuit name.

--peering-name

Name of BGP peering (i.e. AzurePrivatePeering).

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az network express-route peering connection show

Get the specified Express Route Circuit Connection from the specified express route circuit.

az network express-route peering connection show [--circuit-name]
                                                 [--ids]
                                                 [--name]
                                                 [--peering-name]
                                                 [--resource-group]
                                                 [--subscription]

Examples

Show ExpressRouteCircuit Connection

az network express-route peering connection show --circuit-name MyCircuit --name MyPeeringConnection --peering-name MyPeering --resource-group MyResourceGroup

Optional Parameters

--circuit-name

ExpressRoute circuit name.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Name of the peering connection.

--peering-name

Name of BGP peering (i.e. AzurePrivatePeering).

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az network express-route peering connection wait

Place the CLI in a waiting state until a condition is met.

az network express-route peering connection wait [--circuit-name]
                                                 [--created]
                                                 [--custom]
                                                 [--deleted]
                                                 [--exists]
                                                 [--ids]
                                                 [--interval]
                                                 [--name]
                                                 [--peering-name]
                                                 [--resource-group]
                                                 [--subscription]
                                                 [--timeout]
                                                 [--updated]

Optional Parameters

--circuit-name

ExpressRoute circuit name.

--created

Wait until created with 'provisioningState' at 'Succeeded'.

Default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

Default value: False
--exists

Wait until the resource exists.

Default value: False
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--interval

Polling interval in seconds.

Default value: 30
--name -n

Name of the peering connection.

--peering-name

Name of BGP peering (i.e. AzurePrivatePeering).

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--timeout

Maximum wait in seconds.

Default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.