This chapter provides information to configure mirroring.
When troubleshooting complex operational problems, customer packets can be examined as they traverse the network. Nokia’s service mirroring provides the capability to mirror customer packets to allow for trouble shooting and offline analysis.
This capability also extends beyond troubleshooting services. Telephone companies have the ability to obtain itemized calling records and wire-taps where legally required by investigating authorities. The process can be very complex and costly to carry out on data networks. Service Mirroring greatly simplifies these tasks, as well as reduces costs through centralization of analysis tools and skilled technicians.
Original packets are forwarded while a copy is sent out the mirrored port to the mirroring (destination) port. Service mirroring allows an operator to see the actual traffic on a customer’s service with a sniffer sitting in a central location. In many cases, this reduces the need for a separate, costly overlay sniffer network.
7210 SAS devices configured in access-uplink mode support only local mirroring.
When using local mirroring user has an option to use NULL SAP or a dot1q SAP or a Q1.* SAP as mirror destination. Use of Dot1q SAP or a Q1.* SAP as the mirror destination allows the mirrored traffic to share the same uplink as the service traffic (when the uplinks are L2 based).
On some 7210 SAS platforms, when using Dot1q SAP or a Q1.* SAP or MPLS SDP as the mirror destination user needs to dedicate the resources of a port for use with mirror application (see below for more details).
The following figure shows an example of service mirroring.
Mirroring can be configured on ingress or egress of certain service entities (For example, SAPs, ports, filter entries) and they are referred to as mirror sources. For more information, see the Mirror source and destinations.
Nokia’s implementation of packet mirroring is based on the following assumptions:
Mirror sources and destinations have the following characteristics for 7210 SAS devices operating in network mode:
Listed below are the mirror source and destination characteristics for 7210 SAS devices configured in access-uplink mode:
The following table lists the combinations of SAPs, spoke SDPs, and remote sources allowed in a mirror service using different mirror-source-type on 7210 SAS devices configured in network mode.
Mirror-source-type | Mirror sources allowed | Mirror destination allowed |
Local | Port Ingress Port Egress SAP ingress ACL ingress | NULL SAP Dot1q SAP QinQ SAP Spoke-SDP |
Remote | remote-source | NULL SAP Dot1q SAP QinQ SAP |
Both | Port Ingress Port Egress SAP ingress ACL ingress remote-source | NULL SAP Dot1q SAP QinQ SAP |
Note:
|
The 7210 SAS devices allows multiple concurrent mirroring sessions so traffic from more than one ingress mirror source can be mirrored to the same or different mirror destinations. For more information, see the Configuration notes.
Remote mirroring uses a service distribution path (SDP) which acts as a logical way of directing traffic from one router to another through a uni-directional (one-way) service tunnel. The SDP terminates at the far-end router which directs packets to the correct destination on that device.
The SDP configuration from the mirrored device to a far-end router requires a return path SDP from the far-end router back to the mirrored router. Each device must have an SDP defined for every remote router to which it provides mirroring services. SDPs must be created first, before services can be configured.
Replication of mirrored packets can, typically, affect performance and should be used carefully.
The following tables list the mirroring that can be performed based on the following criteria (that is, mirror sources).
Mirroring | 7210 SAS-T |
Port (ingress and egress) | ✓ |
SAP (ingress only) | ✓ |
MAC filter (ingress only) | ✓ |
IP filter (ingress only) | ✓ |
Platforms | Port (ingress and egress) | SAP (ingress only) | MAC filter (ingress only) | IP filter (ingress only) |
7210 SAS-T | ✓ | ✓ | ✓ | ✓ |
7210 SAS-Mxp | ✓ | ✓ | ✓ | ✓ |
7210 SAS-Sx/S 1/10GE | ✓ | ✓ | ✓ | ✓ |
7210 SAS-Sx 10/100GE | ✓ | ✓ | ✓ | ✓ |
7210 SAS-R6 | ✓ | ✓ | ✓ | ✓ |
Configuring mirroring is similar to creating a uni-direction service. Mirroring requires the configuration of:
The following figure shows a local mirror service configured on ALA-A:
The following figure shows a remote mirror service configured as ALA B as the mirror source and ALA A as the mirror destination. Mirrored traffic ingressing and egressing port 5/2/1 (the source) on ALA B is handled the following ways:
The following figure shows the process to provision basic mirroring parameters.
This section describes mirroring configuration caveats, as follows: