The exclude command excludes a port segment where the ports are not allocated for a static source tracing algorithm.
The undo exclude command deletes the configuration.
By default, no port segment is excluded for a static source tracing algorithm.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
start-port |
Specifies the start port number. |
The value is an integer ranging from 256 to 65535 and must be a multiple of 256. |
end-port |
Specifies the end port number. |
The value is an integer ranging from 256 to 65535. The end port number must be greater than the start port number, and the end port number plus 1 must be a multiple of 256. |
static-mapping static-mapping-id |
Specifies a static source tracing algorithm ID. |
The value is an integer ranging from 1 to 2000. |
<HUAWEI> system-view [~HUAWEI] nat static-mapping [*HUAWEI-nat-static-mapping] inside-pool 1 [*HUAWEI-nat-static-mapping-inside-pool-1] section 1 10.0.0.1 10.0.0.255 [*HUAWEI-nat-static-mapping-inside-pool-1] quit [*HUAWEI-nat-static-mapping] global-pool 1 [*HUAWEI-nat-static-mapping-global-pool-1] section 1 172.20.0.1 172.20.0.100 [*HUAWEI-nat-static-mapping-global-pool-1] quit [*HUAWEI-nat-static-mapping] static-mapping 10 inside-pool 1 global-pool 1 port-range 256 65535 port-size 256 [*HUAWEI-nat-static-mapping] exclude 1024 2047 static-mapping 10