Share via


az peering received-route

Note

This reference is part of the peering extension for the Azure CLI (version 2.3.1 or higher). The extension will automatically install the first time you run an az peering received-route command. Learn more about extensions.

Peering received-route.

Commands

Name Description Type Status
az peering received-route list

Lists the prefixes received over the specified peering under the given subscription and resource group.

Extension GA

az peering received-route list

Lists the prefixes received over the specified peering under the given subscription and resource group.

az peering received-route list --peering-name
                               --resource-group
                               [--as-path]
                               [--origin-as-validation-state]
                               [--prefix]
                               [--rpki-validation-state]
                               [--skip-token]

Examples

Lists the prefixes received over the specified peering under the given subscription and resource group.

az peering received-route list --as-path "123 456" --origin-as-validation-state "Valid" --peering-name "peeringName" --prefix "1.1.1.0/24" --resource-group "rgName" --rpki-validation-state "Valid"

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

Optional Parameters

--as-path

The optional AS path that can be used to filter the routes.

--origin-as-validation-state

The optional origin AS validation state that can be used to filter the routes.

--prefix

The optional prefix that can be used to filter the routes.

--rpki-validation-state

The optional RPKI validation state that can be used to filter the routes.

--skip-token

The optional page continuation token that is used in the event of paginated result.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

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

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

--subscription

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

--verbose

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