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

Experimental Preview Deprecated

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
Experimental Preview Deprecated

ExpressRoute circuit name.

--name -n
Experimental Preview Deprecated

Name of the peering connection.

--peering-name
Experimental Preview Deprecated

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

--resource-group -g
Experimental Preview Deprecated

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

Optional Parameters

--address-prefix
Experimental Preview Deprecated

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

--authorization-key
Experimental Preview Deprecated

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

--no-wait
Experimental Preview Deprecated

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

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

Name or ID of the peer ExpressRoute circuit.

--source-circuit
Experimental Preview Deprecated

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

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

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

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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

az network express-route peering connection delete

Experimental Preview Deprecated

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

Required Parameters

Optional Parameters

--circuit-name
Experimental Preview Deprecated

ExpressRoute circuit name.

--ids
Experimental Preview Deprecated

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
Experimental Preview Deprecated

Name of the peering connection.

--no-wait
Experimental Preview Deprecated

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

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

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

--resource-group -g
Experimental Preview Deprecated

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

--subscription
Experimental Preview Deprecated

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

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

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

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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

az network express-route peering connection list

Experimental Preview Deprecated

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
Experimental Preview Deprecated

ExpressRoute circuit name.

--peering-name
Experimental Preview Deprecated

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

--resource-group -g
Experimental Preview Deprecated

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

Optional Parameters

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

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

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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

az network express-route peering connection show

Experimental Preview Deprecated

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

Required Parameters

Optional Parameters

--circuit-name
Experimental Preview Deprecated

ExpressRoute circuit name.

--ids
Experimental Preview Deprecated

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
Experimental Preview Deprecated

Name of the peering connection.

--peering-name
Experimental Preview Deprecated

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

--resource-group -g
Experimental Preview Deprecated

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

--subscription
Experimental Preview Deprecated

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

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

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

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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

az network express-route peering connection wait

Experimental Preview Deprecated

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]

Examples

Required Parameters

Optional Parameters

--circuit-name
Experimental Preview Deprecated

ExpressRoute circuit name.

--created
Experimental Preview Deprecated

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

Default value: False
--custom
Experimental Preview Deprecated

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

--deleted
Experimental Preview Deprecated

Wait until deleted.

Default value: False
--exists
Experimental Preview Deprecated

Wait until the resource exists.

Default value: False
--ids
Experimental Preview Deprecated

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
Experimental Preview Deprecated

Polling interval in seconds.

Default value: 30
--name -n
Experimental Preview Deprecated

Name of the peering connection.

--peering-name
Experimental Preview Deprecated

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

--resource-group -g
Experimental Preview Deprecated

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

--subscription
Experimental Preview Deprecated

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

--timeout
Experimental Preview Deprecated

Maximum wait in seconds.

Default value: 3600
--updated
Experimental Preview Deprecated

Wait until updated with provisioningState at 'Succeeded'.

Default value: False
Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

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

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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