Help Center> Virtual Private Cloud> User Guide> Traffic Mirroring> Mirror Sessions> Modifying Basic Information About a Mirror Session
Updated on 2024-04-22 GMT+08:00

Modifying Basic Information About a Mirror Session

You can modify basic information about a mirror session, including its name, priority, and description.

Procedure

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  2. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. In the navigation pane on the left, choose Traffic Mirroring > Mirror Sessions.

    The Mirror Sessions page is displayed.

  4. In the mirror session list, locate the row that contains the mirror session and click Modify in the Operation column.

    The Modify Mirror Session dialog box is displayed.

  5. Modify the parameters as prompted.
    Table 1 Parameters for configuring basic information about a mirror session

    Parameter

    Description

    Example Value

    Name

    Mandatory

    Enter the name of the mirror session. The name:
    • Must contain 1 to 64 characters.
    • Can contain letters, digits, underscores (_), hyphens (-), and periods (.).

    mirror-session-01

    Priority

    Mandatory

    Priority of the mirror session.
    • A priority value can be from 1 to 32766. A smaller value indicates a higher priority.
    • Priorities must be unique for each mirror session of the same account in a region.

    A mirror source can be associated with multiple mirror sessions at the same time. The mirror sessions are matched from the lowest value to the highest value.

    For details, see the matching process of mirror sessions.

    1

    VNI

    Optional

    VXLAN Network Identifiers (VNIs) are used to distinguish different mirror sessions for a mirror target. A VNI can be from 0 to 16777215.

    If not specified, the default value is 1.

    1

    Packet Length

    Optional

    The number of bytes that meet the mirror filter and will be mirrored. The value can be from 1 to 1460.

    If not specified, the default value is 96.

    96

    Mirror Session

    Optional

    • If the mirror session is disabled, traffic of mirror sources cannot be monitored.
    • If the mirror session is enabled, traffic of mirror sources can be monitored.

    Enable

    Description

    Optional

    Enter the description of the mirror session in the text box as required.

    -

  6. Click OK to save the modification.