Express Route peering - az network express-route peering

Manage ExpressRoute peering.

Commands

az network express-route peering create Create peering settings.
az network express-route peering delete Delete peering settings.
az network express-route peering list List peering settings.
az network express-route peering show Show peering details.
az network express-route peering update Update peering settings.

az network express-route peering create

Create peering settings.

az network express-route peering create --circuit-name
--peer-asn
--peering-type {AzurePrivatePeering, AzurePublicPeering, MicrosoftPeering}
--primary-peer-subnet
--resource-group
--secondary-peer-subnet
--vlan-id
[--advertised-public-prefixes]
[--customer-asn]
[--route-filter]
[--routing-registry-name {AFRINIC, ALTDB, APNIC, ARIN, LACNIC, LEVEL3, RADB, RIPENCC}]
[--shared-key]

Required Parameters

--circuit-name

ExpressRoute circuit name.

--peer-asn

Autonomous system number of the customer/connectivity provider.

--peering-type

BGP peering type for the circuit.

accepted values: AzurePrivatePeering, AzurePublicPeering, MicrosoftPeering
--primary-peer-subnet

/30 subnet used to configure IP addresses for primary interface.

--resource-group -g

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

--secondary-peer-subnet

/30 subnet used to configure IP addresses for secondary interface.

--vlan-id

Identifier used to identify the customer.

Optional Parameters

--advertised-public-prefixes

List of prefixes to be advertised through the BGP peering. Required to set up Microsoft Peering.

--customer-asn

Autonomous system number of the customer.

--route-filter

Name or ID of a route filter to apply to the peering settings.

--routing-registry-name

Internet Routing Registry / Regional Internet Registry.

accepted values: AFRINIC, ALTDB, APNIC, ARIN, LACNIC, LEVEL3, RADB, RIPENCC
--shared-key

Key for generating an MD5 for the BGP session.

az network express-route peering delete

Delete peering settings.

az network express-route peering delete --circuit-name
--name
--resource-group

Required Parameters

--circuit-name

ExpressRoute circuit name.

--name -n

The name of the peering.

--resource-group -g

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

az network express-route peering list

List peering settings.

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

Required Parameters

--circuit-name

ExpressRoute circuit name.

--resource-group -g

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

az network express-route peering show

Show peering details.

az network express-route peering show --circuit-name
--name
--resource-group

Required Parameters

--circuit-name

ExpressRoute circuit name.

--name -n

The name of the peering.

--resource-group -g

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

az network express-route peering update

Update peering settings.

az network express-route peering update --circuit-name
--name
--resource-group
[--add]
[--advertised-public-prefixes]
[--customer-asn]
[--peer-asn]
[--primary-peer-subnet]
[--remove]
[--routing-registry-name {AFRINIC, ALTDB, APNIC, ARIN, LACNIC, LEVEL3, RADB, RIPENCC}]
[--secondary-peer-subnet]
[--set]
[--shared-key]
[--vlan-id]

Required Parameters

--circuit-name

ExpressRoute circuit name.

--name -n

The name of the peering.

--resource-group -g

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

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty .

--advertised-public-prefixes

List of prefixes to be advertised through the BGP peering. Required to set up Microsoft Peering.

--customer-asn

Autonomous system number of the customer.

--peer-asn

Autonomous system number of the customer/connectivity provider.

--primary-peer-subnet

/30 subnet used to configure IP addresses for primary interface.

--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--routing-registry-name

Internet Routing Registry / Regional Internet Registry.

accepted values: AFRINIC, ALTDB, APNIC, ARIN, LACNIC, LEVEL3, RADB, RIPENCC
--secondary-peer-subnet

/30 subnet used to configure IP addresses for secondary interface.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.

--shared-key

Key for generating an MD5 for the BGP session.

--vlan-id

Identifier used to identify the customer.