$ grep <Remote_Machine_MAC> Remote_Active_Edge/var/log/syslog
[Timestamp#1] [Remote_Active_Edge] NSX 5050 FABRIC [nsx@6876 comp="nsx-edge" subcomp="datapathd" s2comp="mac-sync" tname="dp-learning3" level="INFO"] mac sync entry (MAC:<Remote_Machine_MAC>, vni:0(0x0), bridge-port UUID:<bridge-port UUID#1>, vlan_id:<vlan_id#1>, type 0) created
[Timestamp#1] [Remote_Active_Edge] NSX 5050 SWITCHING [nsx@6876 comp="nsx-edge" subcomp="datapathd" s2comp="lswitch" tname="dp-learning3" level="INFO"] Update the dynamic FDB entry for <0, <vlan_id#1>, <Remote_Machine_MAC>> by a RARP from ifuid 0 to <ifuid#1>
[Timestamp#2] [Remote_Active_Edge] NSX 5050 FABRIC [nsx@6876 comp="nsx-edge" subcomp="datapathd" s2comp="mac-sync" tname="dp-learning3" level="INFO"] mac sync entry (MAC:<Remote_Machine_MAC>, vni:0(0x0), bridge-port UUID:<bridge-port UUID#1>, vlan_id:<vlan_id#1>) deleted$ less Remote_Active_Edge/edge/nsx-agent-state
...
"lswitch/show": [
...
{
"name": "<name#1>",
"op_state_up": true,
"ports": [
{
"op_state_up": true,
"ifuid": <ifuid#1>,
"admin_up": true,
"lswitch": "<lswitch#1>",
"uuid": "<uuid#1>",
"peer": "<bridge-port UUID#1>",
"op_state": 1,
"op_state_mask": 1
}
],
"admin_up": true,
"device-admin-state": "Up",
"vlan": <vlan_id#1>,
"uuid": "<uuid#1>",
"transport_zone_id": "<transport_zone_id#1>",
"flags": 0,
"is_punt_port_switch": false,
"ha_op_up": false,
"device-state": "Up",
"device": "fp-eth0"
},
...
## Local Site
$ grep <Remote_Machine_MAC> <Local_Active_Edge>/var/log/syslog
[Timestamp#2] <Local_Active_Edge> NSX 2813246 FABRIC [nsx@6876 comp="nsx-edge" subcomp="datapathd" s2comp="mac-sync" tname="dp-learning4" level="INFO"] mac sync entry (MAC:<Remote_Machine_MAC>, vni:0(0x0), bridge-port UUID:<bridge-port UUID#2>, vlan_id:<vlan_id#2>, type 0) created$ less Local_Active_Edge/edge/nsx-agent-state
...
"lswitch/show": [
...
{
"name": "<name#2>",
"op_state_up": true,
"ports": [
{
"op_state_up": true,
"ifuid": <ifuid#2>,
"admin_up": true,
"lswitch": "<lswitch#2>",
"uuid": "<uuid#2>",
"peer": "<bridge-port UUID#2>",
"op_state": 1,
"op_state_mask": 1
}
],
"admin_up": true,
"device-admin-state": "Up",
"vlan": <vlan_id#2>,
"uuid": "<uuid#2>",
"transport_zone_id": "<transport_zone_id#2>",
"flags": 0,
"is_punt_port_switch": false,
"ha_op_up": false,
"device-state": "Up",
"device": "fp-eth0"
},
...VMware NSX
root@<Local_Edge>:~# edge-appctl -t /var/run/vmware/edge/dpd.ctl mac-sync/show-table | python3 -m json.tool
...
{
"mac": "<Remote_Machine_MAC>",
"vni": 0,
"type": "Local",
"vlan_id": <vlan_id#2>,
"bridge-port-uuid": "<bridge-port UUID#2>"
},
...