NSX BGP neighbor configuration edit fails with an error Invalid route map.
search cancel

NSX BGP neighbor configuration edit fails with an error Invalid route map.

book

Article ID: 376764

calendar_today

Updated On:

Products

VMware NSX VMware NSX Networking VMware NSX-T Data Center

Issue/Introduction

NSX BGP neighbor configuration edit fails with an error Invalid route map.

Error: Invalid route map. (Error code: 503056)

Environment

VMware NSX (All versions)

Cause

Ideally, a user is not allowed to delete the route map filter when BgpNeighbor is consuming this object.

However, due to a bug in handling cross-references between BgpNeighbor and RouteMap object, The following operation may lead to an invalid route map issue.

-Configuration of BGP Neighbor and route filter using route map from UI.
-Using a PUT operation to configure the in/out route filter.
     PUT https://GM-IP/global-manager/api/v1/global-infra/tier-0s/tier-0-01/locale-services/nsx-services/bgp/neighbors/7d2###3b-6###-###4-a##e-24######04bf
-Route map deletion from UI.

 
-Upon the route-map deletion operation being successful from UI, attempting to edit of BGP configuration throws the invalid route map error. Because the BgpNeighbor has a stale reference of route-map IN and OUT filters.

Resolution

If you encounter this issue, please contact Broadcom Support

Fix: NSX 4.2.1