NSX UI > Policy View > Networking > Segments > Segment name > Port Interfaces:NSX UI > Manager View > Networking > Logical Switches > Switches > Logical Ports:The discrepancy in logical port counts is expected NSX behavior: the Manager View includes Logical Router ports while the Policy View omits them from segment port listings.
The following Logical Router port won't be visible in Segment/Policy View, as it only displays VIF ports.:
{ "_create_time": #######, "_create_user": "nsx_policy", "_last_modified_time": ######, "_last_modified_user": "system", "_protection": "PROTECTED", "_revision": 1, "_system_owned": false, "address_bindings": [], "admin_state": "UP", "attachment": { "attachment_type": "LOGICALROUTER", "id": "########-####-####-####-############" }, "description": "Logical port on segment logical switch <Logical Switch Name> to connect to logical router /infra/realized-state/enforcement-points/default/tier-1-logical-routers/<Logical Switch Name>", "display_name": "<Logical Switch Name>", "id": "########-####-####-####-############", "ignore_address_bindings": [], "internal_id": "########-####-####-####-############", "logical_switch_id": "########-####-####-####-############", "resource_type": "LogicalPort", }
This is a condition that may occur in a VMware NSX environment, and this is an expected scenario.