Juniper: Commit operation fails when inheriting port-mirroring instance parameters from another instance

This article explains why a commit operation fails when inheriting port-mirroring instance parameters from another instance, and reveals how to fix this problem.

A commit operation fails when inheriting port-mirroring instance parameters from another instance if the inherited instance is defined later in the configuration.

For example:

  • If instance-c inherits parameters from instance-d, and
  • If instance-d is defined after instance-c,
  • The commit fails, as shown in the example below.

Forward referencing of port-mirroring instances is not supported in the Junos OS.

You must configure a port-mirroring instance from which parameters are inherited before the instance inheriting the parameters.

To fix the issue in the example in the Problem section above, insert instance-d before instance-c, as shown below. The commit operation will then succeed.

 

About the author

Prasanna

Leave a Comment