Basic Deployment

To deploy a port mirroring, follow these steps:
  1. Create an L2 network and attach it to the corresponding cluster.
  2. Create a flow network.
  3. Create a port mirroring.
  4. Add a session.

The following section describes the detailed steps of deploying a port mirroring.

  1. Create an L2 network and attach it to the corresponding cluster.

    On the main menu of ZStack Cloud, choose Resource Center > Network Resource > L2 Network Resources > L2 Network. On the L2 Network page, click Create L2 Network. Then, the Create L2 Network page is displayed.

    On the displayed page, set the following parameters:
    • Zone: By default, the current zone is displayed.
    • Name: Set the name as L2-Flow Network.
    • Description: Optional. Enter a description for the L2 network.
    • Type: Select L2NoVlanNetwork.
    • Cluster: Select the cluster to be attached, for example, Cluster-1.
    • Network Acceleration Mode: You can use different technologies to improve network performance of the L2 network. In this scenario, select Normal.
    • NIC Name: Select or enter an NIC name for the L2 network. For example, em02.
    Figure 1. Create L2 Network


  2. Create a flow network.

    On the main menu of ZStack Cloud, choose Resource Center > Network Resource > Dedicated Network > Flow Network. On the Flow Network page, click Create Flow Network. Then, the Create Flow Network page is displayed.

    On the displayed page, set the following parameters:
    • Name: Enter a name for the flow network.
    • Description: Optional. Enter a description for the flow network.
    • L2 Network: Select the existing L2-Flow Network.
    • Network Range Method: Select IP Range.
    • Start IP: Set a start IP address for the network range, for example, 192.168.29.10.
    • End IP: Set a end IP address for the network range, for example, 192.168.29.20.
    • Netmask: Set a netmask for the network range, for example, 255.255.255.0.
    • Gateway: Set a gateway for the network range, for example, 192.168.29.1.
    Figure 2. Create Flow Network


  3. Create a port mirroring.

    On the main menu of ZStack Cloud, choose Resource Center > Network Service > Advanced Network Service > Port Mirroring. On the Port Mirroring page, click Create Port Mirroring. Then, the Create Port Mirroring page is displayed.

    On the displayed page, set the following parameters:
    • Name: Enter a name for the port mirroring.
    • Description: Optional. Enter a description for the port mirroring.
    • Flow Network: Select a flow network for port mirroring.
      Note:
      • A flow network is a dedicated network for port mirroring. You can use a flow network to transmit the mirrors of data packets of NIC ports to the target ports.
      • You cannot use a flow network for other purposes except for port mirroring.
      • A port mirroring occupies a flow network.
      • The VM instances for which port mirroring is configured must reside in the cluster where the associated flow networks are located.
    • Enable Now: Optional. Choose whether to enable port mirroring immediately after the port mirroring is created. Enabling port mirroring immediately after the creation may occupy physical network bandwidth. Make sure that your business is not affected and then select the checkbox.
    Figure 3. Create Port Mirroring


  4. Add a session.

    A port mirroring session is used to create port mirrors of data traffic that flows in or out of a VM NIC. It mirrors the data traffic of VM NICs and sends the sends it to the target ports. You can add a session in an existing port mirroring.

    On the Session tab of the details page of a port mirroring, click Add Session. Then, the Add Session page is displayed. On the displayed page, set the following parameters:
    • Name: Enter a name for the session.
    • Type: Select the network traffic direction for the port mirroring. Valid values: Ingress, Egress, and Bidirection.
      • Ingress: Mirrors the received messages from the source port to the destination port.
      • Egress: Mirrors the messages sent by the source port to the destination port.
      • Bidirection: Mirrors both the received and sent messages from the source port to the destination port.
    • Source VM: Select a VM instance to be monitored.
    • Source NIC: Select a VM NIC to be monitored. The data packets flow in and out of the VM NIC will be mirrored and sent to the destination port.
    • Destination VM: Select a VM instance to receive the port mirroring. The destination port will send the data packets to monitors.
    • Destination NIC: Select a VM NIC to receive the port mirroring. The destination port will send the data packets to monitors.
      Note:
      • The destination VM NIC cannot be the default NIC.
      • To ensure that the port mirroring works properly, we recommend that you do not set QoS for the destination port and Destination VM NIC.
    Figure 4. Add Session


So far, we have introduced the basic deployment of a port mirroring.

Back to Top

Download

Already filled the basic info?Click here.

Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

An email with a verification code will be sent to you. Make sure the address you provided is valid and correct.

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Download

Not filled the basic info yet? Click here.

Invalid email address or mobile number.
同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io
ZStack Training and Certification
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io
Request Trial
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder.
Or click on the URL below. (For Internet Explorer, right-click the URL and save it.)

Thank you for using ZStack products and services.

Submit successfully.

We'll connect soon.

Thank you for using ZStack products and services.