az network express-route peering connection

Manage ExpressRoute circuit connections.

Commands

az network express-route peering connection create

Create connections between two ExpressRoute circuits.

az network express-route peering connection delete

Delete an ExpressRoute circuit connection.

az network express-route peering connection show

Get the details of an ExpressRoute circuit connection.

az network express-route peering connection create

Create connections between two ExpressRoute circuits.

az network express-route peering connection create --address-prefix
                                                   --circuit-name
                                                   --name
                                                   --peer-circuit
                                                   --peering-name
                                                   --resource-group
                                                   [--authorization-key]
                                                   [--subscription]

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

--address-prefix

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

--circuit-name

ExpressRoute circuit name.

--name -n

Name of the peering connection.

--peer-circuit

Name or ID of the peer ExpressRoute circuit.

--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

--authorization-key

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

--subscription

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

az network express-route peering connection delete

Delete an ExpressRoute circuit connection.

az network express-route peering connection delete [--circuit-name]
                                                   [--ids]
                                                   [--name]
                                                   [--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.

--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.

az network express-route peering connection show

Get the details of an ExpressRoute circuit connection.

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

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).

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--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.