diff --git a/orchagent/mirrororch.cpp b/orchagent/mirrororch.cpp index aaa65b795f9f..488b8d4efd73 100644 --- a/orchagent/mirrororch.cpp +++ b/orchagent/mirrororch.cpp @@ -424,7 +424,9 @@ bool MirrorOrch::updateSession(const string& name, MirrorEntry& session) if (session.status) { if (old_session.neighborInfo.port.m_type != - session.neighborInfo.port.m_type) + session.neighborInfo.port.m_type && + (old_session.neighborInfo.port.m_type == Port::VLAN || + session.neighborInfo.port.m_type == Port::VLAN)) { ret &= updateSessionType(name, session); }