Disabling Layer 2 Port Mirroring Instances
You can disable the global instance of Layer 2 port mirroring, a particular named instance, or all instances of port mirroring:
To disable the global instance of Layer 2 port mirroring, include the disable statement at the [edit forwarding-options port-mirroring] hierarchy level:
[edit]forwarding-options {port-mirroring {disable; Disables the global instance of Layer 2 port mirroring....global-instance-of-layer-2-port-mirroring-configuration...}}To disable the definition of a particular named instance of Layer 2 port mirroring, include the disable statement at the [edit forwarding-options port-mirroring instance instance-name] hierarchy level:
[edit]forwarding-options {port-mirroring {...optional-configuration-of-the-global-instance-of-layer-2-port-mirroring...instance {port-mirroring-instance-name {disable; Disables this named instance of Layer 2 port mirroring....definition-of-a-named-instance-of-layer-2-port-mirroring...}}}}To disable the global instance and all named instances of Layer 2 port mirroring, include the disable-all-instances statement at the [edit forwarding-options port-mirroring] hierarchy level:
[edit]forwarding-options {port-mirroring {disable-all-instances; Disables all instances of Layer 2 port mirroring....optional-configuration-of-the-global-instance-of-layer-2-port-mirroring...instance {port-mirroring-instance-name {...definition-of-a-named-instance-of-layer-2-port-mirroring...}}}}