az peering registered-asn

Peering registered-asn.

Commands

az peering registered-asn create

Creates a new registered ASN with the specified name under the given subscription, resource group and peering.

az peering registered-asn delete

Deletes an existing registered ASN with the specified name under the given subscription, resource group and peering.

az peering registered-asn list

Lists all registered ASNs under the given subscription, resource group and peering.

az peering registered-asn show

Gets an existing registered ASN with the specified name under the given subscription, resource group and peering.

az peering registered-asn update

Creates a new registered ASN with the specified name under the given subscription, resource group and peering.

az peering registered-asn create

Creates a new registered ASN with the specified name under the given subscription, resource group and peering.

az peering registered-asn create --peering-name
                                 --registered-asn-name
                                 --resource-group
                                 [--asn]

Examples

Create or update a registered ASN for the peering

az peering registered-asn create --peering-name "peeringName" --asn 65000 --registered-asn-name "registeredAsnName" --resource-group "rgName"

Required Parameters

--peering-name

The name of the peering.

--registered-asn-name

The name of the ASN.

--resource-group -g

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

Optional Parameters

--asn

The customer's ASN from which traffic originates.

az peering registered-asn delete

Deletes an existing registered ASN with the specified name under the given subscription, resource group and peering.

az peering registered-asn delete --peering-name
                                 --registered-asn-name
                                 --resource-group

Examples

Deletes a registered ASN associated with the peering

az peering registered-asn delete --peering-name "peeringName" --registered-asn-name "registeredAsnName" --resource-group "rgName"

Required Parameters

--peering-name

The name of the peering.

--registered-asn-name

The name of the registered ASN.

--resource-group -g

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

az peering registered-asn list

Lists all registered ASNs under the given subscription, resource group and peering.

az peering registered-asn list --peering-name
                               --resource-group

Examples

List all the registered ASNs associated with the peering

az peering registered-asn list --peering-name "peeringName" --resource-group "rgName"

Required Parameters

--peering-name

The name of the peering.

--resource-group -g

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

az peering registered-asn show

Gets an existing registered ASN with the specified name under the given subscription, resource group and peering.

az peering registered-asn show --peering-name
                               --registered-asn-name
                               --resource-group

Examples

Get a registered ASN associated with the peering

az peering registered-asn show --peering-name "peeringName" --registered-asn-name "registeredAsnName0" --resource-group "rgName"

Required Parameters

--peering-name

The name of the peering.

--registered-asn-name

The name of the registered ASN.

--resource-group -g

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

az peering registered-asn update

Creates a new registered ASN with the specified name under the given subscription, resource group and peering.

az peering registered-asn update --peering-name
                                 --registered-asn-name
                                 --resource-group
                                 [--asn]

Examples

Create or update a registered ASN for the peering

az peering registered-asn update --peering-name "peeringName" --asn 65000 --registered-asn-name "registeredAsnName" --resource-group "rgName"

Required Parameters

--peering-name

The name of the peering.

--registered-asn-name

The name of the ASN.

--resource-group -g

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

Optional Parameters

--asn

The customer's ASN from which traffic originates.