primary gateway (CloudEOS and vEOS - Azure)

The primary-gateway command in the cloud-ha submode assigns the primary gateway parameters for the Azure high availability peered cloud. The no primary-gateway command removes the configuration from the CloudEOS and vEOS running-config.

Note: Supported on Azure platform only.

Command Mode

Cloud HA Azure Configuration Submode

Command Syntax

primary-gateway[Azure Rt_Info]resource-group[Name]

no primary-gateway[Azure Rt_Info]

Parameters

  • Azure Rt_Info
    • azure-rt-name The azure route name.
    • dest-ip-address/mask The destination IP address.
    • local-ip-address The local IP address.
  • resource-group
    • Name Azure resource group name.

Example:

The following example configures the parameters for the Azure high availability peered cloud.

switch(config)#cloud high-availability 
switch(config-cloud-ha)#peer veos2
switch(config-cloud-ha-peer-veos2)#azure
switch(config-cloud-ha-peer-veos2-azure)#primary-gateway Rt1 10.10.1.1/10 1.1.1.1 resource-group test 

Example:

The following example removes the primary-gateway parameters for the Azure high availability peered cloud.

switch(config-cloud-ha-peer-veos2-azure)#no primary-gateway Rt1 10.10.1.1/10 
switch(config-cloud-ha-peer-veos2-azure)#