Forrest logo
back to the az tool

az-network:tldr:4c435

az-network: Enable accelerated networking for a network interface card.
$ az network nic update --accelerated-networking true --name ${nic} --resource-group ${resource_group}
try on your machine

This command is used to update the configuration of a network interface card (NIC) in Azure using the Azure CLI (Command-Line Interface).

Here is the breakdown of the command and its parameters:

  • az network nic update: This is the base command for updating a network interface card in Azure.

  • --accelerated-networking true: This parameter is used to enable accelerated networking for the network interface card, which allows the NIC to offload network processing to the hardware, improving network performance. The value "true" indicates that accelerated networking should be enabled.

  • --name ${nic}: This parameter specifies the name of the network interface card that needs to be updated. The ${nic} is a placeholder variable that needs to be replaced with the actual name of the NIC.

  • --resource-group ${resource_group}: This parameter specifies the name of the resource group where the network interface card is located. The ${resource_group} placeholder variable needs to be replaced with the actual name of the resource group.

By running this command with the appropriate values, you can update the configuration of a network interface card in Azure to enable accelerated networking.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the az tool