CmdID / az / az peering / az peering asn
az peering asn create
Creates a new peer ASN or updates an existing peer ASN with the specified name under the given subscription. Azure CLI extensions reference
1 example 5 options Its page in the Azure CLI extensions reference
Examples
Create a peer ASN
az peering asn create --peer-asn 65000 --peer-contact-detail email="noc@contoso.com" phone="+1 (234) 567-8999" role="Noc" --peer-contact-detail email="abc@contoso.com" phone="+1 (234) 567-8900" role="Policy" --peer-contact-detail email="xyz@contoso.com" phone="+1 (234) 567-8900" role="Technical" --peer-name "Contoso" --peer-asn-name "peerAsnName"Identify--peer-asnThe Autonomous System Number (ASN) of the peer.--peer-contact-detailThe contact details of the peer.--peer-nameThe name of the peer.--peer-asn-nameThe peer ASN name.Options
--peer-asn-nameThe peer ASN name.--peer-asnThe Autonomous System Number (ASN) of the peer.--peer-contact-detailThe contact details of the peer.--peer-nameThe name of the peer.--validation-stateThe validation state of the ASN associated with the peer.