az network routeserver peering

Manage the route server peering.

Commands

az network routeserver peering create

Create a route server peering.

az network routeserver peering delete

Delete a route server peering.

az network routeserver peering list

List all route server peerings under a resource group.

az network routeserver peering list-advertised-routes

List all routes the route server bgp connection is advertising to the specified peer.

az network routeserver peering list-learned-routes

List all routes the route server bgp connection has learned.

az network routeserver peering show

Show a route server peering.

az network routeserver peering update

Update a route server peering.

az network routeserver peering wait

Place the CLI in a waiting state until a condition of the route server peering is met.

az network routeserver peering create

Create a route server peering.

az network routeserver peering create --name
                                      --peer-asn
                                      --peer-ip
                                      --resource-group
                                      --routeserver
                                      [--no-wait]

Required Parameters

--name -n

The name of the Route Server Peering.

--peer-asn

Peer ASN. Its range is from 1 to 4294967295.

--peer-ip

Peer IP address.

--resource-group -g

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

--routeserver

The name of the Route Server.

Optional Parameters

--no-wait

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

az network routeserver peering delete

Delete a route server peering.

az network routeserver peering delete [--ids]
                                      [--name]
                                      [--no-wait]
                                      [--resource-group]
                                      [--routeserver]
                                      [--yes]

Optional Parameters

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

The name of the Route Server Peering.

--no-wait

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

--resource-group -g

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

--routeserver

The name of the Route Server.

--yes -y

Do not prompt for confirmation.

az network routeserver peering list

List all route server peerings under a resource group.

az network routeserver peering list --resource-group
                                    --routeserver

Required Parameters

--resource-group -g

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

--routeserver

The name of the Route Server.

az network routeserver peering list-advertised-routes

List all routes the route server bgp connection is advertising to the specified peer.

az network routeserver peering list-advertised-routes [--ids]
                                                      [--name]
                                                      [--resource-group]
                                                      [--routeserver]

Optional Parameters

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

The name of the Route Server Peering.

--resource-group -g

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

--routeserver

The name of the Route Server.

az network routeserver peering list-learned-routes

List all routes the route server bgp connection has learned.

az network routeserver peering list-learned-routes [--ids]
                                                   [--name]
                                                   [--resource-group]
                                                   [--routeserver]

Optional Parameters

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

The name of the Route Server Peering.

--resource-group -g

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

--routeserver

The name of the Route Server.

az network routeserver peering show

Show a route server peering.

az network routeserver peering show [--ids]
                                    [--name]
                                    [--resource-group]
                                    [--routeserver]

Optional Parameters

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

The name of the Route Server Peering.

--resource-group -g

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

--routeserver

The name of the Route Server.

az network routeserver peering update

Update a route server peering.

az network routeserver peering update [--add]
                                      [--force-string]
                                      [--ids]
                                      [--name]
                                      [--peer-asn]
                                      [--peer-ip]
                                      [--remove]
                                      [--resource-group]
                                      [--routeserver]
                                      [--set]

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.

--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

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

The name of the Route Server Peering.

--peer-asn

Peer ASN. Its range is from 1 to 4294967295.

--peer-ip

Peer IP address.

--remove

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

--resource-group -g

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

--routeserver

The name of the Route Server.

--set

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

az network routeserver peering wait

Place the CLI in a waiting state until a condition of the route server peering is met.

az network routeserver peering wait [--created]
                                    [--custom]
                                    [--deleted]
                                    [--exists]
                                    [--ids]
                                    [--interval]
                                    [--name]
                                    [--resource-group]
                                    [--routeserver]
                                    [--timeout]
                                    [--updated]

Optional Parameters

--created

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

--custom

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

--deleted

Wait until deleted.

--exists

Wait until the resource exists.

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

The name of the Route Server Peering.

--resource-group -g

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

--routeserver

The name of the Route Server.

--timeout

Maximum wait in seconds.

default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.