az network route-filter
Manage route filters.
To learn more about route filters with Microsoft peering with ExpressRoute, visit https://docs.microsoft.com/azure/expressroute/how-to-routefilter-cli.
Commands
| az network route-filter create |
Create a route filter. |
| az network route-filter delete |
Delete a route filter. |
| az network route-filter list |
List route filters. |
| az network route-filter rule |
Manage rules in a route filter. |
| az network route-filter rule create |
Create a rule in a route filter. |
| az network route-filter rule delete |
Delete a rule from a route filter. |
| az network route-filter rule list |
List rules in a route filter. |
| az network route-filter rule list-service-communities |
Gets all the available BGP service communities. |
| az network route-filter rule show |
Get the details of a rule in a route filter. |
| az network route-filter rule update |
Update a rule in a route filter. |
| az network route-filter show |
Get the details of a route filter. |
| az network route-filter update |
Update a route filter. |
az network route-filter create
Create a route filter.
az network route-filter create --name
--resource-group
[--location]
[--tags]
Examples
Create a route filter.
az network route-filter create -g MyResourceGroup -n MyRouteFilter
Create a route filter. (autogenerated)
az network route-filter create --location westus2 --name MyRouteFilter --resource-group MyResourceGroup
Required Parameters
Name of the route filter.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az network route-filter delete
Delete a route filter.
az network route-filter delete --name
--resource-group
Examples
Delete a route filter.
az network route-filter delete -g MyResourceGroup -n MyRouteFilter
Required Parameters
Name of the route filter.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az network route-filter list
List route filters.
az network route-filter list [--resource-group]
Examples
List route filters in a resource group.
az network route-filter list -g MyResourceGroup
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az network route-filter show
Get the details of a route filter.
az network route-filter show --name
--resource-group
[--expand {peerings}]
Examples
Get the details of a route filter.
az network route-filter show -g MyResourceGroup -n MyRouteFilter
Get the details of a route filter. (autogenerated)
az network route-filter show --expand peerings --name MyRouteFilter --resource-group MyResourceGroup
Required Parameters
Name of the route filter.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Expands referenced express route bgp peering resources.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az network route-filter update
Update a route filter.
This command can only be used to update the tags for a route filter. Name and resource group are immutable and cannot be updated.
az network route-filter update --name
--resource-group
[--add]
[--force-string]
[--remove]
[--set]
Examples
Update the tags on a route filter.
az network route-filter update -g MyResourceGroup -n MyRouteFilter --set tags.CostCenter=MyBusinessGroup
Required Parameters
Name of the route filter.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
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>.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ