Configuring a Mapping Policy for a Static Source Tracing Algorithm

With a mapping policy for a static source tracing algorithm, the mapping between the IP addresses in a private address pool, the IP addresses in a public address pool, and the port range can be manually specified.

Context

Before configuring a static source tracing algorithm, plan the mapping between private address pool and public address pool/port range. Once the private and public address pools are bound, the IP addresses in the public address pool can be used only by IP addresses in the private address pool.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run nat static-mapping

    The static source tracing algorithm view is displayed.

  3. Run inside-pool inside-pool-id

    The private address pool ID is configured.

  4. Run section section-id start-address end-address

    The private IP address range is configured.

  5. Run commit

    The configuration is committed.

  6. Run quit

    Exit the private address pool view.

  7. Run global-pool global-pool-id

    The public address pool ID is configured.

  8. Run section section-id start-address end-address

    The public IP address range is configured.

  9. Run commit

    The configuration is committed.

  10. Run quit

    Exit the public address pool view.

  11. Run static-mapping static-mapping-id inside-pool inside-pool-id global-pool global-pool-id port-range start-port end-port [ port-size port-size ]

    The mapping between the private address pool and public address pool/port range is configured.

    One public or private address pool can be bound to only one static source tracing algorithm.

  12. (Optional) Run exclude start-port end-port static-mapping static-mapping-id

    The range of ports that are not allocated based on the static source tracing algorithm is configured.

  13. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >