You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the destination IP of the everflow mirror is in the remote asic in the chassis, orchagent never activates the mirror. When the nexthop is resolved, it calls the function updatenextHop->updateSession->getNeighborInfo. In getNeighborInfo function, it takes the nexthop and compares the ip address and alias of nexthop with neighbor entry. But for remote nexthops, the alias stored in nexthop table is the name of Inb port, but the alias in the neighbor entry is full system port. So the alias check always fails and hence the getNeighborInfo always returns false and the mirror is not activated.
2)In orchagent mirror code function activateSession , the MONITOR_PORT is set to Rec port if the switch_type is voq. But in the function updateSessionDstPort, the switch_type is not checked and the MONITOR_PORT is set to destport of nexthop.
Steps to reproduce the issue:
configure the ERSPAN mirror with destip pointing to remote asic.
configure the ingress Acl with the ERSPAN mirror as Acl action.
3.Check "show mirror-session" output
Describe the results you received:
mirror session is in inactive state
Describe the results you expected:
Mirror should be activated and the monitor port configured for ERSPAN mirror is always Rec port.
Output of show version:
msft-2205 & master
(paste your output here)
Output of show techsupport:
(paste your output here or download and attach the file here )
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered:
One more issue with mirror code for ERSPAN mirror in voq chassis. When the mirror is created, the SAI_MIRROR_SESSION_ATTR_DST_MAC_ADDRESS is set to gMacAddress.getMac() if it is voq chassis. But In function updateSessionDstMac, this code is missing and the SAI_MIRROR_SESSION_ATTR_DST_MAC_ADDRESS is set to next_hop's mac and hence the mirrored ingressing on recycle port is not routed.
show mirror-session doesn't show correct monitor port when the destination port is in remote asic
When the Acl rule with action as mirror is deleted before mirror is activated by the acl_loader script, then mirror is activated by nexthop update, lot of error messages were seen and orchagent crashes.
Description
2)In orchagent mirror code function activateSession , the MONITOR_PORT is set to Rec port if the switch_type is voq. But in the function updateSessionDstPort, the switch_type is not checked and the MONITOR_PORT is set to destport of nexthop.
Steps to reproduce the issue:
3.Check "show mirror-session" output
Describe the results you received:
mirror session is in inactive state
Describe the results you expected:
Mirror should be activated and the monitor port configured for ERSPAN mirror is always Rec port.
Output of
show version
:msft-2205 & master
Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: