CmdID

CmdID / az / az network / az network express-route / az network express-route port / az network express-route port link

az network express-route port link update

Manage MACsec configuration of an ExpressRoute Link. Azure CLI reference

2 examples 8 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Enable MACsec on ExpressRoute Direct Ports once at a time.

az network express-route port link update --resource-group MyResourceGroup --port-name MyExpressRoutePort --name link1 --macsec-ckn-secret-identifier MacSecCKNSecretID --macsec-cak-secret-identifier MacSecCAKSecretID --macsec-cipher GcmAes128Identify
--resource-groupName of resource group.
--port-nameExpressRoute port name.
--nameThe link name of the ExpressRoute Port.
--macsec-ckn-secret-identifierThe connectivity key name (CKN) that stored in the KeyVault.
--macsec-cak-secret-identifierThe connectivity association key (CAK) ID that stored in the KeyVault.
--macsec-cipherCipher Method.

Enable administrative state of an ExpressRoute Link.

az network express-route port link update --resource-group MyResourceGroup --port-name MyExpressRoutePort --name link2 --admin-state EnabledIdentify
--resource-groupName of resource group.
--port-nameExpressRoute port name.
--nameThe link name of the ExpressRoute Port.
--admin-stateEnable/Disable administrative state of an ExpressRoute Link.

Options

8 in the Azure CLI reference
--admin-stateEnable/Disable administrative state of an ExpressRoute Link.
--idsResource ID.
--macsec-cak-secret-identifierThe connectivity association key (CAK) ID that stored in the KeyVault.
--macsec-cipherCipher Method.
--macsec-ckn-secret-identifierThe connectivity key name (CKN) that stored in the KeyVault.
--macsec-sci-stateSci mode.
--name, -nThe link name of the ExpressRoute Port.
--port-nameExpressRoute port name.