CmdID / az / az network / az network express-route / az network express-route peering
az network express-route peering create
Create peering settings for an ExpressRoute circuit. Azure CLI reference
14 options Its page in the Azure CLI reference
Options
--advertised-public-prefixesSpace-separated list of prefixes to be advertised through the BGP peering.--circuit-nameExpressRoute circuit name.--customer-asnAutonomous system number of the customer.--ipv6-peering-configThe IPv6 peering configuration.--legacy-modeInteger representing the legacy mode of the peering.--peer-asnAutonomous system number of the customer/connectivity provider.--peering-name, --name, -nThe name of the peering.--peering-typeBGP peering type for the circuit.--primary-peer-subnet/30(ipv4) or /126(ipv6) subnet used to configure IP addresses for primary interface.--route-filterName or ID of a route filter to apply to the peering settings.--routing-registry-nameInternet Routing Registry / Regional Internet Registry.--secondary-peer-subnet/30(ipv4) or /126(ipv6) subnet used to configure IP addresses for secondary interface.--shared-keyKey for generating an MD5 for the BGP session.--vlan-idIdentifier used to identify the customer.