Session mirroring commands are hidden by default. You must have
a login with sufficient permission to configure session mirroring.
The set system login class class-name permissions
pgcp-session-mirroring-control command grants this permission.
Step-by-Step Procedure
To configure session mirroring:
Access the configuration of the delivery function
properties under session-mirroring.
Configure the network operator ID. The
BGF includes the network operator ID in the header of intercepted
packets that it sends to the delivery function. It is used to identify
the operator.
To protect mirrored traffic that is sent from the BGF to the
delivery function, you can use IPSec. To have IPSec and the BGF on
the same PIC, you create BGF and IPSec service sets and chain these
service-sets using routing-options.
To create the service sets and routing options:
Configure a service set for the BGF. The NAT routes
installed as part of BGF service direct PGCP traffic to sp-1/0/0.10
and sp-1/0/0.20.
Install a static route to the delivery
function (1.0.0.3) with the next-hop address of the PIC. This route
redirects mirrored packets to a unit of the same service PIC that
is hosting the IPSec service.