Unable to add/remove/edit port mirroring sessions in vSphere 8.0
search cancel

Unable to add/remove/edit port mirroring sessions in vSphere 8.0

book

Article ID: 375565

calendar_today

Updated On:

Products

VMware vSphere ESXi 8.0 VMware vCenter Server 8.0

Issue/Introduction

  • After upgrading vSphere to 8.0, adding, removing, or editing port mirroring sessions fails with the following error, “A specified parameter was not correct: port[###] cannot be add/edit here, for it was used by same or other sessions”. (The port number can vary, depending on the environment)
  • The /var/log/vmware/vpxd/vpxd.log file on vCenter reports the error below related to the port mirroring session when trying to edit it:
    YYYY-MM-DDThh:mm:ss.890Z error vpxd[11075] [Originator@6876 sub=Default opID=########] [VpxLRO] -- ERROR task-######## -- ################(########################) -- dvs-
    ######## -- vim.DistributedVirtualSwitch.reconfigure: :vmodl.fault.InvalidArgument
    --> Result:
    --> (vmodl.fault.InvalidArgument) {
    -->    faultCause = (vmodl.MethodFault) null,
    -->    faultMessage = <unset>,
    -->    invalidProperty = port[###] can not be add/edit here, for it was used by same or other sessions"
    -->    msg = ""
    --> }
  • When tried to remove the above specific session, which is the port mirror it fails with error: "A specified parameter was not correct: port[####] can not be add/edit here, for it was used by same or other sessions"

Environment

VMware vSphere 8.0

Cause

Resolution

Contact Broadcom Support for assistance.

Contact Broadcom support : https://knowledge.broadcom.com/external/article/206567/ 

Additional Information

Note:

If VCHA is in use, it needs to be placed in maintenance mode or destroyed before performing the aforementioned steps.

See Edit the vCenter HA Cluster Configuration and Remove a vCenter HA Configuration for further information.