El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
Software Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Virtual Private Cloud/ User Guide/ Traffic Mirroring/ Mirror Filters/ Modifying an Inbound or Outbound Mirror Filter Rule
Updated on 2024-08-07 GMT+08:00

Modifying an Inbound or Outbound Mirror Filter Rule

Scenarios

You can modify inbound and outbound rules of a mirror filter.

  • Inbound rules match the traffic received by a mirror source.
  • Outbound rules match the traffic sent by a mirror source.

Procedure

  1. Go to the mirror filter list page.
  2. Locate the target mirror filter and click the number in the Inbound and Outbound Rules column.

    The Inbound Rules tab page is displayed.

  3. In the inbound rule list, locate the target rule and click Modify in the Operation column.
    Table 1 Inbound rule parameter description

    Parameter

    Description

    Example Value

    Priority

    Priority of a mirror filter rule.
    • A priority value can be from 1 to 65535. A smaller value indicates a higher priority.
    • Priorities of inbound rules must be unique for each mirror filter.

    A mirror filter can contain multiple rules and the rules are matched in ascending order of priority.

    For details, see the matching process of mirror filter rules.

    1

    Protocol

    Select a network protocol.
    • If you select TCP, you can customize the source and destination port ranges.
    • If you select UDP, you can customize the source and destination port ranges.
    • If you set Type to IPv4 and select ICMP, all ports are specified for source and destination port ranges by default.
    • If you set Type to IPv6 and select ICMPv6, all ports are specified for source and destination port ranges by default.
    • If you select All, all network protocols are supported and all ports are specified for source and destination port ranges by default.

    TCP

    Action

    Whether to accept or reject inbound traffic of a mirror source.
    • If you set Action to Accept, the traffic will be mirrored to the mirror target.
    • If you set Action to Reject, the traffic will not be mirrored to the mirror target.

    Accept

    Type

    IP address version of inbound traffic. You can specify:
    • IPv4
    • IPv6

    IPv4

    Source

    Source of inbound traffic. You can enter:
    • A single IP address: IP address/mask

      Example IPv4 address: 192.168.10.10/32

      Example IPv6 address: 2002:50::44/128

    • An IP address range in CIDR notation: IP address/mask

      Example IPv4 address range: 192.168.52.0/24

      Example IPv6 address range: 2407:c080:802:469::/64

    • All IP addresses

      0.0.0.0/0 represents all IPv4 addresses.

      ::/0 represents all IPv6 addresses.

    10.0.0.0/24

    Source Port Range

    Source port range of inbound traffic.
    • Port range: 1 to 65535
    • Use a hyphen (-) to connect the start port and the end port, for example, 22-23. The end port cannot be smaller than the start port.
    • If not specified or 1-65535 is specified, all ports are used.

    22-23

    Destination

    Destination of inbound traffic. You can enter:
    • A single IP address: IP address/mask

      Example IPv4 address: 192.168.10.10/32

      Example IPv6 address: 2002:50::44/128

    • An IP address range in CIDR notation: IP address/mask

      Example IPv4 address range: 192.168.52.0/24

      Example IPv6 address range: 2407:c080:802:469::/64

    • All IP addresses

      0.0.0.0/0 represents all IPv4 addresses.

      ::/0 represents all IPv6 addresses.

    0.0.0.0/0

    Destination Port Range

    Destination port range of inbound traffic.
    • Port range: 1 to 65535
    • Use a hyphen (-) to connect the start port and the end port, for example, 22-23. The end port cannot be smaller than the start port.
    • If not specified or 1-65535 is specified, all ports are used.

    1-65535

    Description

    Enter the description of the mirror filter rule in the text box as required.

    -

  4. Click OK.

    You can view the modified inbound rule in the list.

  5. On the Outbound Rules tab page, locate the row that contains the rule in the outbound rule list and click Modify in the Operation column.
    Table 2 Outbound rule parameter description

    Parameter

    Description

    Example Value

    Priority

    Priority of a mirror filter rule.
    • A priority value can be from 1 to 65535. A smaller value indicates a higher priority.
    • Priorities of inbound rules must be unique for each mirror filter.

    A mirror filter can contain multiple rules and the rules are matched in ascending order of priority.

    For details, see the matching process of mirror filter rules.

    1

    Protocol

    Select a network protocol.
    • If you select TCP, you can customize the source and destination port ranges.
    • If you select UDP, you can customize the source and destination port ranges.
    • If you set Type to IPv4 and select ICMP, all ports are specified for source and destination port ranges by default.
    • If you set Type to IPv6 and select ICMPv6, all ports are specified for source and destination port ranges by default.
    • If you select All, all network protocols are supported and all ports are specified for source and destination port ranges by default.

    All

    Action

    Whether to accept or reject outbound traffic of a mirror source.
    • If you set Action to Accept, the traffic will be mirrored to the mirror target.
    • If you set Action to Reject, the traffic will not be mirrored to the mirror target.

    Reject

    Type

    IP address version of outbound traffic. You can specify:
    • IPv4
    • IPv6

    IPv4

    Source

    Source of outbound traffic. You can enter:
    • A single IP address: IP address/mask

      Example IPv4 address: 192.168.10.10/32

      Example IPv6 address: 2002:50::44/128

    • An IP address range in CIDR notation: IP address/mask

      Example IPv4 address range: 192.168.52.0/24

      Example IPv6 address range: 2407:c080:802:469::/64

    • All IP addresses

      0.0.0.0/0 represents all IPv4 addresses.

      ::/0 represents all IPv6 addresses.

    192.168.0.0/24

    Source Port Range

    Source port range of outbound traffic.

    • Port range: 1 to 65535
    • Use a hyphen (-) to connect the start port and the end port, for example, 22-23. The end port cannot be smaller than the start port.
    • If not specified or 1-65535 is specified, all ports are used.

    All

    Destination

    Destination of outbound traffic. You can enter:
    • A single IP address: IP address/mask

      Example IPv4 address: 192.168.10.10/32

      Example IPv6 address: 2002:50::44/128

    • An IP address range in CIDR notation: IP address/mask

      Example IPv4 address range: 192.168.52.0/24

      Example IPv6 address range: 2407:c080:802:469::/64

    • All IP addresses

      0.0.0.0/0 represents all IPv4 addresses.

      ::/0 represents all IPv6 addresses.

    10.2.0.0/24

    Destination Port Range

    Destination port range of outbound traffic.
    • Port range: 1 to 65535
    • Use a hyphen (-) to connect the start port and the end port, for example, 22-23. The end port cannot be smaller than the start port.
    • If not specified or 1-65535 is specified, all ports are used.

    All

    Description

    Enter the description of the mirror filter rule in the text box as required.

    -

  6. Click OK.

    You can view the modified outbound rule in the list.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más