az network vhub route
Note
This reference is part of the virtual-wan extension for the Azure CLI (version 2.0.67 or higher). The extension will automatically install the first time you run an az network vhub route command. Learn more about extensions.
Manage entries in the virtual hub route table.
Commands
| az network vhub route add |
Add a route to the virtual hub route table. |
| az network vhub route list |
List routes in the virtual hub route table. |
| az network vhub route remove |
Remove a route from the virtual hub route table. |
| az network vhub route reset |
Reset virtual hub route when the route state is failed. |
az network vhub route add
Add a route to the virtual hub route table.
az network vhub route add --address-prefixes
--next-hop
--resource-group
--vhub-name
[--no-wait]
Required Parameters
Space-separated list of CIDR prefixes.
IP address of the next hop.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Name of the virtual hub.
Optional Parameters
Do not wait for the long-running operation to finish.
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 vhub route list
List routes in the virtual hub route table.
az network vhub route list --resource-group
--vhub-name
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Name of the virtual hub.
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 vhub route remove
Remove a route from the virtual hub route table.
az network vhub route remove --index
--resource-group
--vhub-name
[--no-wait]
Required Parameters
List index of the item (starting with 1).
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Name of the virtual hub.
Optional Parameters
Do not wait for the long-running operation to finish.
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 vhub route reset
Reset virtual hub route when the route state is failed.
az network vhub route reset --resource-group
--vhub-name
[--no-wait]
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Name of the virtual hub.
Optional Parameters
Do not wait for the long-running operation to finish.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ