HCX - Usage of "show netext networks" CCLI output
search cancel

HCX - Usage of "show netext networks" CCLI output

book

Article ID: 321621

calendar_today

Updated On: 08-08-2023

Products

VMware HCX VMware Cloud on AWS

Issue/Introduction

When HCX-NE is configured in HA mode, the extended networks using HA-group will not be visible under ACTIVE NE appliance in the "show netext networks" output executed via CCLI.

Case 1:
NE-I1 >> ACTIVE
NE-I2 >> STANDBY
[admin@sa-hcx-NE-I1] show netext networks
Total Number of Extended Networks: 
Segment-1 >>>>> extended to >>>>> L2E_XYZ
Segment-2 >>>>> extended to >>>>> L2E_ABC
 
[admin@hcx-NE-I2] show netext networks
Total Number of Extended Networks: 0
In another case, some of the extended network records in the HA-group may be visible under ACTIVE NE appliance and remaining under STANDBY NE appliance in the "show netext networks" output executed via CCLI.

Case 2:
NE-I1 >> ACTIVE
NE-I2 >> STANDBY
[admin@sa-hcx-NE-I1] show netext networks
Total Number of Extended Networks: 
Segment-1 >>>>> extended to >>>>> L2E_XYZ
 
[admin@hcx-NE-I2] show netext networks
Total Number of Extended Networks: 
Segment-2 >>>>> extended to >>>>> L2E_ABC


Resolution

The CLI "show netext networks" output is basically fetched from HCX database which maintains record for stretched networks per NE appliance for a given HA pair.

Let us consider:
NE-I1 >> ACTIVE
NE-I2 >> STANDBY


HCX maintain stretch record S1 for "Segment-1" against ACTIVE NE appliance NE-I2.
However, when another network "Segment-2" got extended post HA Fail-Over when NE-I1 was ACTIVE, the DB will maintain stretch S2 record against ACTIVE NE appliance NE-I1, although both belongs to the same group from management plane perspective.
Note: When user performs Network Extension for a given VLAN/VxLAN segment, the stretch network record gets associated to ACTIVE NE appliance from HA-group at the time of stretched workflow.