0% found this document useful (0 votes)
105 views

01-19 WAN Optimization Commands

Hua Wei Manuals

Uploaded by

Benny Lim
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views

01-19 WAN Optimization Commands

Hua Wei Manuals

Uploaded by

Benny Lim
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 37

NetEngine AR

Command Reference 19 WAN Optimization Commands

19 WAN Optimization Commands

19.1 WAN Optimization Configuration Commands

19.1 WAN Optimization Configuration Commands

19.1.1 Support for WAN Optimization


Hardware Requirements

Table 19-1 WAN optimization hardware requirements


Series Description

AR300, AR600, AR700, FEC optimization is supported only by the


AR1600, and AR6000 series following models: AR651, AR651U-A4,
AR651W-8P, AR651W, AR657W, AR6120,
AR6120-VW, AR720, AR730, AR6121E, AR6121,
AR6140-16G4XG, AR6140E-9G-2AC, and
AR6140-9G-2AC.
Multi-fed and selective receiving and per-
packet load balancing are supported only by
the following models: AR651, AR651C, AR651F-
Lite, AR651K, AR651U-A4, AR651W,
AR651W-8P, AR657W, AR700 series, and
AR6000.

AR6000-S series FEC optimization is supported only by the


following models: AR6120-S, AR6121E-S,
AR6140E-S, and AR6140-S.
All models support multi-fed and selective
receiving and per-packet load balancing.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8935


NetEngine AR
Command Reference 19 WAN Optimization Commands

Series Description

Card Only the AR-10 supports FEC optimization.


FEC optimization is supported by the
SRU-100H, SRU-100HH, SRU-200H,
SRU-400HK, SRU-600HK, SRU-400H , and
SRU-600H.

19.1.2 anti-loss

Function
The anti-loss command creates and displays the anti-packet loss view.

The undo anti-loss command deletes the created anti-packet loss view.

By default, no anti-packet loss view is created.

Format
anti-loss

undo anti-loss

Parameters
None

Views
WAN optimization profile view

Default Level
2: Configuration level

Usage Guidelines
After creating and entering the anti-packet loss view, you can configure the anti-
packet loss type and parameters.

Example
# Create and display the anti-packet loss view.
<Huawei> system-view
[Huawei] wan-optimization profile fec
[Huawei-wanop-profile-fec] anti-loss
[Huawei-wanop-profile-fec-anti-loss]

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8936


NetEngine AR
Command Reference 19 WAN Optimization Commands

19.1.3 anti-loss-type
Function
The anti-loss-type command configures the anti-packet loss type.
The undo anti-loss-type command deletes the configured anti-packet loss type.
By default, no anti-packet loss type is configured.

Format
anti-loss-type { determined-fec | adaptive-fec }
undo anti-loss-type

Parameters
Parameter Description Value

determined-fec Configures the anti- -


packet loss type to
determined Forward
Error Correction (DFEC).

adaptive-fec Configures the anti- -


packet loss type to
adaptive FEC (AFEC).

Views
Anti-packet loss view

Default Level
2: Configuration level

Usage Guidelines
If you want to configure fixed or adaptive FEC, run the anti-loss-type command.
● When the packet loss rate changes greatly, you are advised to use fixed FEC
for better packet loss recovery.
● When the packet loss rate is stable, you are advised to use adaptive FEC.
When the packet loss rate is low, fewer redundant packets will save
bandwidth. When the packet loss rate increases, the proportion of redundant
packets will be automatically increased.

Example
# Configure the anti-packet loss type to fixed FEC.
<Huawei> system-view
[Huawei] wan-optimization profile fec

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8937


NetEngine AR
Command Reference 19 WAN Optimization Commands

[Huawei-wanop-profile-fec] anti-loss
[Huawei-wanop-profile-fec-anti-loss] anti-loss-type determined-fec

19.1.4 block-size

Function
The block-size command sets the size of an encoding block, that is, the maximum
number of original packets in each encoding block for calculating redundant
packets.

The undo block-size command restores the default setting.

By default, the size of an encoding block is 12.

Format
block-size block-size-value

undo block-size

Parameters
Parameter Description Value

block-size-value Specifies the size of an Versions earlier than


encoding block. V300R021C10: The value
is an integer in the range
from 4 to 45.
V300R021C10 and later
versions: The value is an
integer in the range from
4 to 78.

Views
Anti-packet loss view

Default Level
2: Configuration level

Usage Guidelines
After the number of original packets in each encoding block reaches the value
specified by block-size, redundant packets will be calculated.

You need to set this parameter based on the rate of network packets. Whether
redundant packets will be generated on the encoding side depends on two values:
the configured size of an encoding block and encoding timeout period. Redundant
packets will be generated and sent when either of the two values is reached.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8938


NetEngine AR
Command Reference 19 WAN Optimization Commands

● If this parameter is set to a small value, a small number of redundant packets


will be generated and sent, and the traffic rate will be stable. When packet
loss occurs on the network, the decoding side will quickly recover lost packets,
but the anti-packet loss effect is reduced.
● If this parameter is set to a large value, the time taken by the decoding side
to recover lost packets is long when packet loss occurs on the network.

Example
# Set the size of an encoding block to 10.
<Huawei> system-view
[Huawei] wan-optimization profile fec
[Huawei-wanop-profile-fec] anti-loss
[Huawei-wanop-profile-fec-anti-loss] block-size 10

19.1.5 burst-packet-loss
Function
The burst-packet-loss command configures the number of burst lost packets.

The undo burst-packet-loss command restores the default setting.

By default, the number of burst lost packets is 3.

Format
burst-packet-loss burst-packet-lossvalue

undo burst-packet-loss

Parameters
Parameter Description Value

burst-packet-lossvalue Specifies the number of The value is an integer in


burst lost packets. the range from 1 to 20.

Views
Anti-packet loss view

Default Level
2: Configuration level

Usage Guidelines
Packet loss may be caused by traffic bursts, and multiple packets may be lost in a
burst. The number of redundant packets generated in an encoding block is often
greater than or equal to the number of burst lost packets.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8939


NetEngine AR
Command Reference 19 WAN Optimization Commands

You need to set this parameter based on the actual packet loss rate on the
network. The configured number of burst lost packets must be greater than the
actual number of burst lost packets within a short period.

The number of redundant packets needs to be calculated based on the packet loss
rate and the number of burst lost packets. If the number of redundant packets
calculated based on the packet loss rate is less than the number of burst lost
packets, the actual number of redundant packets will be the number of burst lost
packets.

AFEC detects the number of burst lost packets in real time. To prevent excessive
redundant packets, AFEC requires that the number of burst lost packets based on
which the number of redundant packets is calculated should not exceed the
configured number of burst lost packets.

Example
# Set the number of burst lost packets to 10.
<Huawei> system-view
[Huawei] wan-optimization profile fec
[Huawei-wanop-profile-fec] anti-loss
[Huawei-wanop-profile-fec-anti-loss] burst-packet-loss 10

19.1.6 display wan-optimization fec brief

Function
The display wan-optimization fec brief command displays brief information
about FEC encoding blocks.

Format
Versions earlier than V300R021C10:

display wan-optimization fec { encode-blocks | decode-blocks } brief [ profile-


id profile-id-value | connection-id connection-id-value | vpn-id vpn-id-value | fec-
type fec-type-value ] *

V300R021C10 and later versions:

display wan-optimization fec { encode-blocks | decode-blocks } brief [ profile-


id profile-id-value | tunnel-id tunnel-id-value | vpn-id vpn-id-value | fec-type fec-
type-value | tunnel-type tunnel-type-value ] *

Parameters
Parameter Description Value

encode-blocks Indicates encoding -


blocks.

decode-blocks Indicates decoding -


blocks.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8940


NetEngine AR
Command Reference 19 WAN Optimization Commands

Parameter Description Value

profile-id profile-id- Specifies the ID of a The value is an integer in


value WAN optimization the range from 0 to
profile. 4294967294.

connection-id Specifies a connection ID. The value is an integer in


connection-id-value NOTE the range from 1 to
This parameter is 4294967295.
supported in versions
earlier than V300R021C10.

tunnel-id tunnel-id- Specifies a connection ID The value is an integer in


value (EVPN) or tunnel the range from 0 to
interface ID (GRE). 4294967295.
NOTE
This parameter is
supported in V300R021C10
and later versions.

vpn-id vpn-id-value Specifies a VPN ID. The value is an integer in


the range from 0 to
4096.

fec-type fec-type-value Specifies the FEC type. The value is of the


enumerated type:
● 0: none
● 1: AFEC
● 2: DFEC

tunnel-type tunnel- Specifies the tunnel type. The value is of the


type-value NOTE enumerated type:
This parameter is ● 1: EVPN
supported in V300R021C10
and later versions. ● 2: GRE

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
You can run this command to check brief information about FEC encoding blocks.

Example
# Display brief information about FEC encoding blocks.
Versions earlier than V300R021C10:

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8941


NetEngine AR
Command Reference 19 WAN Optimization Commands

<Huawei> display wan-optimization fec encode-blocks brief


No Profile-ID Connection-ID VPN-ID Type
-----------------------------------------
1 0 1 4 A-FEC
2 1 2 5 D-FEC

V300R021C10 and later versions:


<Huawei> display wan-optimization fec encode-blocks brief
No Profile-ID TUNNEL-TYPE TUNNEL-ID VPN-ID Type
------------------------------------------------------
1 0 2 4 5 A-FEC
2 1 2 5 6 D-FEC

Table 19-2 Description of the display wan-optimization fec brief command


output
Item Description

No Number.

Profile-ID ID of a WAN optimization profile.

TUNNEL-TYPE Tunnel type:


● 1: EVPN
● 2: GRE
NOTE
This field is supported in V300R021C10 and
later versions.

TUNNEL-ID Connection ID (EVPN) or tunnel


interface ID (GRE).
NOTE
This field is supported in V300R021C10 and
later versions.

Connection-ID Connection ID.

VPN-ID VPN ID.

Type FEC type:


● None
● A-FEC
● D-FEC

19.1.7 display wan-optimization fec details


Function
The display wan-optimization fec details command displays detailed
information about FEC encoding blocks.

Format
Versions earlier than V300R021C10:

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8942


NetEngine AR
Command Reference 19 WAN Optimization Commands

display wan-optimization fec { encode-blocks | decode-blocks } details profile-


id profile-id-value connection-id connection-id-value vpn-id vpn-id-value fec-
type fec-type-value
V300R021C10 and later versions:
display wan-optimization fec { encode-blocks | decode-blocks } details profile-
id profile-id-value tunnel-id tunnel-id-value vpn-id vpn-id-value fec-type fec-
type-value tunnel-type tunnel-type-value

Parameters
Parameter Description Value

encode-blocks Indicates encoding -


blocks.

decode-blocks Indicates decoding -


blocks.

profile-id profile-id- Specifies the ID of a The value is an integer in


value WAN optimization the range from 0 to
profile. 4294967294.

connection-id Specifies a connection ID. The value is an integer in


connection-id-value NOTE the range from 1 to
This parameter is 4294967295.
supported in versions
earlier than V300R021C10.

tunnel-id tunnel-id- Specifies a connection ID The value is an integer in


value (EVPN) or tunnel the range from 0 to
interface ID (GRE). 4294967295.
NOTE
This parameter is
supported in V300R021C10
and later versions.

vpn-id vpn-id-value Specifies a VPN ID. The value is an integer in


the range from 0 to
4096.

fec-type fec-type-value Specifies the FEC type. The value is of the


enumerated type:
● 0: none
● 1: AFEC
● 2: DFEC

tunnel-type tunnel- Specifies the tunnel type. The value is of the


type-value NOTE enumerated type:
This parameter is ● 1: EVPN
supported in V300R021C10
and later versions. ● 2: GRE

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8943


NetEngine AR
Command Reference 19 WAN Optimization Commands

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
You can run this command to check detailed information about FEC encoding
blocks.

Example
# Display detailed information about FEC encoding blocks.

Versions earlier than V300R021C10:


<Huawei> display wan-optimization fec encode-blocks details profile-id 0 connection-id 1 vpn-id 4 fec-
type 1
Block profile ID 0 connection ID 1 VPN ID 4 type A-FEC version 1:
Send original packets : 107219
Send redundant packets : 19301
AFEC info:
burst sample[1] :2
burst sample[2](time-diff) : 2 (0 )
burst sample[3](time-diff) : 2 (0 )
window size(ms) : 45078
average loss ratio :6%
receive ack : 8710
last receive(ms) :6

V300R021C10 and later versions:


<Huawei> display wan-optimization fec encode-blocks details profile-id 0 tunnel-id 1 vpn-id 4 fec-
type 1 tunnel-type 2
Block profile ID 0 Tunnel [Type GRE ID 1] VPN ID 4 type A-FEC version 1:
Send original packets : 107219
Send redundant packets : 19301
AFEC info:
burst sample[1] :2
burst sample[2](time-diff) : 2 (0 )
burst sample[3](time-diff) : 2 (0 )
window size(ms) : 45078
average loss ratio :6%
receive ack : 8710
last receive(ms) :6

Table 19-3 Description of the display wan-optimization fec details command


output

Item Description

Block profile ID 0 connection ID 1 VPN Key of an encoding block, which is in


ID 3 type A-FEC version 1 the format profile-id/connection-id/
vpn-id/fec-type/fec-version.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8944


NetEngine AR
Command Reference 19 WAN Optimization Commands

Item Description

Block profile ID 0 Tunnel [Type GRE ID Key of an encoding block, which is in


1] VPN ID 4 type A-FEC version 1 the format profile-id/tunnel-id/tunnel-
type/vpn-id/fec-type/fec-version.
NOTE
This field is supported in V300R021C10 and
later versions.

Send original packets Number of sent original packets.

Send redundant packets Number of sent redundant packets.

AFEC info A-FEC information.

burst sample[1] Sampling 1 for the number of burst


lost packets.

burst sample[2](time-diff) Sampling 2 for the number of burst


lost packets (time difference from
sampling 1).

burst sample[3](time-diff) Sampling 3 for the number of burst


lost packets (time difference from
sampling 2).

window size(ms) Size of the sampling time window.

average loss ratio Detected packet loss rate.

receive ack Number of received A-FEC ACK


packets.

last receive(ms) Last time when an A-FEC ACK packet


was received.

19.1.8 display wan-optimization fec probe-table

Function
The display wan-optimization fec probe-table command displays FEC probe
table information.

Format
Versions earlier than V300R021C10:

display wan-optimization fec probe-table [ profile-id profile-id-value |


connection-id connection-id-value | vpn-id vpn-id-value | fec-type fec-type-
value ] *

V300R021C10 and later versions:

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8945


NetEngine AR
Command Reference 19 WAN Optimization Commands

display wan-optimization fec probe-table [ profile-id profile-id-value | tunnel-


id tunnel-id-value | vpn-id vpn-id-value | fec-type fec-type-value | tunnel-type
tunnel-type-value ] *

Parameters
Parameter Description Value

profile-id profile-id- Specifies a profile ID. The value is an integer in


value the range from 0 to
4294967294.

connection-id Specifies a connection ID. The value is an integer in


connection-id-value NOTE the range from 1 to
This parameter is 4294967295.
supported in versions
earlier than V300R021C10.

tunnel-id tunnel-id- Specifies a connection ID The value is an integer in


value (EVPN) or tunnel the range from 0 to
interface ID (GRE). 4294967295.
NOTE
This parameter is
supported in V300R021C10
and later versions.

vpn-id vpn-id-value Specifies a VPN ID. The value is an integer in


the range from 0 to
4096.

fec-type fec-type-value Specifies the FEC type. The value is of the


enumerated type:
● 0: none
● 1: AFEC
● 2: DFEC

tunnel-type tunnel- Specifies the tunnel type. The value is of the


type-value NOTE enumerated type:
This parameter is ● 1: EVPN
supported in V300R021C10
and later versions. ● 2: GRE

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
Prior to performing FEC encoding, the transmit end checks whether the receive
end has the decoding capability. It performs FEC encoding only when it confirms

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8946


NetEngine AR
Command Reference 19 WAN Optimization Commands

that the receive end has the decoding capability. To check whether the receive end
has the decoding capability, check FEC probe table information.

When there is traffic requiring FEC and no encoding entry is found for the traffic, a
probe table will be created. If the probe fails, the probe period is 200 ms. After a
probe table is created, the aging time of probe entries is 10 minutes.

Example
# Display FEC probe table information.

Versions earlier than V300R021C10:


<Huawei> display wan-optimization fec probe-table
No Profile-ID Connection-ID VPN-ID Type Peer-Ablility Version
Status
----------------------------------------------------------------------------------
1 0 1 3 A-FEC FEC_YES 1 DISCOVERED

V300R021C10 and later versions:


<Huawei> display wan-optimization fec probe-table
No Profile-ID TUNNEL-TYPE TUNNEL-ID VPN-ID Type Peer-Ablility Version
Status
----------------------------------------------------------------------------------
1 0 2 1 3 A-FEC FEC_YES 1 DISCOVERED

Table 19-4 Description of the display wan-optimization fec probe-table


command output

Item Description

No Number.

Profile-ID ID of a WAN optimization profile.

TUNNEL-TYPE Tunnel type:


● 1: EVPN
● 2: GRE
NOTE
This field is supported in V300R021C10 and
later versions.

TUNNEL-ID Connection ID (EVPN) or tunnel


interface ID (GRE).
NOTE
This field is supported in V300R021C10 and
later versions.

Connection-ID Connection ID.

VPN-ID VPN ID.

Type FEC type:


● None
● A-FEC
● D-FEC

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8947


NetEngine AR
Command Reference 19 WAN Optimization Commands

Item Description

Peer-Ablility Whether the remote end supports FEC:


● FEC_YES: The remote end supports
FEC.
● FEC_NO: The remote end does not
support FEC.

Version FEC version on the decoding side:


● 0: No FEC version is detected.
● 1: The decoding side supports the
latest FEC version.

Status Probe status.


● NOT_DISCOVERED: Probe is not
performed.
● DISCOVERED: Probe has been
performed.
● DISCOVERING: Probe is ongoing.

19.1.9 display wan-optimization profile


Function
The display wan-optimization profile command displays information about a
WAN optimization profile.

Format
display wan-optimization profile [ profile-name ]

Parameters
Parameter Description Value

profile-name Specifies the name of a The value is a string of 1


WAN optimization to 31 case-sensitive
profile. characters. It cannot
contain spaces.

Views
All views

Default Level
1: Monitoring level

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8948


NetEngine AR
Command Reference 19 WAN Optimization Commands

Usage Guidelines
To check information about a WAN optimization profile, run the display wan-
optimization profile command. If profile-name is not specified, information
about all WAN optimization profiles is displayed. If profile-name is specified,
information about the specified WAN optimization profile is displayed.

Example
# Display information about the WAN optimization profile fec.
<Huawei> display wan-optimization profile fec
----------------------------
Profile Name : fec
Profile ID :0
Reference Count : 1
Anti-Loss Type : A-FEC
Packet Loss Ratio : 20
Burst Packet Loss : 3
Block Size : 12
Timeout (ms) : 35
MTU : 716

Table 19-5 Description of the display wan-optimization profile command


output

Item Description

Profile Name Name of a WAN optimization profile.


To set this parameter, run the 19.1.25
wan-optimization profile command.

Profile ID ID of a WAN optimization profile.

Reference Count Number of traffic behaviors to which a


WAN optimization profile is bound.

Anti-Loss Type Anti-packet loss type.


To set this parameter, run the 19.1.3
anti-loss-type command.

Packet Loss Ratio Anti-packet loss rate.


To set this parameter, run the 19.1.11
packet-loss-ratio command.

Burst Packet Loss Number of burst lost packets.


To set this parameter, run the 19.1.5
burst-packet-loss command.

Block Size Size of an encoding block.


To set this parameter, run the 19.1.4
block-size command.

Timeout (ms) Timeout period of an encoding block.


To set this parameter, run the 19.1.24
timeout command.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8949


NetEngine AR
Command Reference 19 WAN Optimization Commands

Item Description

MTU Maximum transmission unit (MTU).


To set this parameter, run the 19.1.10
mtu command.

19.1.10 mtu

Function
The mtu command configures the maximum transmission unit (MTU).

The undo mtu command restores the default MTU.

By default, the MTU is 716 bytes.

Format
mtu mtu-value

undo mtu

Parameters
Parameter Description Value

mtu-value Specifies the MTU. The value is an integer,


in bytes. The value
ranges from 230 to 1300.

Views
Anti-packet loss view

Default Level
2: Configuration level

Usage Guidelines
FEC encoding increases the packet length. Therefore, the FEC decoding side
performs fragment reassembly prior to FEC decoding. If an FEC-encoded packet is
fragmented again because it exceeds the MTU of its outbound interface, the FEC
anti-packet loss effect will be lost. To address this issue, you need to limit the
packet size prior to FEC encoding. If network MTU is too small, you are advised to
set the FEC MTU to a half of the network MTU and ensure that the difference
between the network MTU and FEC MTU is greater than the maximum FEC
header length of 84 bytes.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8950


NetEngine AR
Command Reference 19 WAN Optimization Commands

Example
# Set the MTU to 1200 bytes.
<Huawei> system-view
[Huawei] wan-optimization profile fec
[Huawei-wanop-profile-fec] anti-loss
[Huawei-wanop-profile-fec-anti-loss] mtu 1200

19.1.11 packet-loss-ratio
Function
The packet-loss-ratio command configures the anti-packet loss rate.
The undo packet-loss-ratio command restores the default anti-packet loss rate.
By default, the average anti-packet loss rate is 20%.

Format
packet-loss-ratio packet-loss-ratio-value
undo packet-loss-ratio

Parameters
Parameter Description Value

packet-loss-ratio-value Specifies the anti-packet The value ranges from 1


loss rate. to 30, in percentage.

Views
Anti-packet loss view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
You need to set this parameter based on the actual packet loss rate on the
network. The configured anti-packet loss rate must be greater than the actual
packet loss rate.
● For DFEC, redundant packets are sent at a fixed redundancy rate to achieve
the specified packet loss rate.
● For AFEC, the configured anti-packet loss rate is the maximum value. AFEC
dynamically adjusts the actual redundancy rate. The maximum anti-packet
loss capability cannot exceed the maximum value.
Precautions

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8951


NetEngine AR
Command Reference 19 WAN Optimization Commands

When the actual packet loss rate is greater than the value specified by packet-
loss-ratio or is greater than the supported maximum value in AFEC mode, the FEC
function will become ineffective and all lost packets cannot be recovered.

Example
# Set the anti-packet loss rate to 10%.
<Huawei> system-view
[Huawei] wan-optimization profile fec
[Huawei-wanop-profile-fec] anti-loss
[Huawei-wanop-profile-fec-anti-loss] packet-loss-ratio 10

19.1.12 replication path-group (system view)


Function
The replication path-group command creates a multi-fed and selective receiving
link group and displays the multi-fed and selective receiving link group view.

The undo replication path-group command deletes a multi-fed and selective


receiving link group.

By default, no multi-fed and selective receiving link group is created.

NOTE

The AR611-S, AR611W-S, AR611, AR611W, AR611W-LTE4CN, AR617VW, AR617VW-LTE4,


and AR617VW-LTE4EA routers do not support this function.
The AR303, and AR303W routers do not support this function.

Format
replication path-group group-name

undo replication path-group group-name

Parameters
Parameter Description Value

group-name Specifies the name of a The value is a string of 1


multi-fed and selective to 31 case-sensitive
receiving link group. characters without
spaces.

View
System view

Default Level
2: Configuration level

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8952


NetEngine AR
Command Reference 19 WAN Optimization Commands

Usage Guidelines
Usage Scenario

For services (such as payment and emergency calls) that require high reliability
and light traffic, you can configure a link group and specify backup links by
priority to replicate packets to these links for transmission. In this way, if a link is
disconnected, packets replicated to backup links in the link group can still be sent
to the remote end, preventing service interruptions.

Precautions

Packet replication can only be used to forward the following packet types: IPinIP,
TCP, UDP, GRE, ESP, and AH packets. In the scenario where LAN-side packets are
Ethernet Layer 2 packets, Ethernet over GRE can be configured on loopback
interfaces and multi-fed and selective receiving can be configured to implement
the multi-fed and selective receiving of Layer 2 packets.

Example
# Create a multi-fed and selective receiving link group named g1 and enter the
view of the group.
<Huawei> system view
[Huawei] replication path-group g1
[Huawei-replication-path-group-g1]

19.1.13 replication path-group (tunnel interface view)

Function
The replication path-group command configures a multi-fed and selective
receiving link group on a tunnel interface.

The undo replication path-group command cancels the multi-fed and selective
receiving link group configured on a tunnel interface.

By default, no multi-fed and selective receiving link group is configured on a


tunnel interface.

NOTE

The AR611-S, AR611W-S, AR611, AR611W, AR611W-LTE4CN, AR617VW, AR617VW-LTE4,


and AR617VW-LTE4EA routers do not support this function.
The AR303, and AR303W routers do not support this function.

Format
replication path-group group-name

undo replication

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8953


NetEngine AR
Command Reference 19 WAN Optimization Commands

Parameters
Parameter Description Value

group-name Specifies the name of a The value is a string of 1


multi-fed and selective to 31 case-sensitive
receiving link group. characters without
spaces.

View
Tunnel interface view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario

After a multi-fed and selective receiving link group is configured on a tunnel


interface, packets on the tunnel interface are replicated to the available links with
the highest priority in the link group and then sent to the peer end.

Prerequisites

A multi-fed and selective receiving link group has been created using the
replication path-group command in the system view.

Precautions

● Each tunnel interface can have only one multi-fed and selective receiving link
group or redirect multi-fed and selective receiving link group configured. If the
link group is configured for multiple times, the latest configuration prevails.
● Only the tunnel interfaces of a GRE tunnel support this command.
● Packet replication can only be used to forward the following packet types:
IPinIP, TCP, UDP, GRE, ESP, and AH packets. In the scenario where LAN-side
packets are Ethernet Layer 2 packets, Ethernet over GRE can be configured on
loopback interfaces and multi-fed and selective receiving can be configured to
implement the multi-fed and selective receiving of Layer 2 packets.

Example
# Configure a multi-fed and selective receiving link group named g1 on
Tunnel0/0/1.
<Huawei> system view
[Huawei] replication path-group g1
[Huawei-replication-path-group-g1] quit
[Huawei] interface Tunnel 0/0/1
[Huawei-Tunnel0/0/1] tunnel-protocol gre
[Huawei-Tunnel0/0/1] replication path-group g1

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8954


NetEngine AR
Command Reference 19 WAN Optimization Commands

19.1.14 redirect-replication path-group


Function
The redirect-replication path-group command configures a redirect replication
link group on a tunnel interface.
The undo redirect-replication command deletes a redirect replication link group
on a tunnel interface.
By default, no redirect replication link group is configured on a tunnel interface.

NOTE

The AR611-S, AR611W-S, AR611, AR611W, AR611W-LTE4CN, AR617VW, AR617VW-LTE4,


and AR617VW-LTE4EA routers do not support this function.
The AR303, and AR303W routers do not support this function.

Format
redirect-replication path-group group-name
undo redirect-replication

Parameters
Parameter Description Value

group-name Specifies the name of a The value is a string of 1


redirect replication link to 31 case-sensitive
group. characters. It cannot
contain spaces.

View
Tunnel interface view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
For services that have special requirements for packet loss, such as financial and
security services, if the multi-fed and selective receiving function cannot meet the
requirements, configure the redirect multi-fed and selective receiving function for
the inner GRE tunnel of the loopback interface to forward packets without
depending on routes. The command is used together with the replication if-
down-delay command to prevent packet loss during route switching and
maximize service continuity.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8955


NetEngine AR
Command Reference 19 WAN Optimization Commands

Prerequisites

A replication link group has been created using the replication path-group
(system view) command.

Precautions

● Each tunnel interface can have only one multi-fed and selective receiving link
group or redirect multi-fed and selective receiving link group configured. If the
link group is configured for multiple times, the latest configuration prevails.
● Only the tunnel interfaces of a GRE tunnel support this command.
● The redirect multi-fed and selective receiving function supports only the
forwarding of IPinIP, TCP, UDP, GRE, ESP, and AH packets. In the scenario
where LAN-side packets are Ethernet Layer 2 packets, Ethernet over GRE can
be configured on loopback interfaces and multi-fed and selective receiving
can be configured to implement the multi-fed and selective receiving of Layer
2 packets.

Example
# Configure a redirect replication link group named g1 on Tunnel0/0/1.
<Huawei> system view
[Huawei] replication path-group g1
[Huawei-replication-path-group-g1] quit
[Huawei] interface Tunnel 0/0/1
[Huawei-Tunnel0/0/1] tunnel-protocol gre
[Huawei-Tunnel0/0/1] redirect-replication path-group g1

19.1.15 replication if-down-delay

Function
The replication if-down-delay command configures the delay after which link
selection information of a multi-fed and selective receiving link group is updated.

The undo replication if-down-delay command deletes the configured delay after
which link selection information of a multi-fed and selective receiving link group is
updated.

By default, the delay after which link selection information of a multi-fed and
selective receiving link group is updated is 0 s.

NOTE

The AR611-S, AR611W-S, AR611, AR611W, AR611W-LTE4CN, AR617VW, AR617VW-LTE4,


and AR617VW-LTE4EA routers do not support this function.
The AR303, and AR303W routers do not support this function.

Format
replication if-down-delay { time-value | 65535 }

undo replication if-down-delay

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8956


NetEngine AR
Command Reference 19 WAN Optimization Commands

Parameters
Parameter Description Value

time-value Specifies the delay after The value is an integer


which link selection ranging from 0 to 10, in
information of a multi- seconds. The default
fed and selective value is 0.
receiving link group is
updated.

65535 Indicates that the link -


group does not update
route selection
information based on
the link status.

View
Tunnel interface view

Default Level
2: Configuration level

Usage Guidelines
After a multi-fed and selective receiving link group is configured, if the replication
link frequently flaps due to poor network conditions, the system frequently
updates the link selection information of the link group. In this case, packet loss
will occur if routes are not updated in a timely manner. To prevent this problem,
run the replication if-down-delay command to configure the delay after which
link selection information of a multi-fed and selective receiving link group is
updated. If this parameter is set to 65535, the link group does not update route
selection information based on the link status but forwards packets through the
first selected link.

Example
# Set the delay after which link selection information of a multi-fed and selective
receiving link group is updated to 5 seconds.
<Huawei> system view
[Huawei] replication if-down-delay 5

19.1.16 path priority

Function
The path priority command configures member information for a multi-fed and
selective receiving link group.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8957


NetEngine AR
Command Reference 19 WAN Optimization Commands

The undo path command deletes the member information of a multi-fed and
selective receiving link group.
By default, no member information is configured for a multi-fed and selective
receiving link group.

NOTE

The AR611-S, AR611W-S, AR611, AR611W, AR611W-LTE4CN, AR617VW, AR617VW-LTE4,


and AR617VW-LTE4EA routers do not support this function.
The AR303, and AR303W routers do not support this function.

Format
path interface-type interface-number priority priority-value [ track { nqa nqa-
administer-name nqa-test-name | bfd-session bfd-session-name } ]
undo path interface-type interface-number

Parameters
Parameter Description Value

interface-type Specifies the interface Currently, only tunnel


type. interfaces are supported.

interface-number Specifies the interface The slot ID and card ID


number in the format: are an integer and vary
slot ID/card ID/port ID. according to the device
type. The port ID is an
integer.
NOTE
The number of interfaces
that can be configured
depends on the device
specifications.

priority-value Specifies the link priority. The value is an integer


ranging from 1 to 4. A
smaller value indicates a
higher priority.

track Configures link -


association.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8958


NetEngine AR
Command Reference 19 WAN Optimization Commands

Parameter Description Value

nqa nqa-administer- Associates a link with an The value is a string of 1


name nqa-test-name NQA test instance. nqa- to 32 case-sensitive
administer-name and characters. It cannot
nqa-test-name specify contain question marks
the administrator name (?), hyphens (-), or a
of the NQA test instance single or consecutive
and the test instance quotation marks (").
name, respectively. The administrator name
of the NQA test instance
and the test instance
name must exist.

bfd-session bfd-session- Associates a link with a The value is a string of 1


name BFD session. bfd-session- to 15 case-insensitive
name specifies the name characters. It cannot
of a BFD session. contain spaces. If spaces
are used, the string must
be enclosed in double
quotation marks (" ").
The BFD session name
must exist.

View
Packet replication link group view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
For services (such as payment and emergency calls) that require high reliability
and light traffic, you can configure a link group and specify backup links by
priority to replicate packets to these links for transmission. In this way, if a link is
disconnected, packets replicated to backup links in the link group can still be sent
to the remote end, preventing service interruptions. When configuring a link
member in a link group, you can specify the priority for the link and associate the
link with an NQA test instance or a BFD session. If the link succeeds in link
detection, it participates in the link selection for multi-fed and selective receiving.
Otherwise, it is unavailable. The device selects the available link with the highest
priority and sends the replicated packets through this link.
Precautions
Packet replication can only be used to forward the following packet types: IPinIP,
TCP, UDP, GRE, ESP, and AH packets. In the scenario where LAN-side packets are
Ethernet Layer 2 packets, Ethernet over GRE can be configured on loopback

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8959


NetEngine AR
Command Reference 19 WAN Optimization Commands

interfaces and multi-fed and selective receiving can be configured to implement


the multi-fed and selective receiving of Layer 2 packets.

Example
# Set the priority 5 for the link of Tunnel0/0/1 in the multi-fed and selective
receiving link group g1 and associate the link with the NQA test instance named
test of which the administrator name is admin.
<Huawei> system view
[Huawei] replication path-group g1
[Huawei-replication-path-group-g1] path Tunnel 0/0/1 priority 5 track nqa admin test

19.1.17 packet reorder-wait


Function
The packet reorder-wait command sets the packet reassembly waiting time and
jitter time.
The undo packet reorder-wait command deletes the configured packet
reassembly wait time and jitter time.
By default, the packet reassembly waiting time is 100 ms, and the packet
reassembly jitter time is not configured.

NOTE

The AR611-S, AR611W-S, AR611, AR611W, AR611W-LTE4CN, AR617VW, AR617VW-LTE4,


and AR617VW-LTE4EA routers do not support this function.
The AR303, and AR303W routers do not support this function.

Format
packet reorder-wait time-value [ last-sent-jitter jitter-value ]
undo packet reorder-wait

Parameters
Parameter Description Value

time-value Specifies the packet The value is an integer


reassembly waiting time. ranging from 1 to 300, in
milliseconds. The default
value is 100.

jitter-value Specifies the packet The value is an integer


reassembly jitter time. ranging from 0 to 150, in
milliseconds.

View
Tunnel interface view

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8960


NetEngine AR
Command Reference 19 WAN Optimization Commands

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario

● After multi-fed and selective receiving or packet-based load balancing is


configured on the peer device, the packet reassembly waiting time can be
configured on the local device based on the network status to prevent service
loss caused by packet reassembly failures.
● After multi-fed and selective receiving is configured on the peer device, the
packet reassembly jitter time can be set on the local device based on the
network status. This prevents excessive buffered packets from waiting to be
reassembled when the network link quality is poor, achieve the optimal
packet loss rate, delay, or jitter.
– Optimal packet loss: Set the packet reassembly waiting time to a larger
value. When packets transmitted on any link are lost, the device waits for
packets with the same sequence numbers as the lost packets on other
replication links. This ensures the minimum packet loss rate during multi-
link packet transmission.
– Optimal delay: Set the packet reassembly waiting time to a smaller value.
Then the device sends the buffered packets received on multiple links
without waiting for lost packets. This ensures the minimum transmission
delay of a single packet during multi-link packet transmission.
– Optimal jitter: Set the packet reassembly jitter time. When the jitter time
is exceeded, the device sends the buffered packets received on multiple
links to ensure smooth jitter during multi-link packet transmission.

Precautions

● Only the tunnel interfaces of a GRE tunnel support this command.


● The time-value parameter is valid in both multi-fed and selective receiving
and per-packet load balancing scenarios, and the jitter-value parameter is
valid only in multi-fed and selective receiving scenarios.
● When running the packet reorder-wait time-value [ last-sent-jitter jitter-
value ] command, ensure that the packet reassembly waiting time is longer
than the jitter time.
● Packet replication can only be used to forward the following packet types:
IPinIP, TCP, UDP, GRE, ESP, and AH packets. In the scenario where LAN-side
packets are Ethernet Layer 2 packets, Ethernet over GRE can be configured on
loopback interfaces and multi-fed and selective receiving can be configured to
implement the multi-fed and selective receiving of Layer 2 packets.

Example
# Set the packet reassembly waiting time to 200 ms and the jitter time to 100 ms..
<Huawei> system view
[Huawei] interface Tunnel 0/0/1
[Huawei-Tunnel0/0/1] tunnel-protocol gre
[Huawei-Tunnel0/0/1] packet reorder-wait 200 last-sent-jitter 100

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8961


NetEngine AR
Command Reference 19 WAN Optimization Commands

19.1.18 load-balance per-packet unequal-cost-weight


Function
The load-balance per-packet unequal-cost-weight command enables per-packet
load balancing and sets the weight for load balancing links.
The undo load-balance per-packet unequal-cost-weight command disables per-
packet load balancing and deletes the weight of load balancing links.
By default, per-packet load balancing is disabled.

NOTE

The AR611-S, AR611W-S, AR611, AR611W, AR611W-LTE4CN, AR617VW, AR617VW-LTE4,


and AR617VW-LTE4EA routers do not support this function.
The AR303, and AR303W routers do not support this function.

Format
load-balance per-packet unequal-cost-weight weight-value
undo load-balance per-packet unequal-cost-weight

Parameters
Parameter Description Value

weight-value Specifies the weight of a The value is an integer


load balancing link. ranging from 1 to 100.

View
Tunnel interface view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
In heavy-traffic scenarios, if the device evenly balances traffic over multiple equal-
cost links regardless of the bandwidth difference between these links, traffic
congestion may occur on low-speed links and bandwidth of high-speed links
cannot be used efficiently. To resolve this problem, run the load-balance per-
packet unequal-cost-weight command on an interface to enable per-packet load
balancing and set the weight for each link. This ensures that traffic can be load
balanced among links based on the link bandwidth, reducing link congestion and
improving link efficiency.
Precautions

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8962


NetEngine AR
Command Reference 19 WAN Optimization Commands

● After configuring the weight of each link on an interface, run the shutdown
and undo shutdown commands on the interface or run the restart command
on the interface to restart the interface for the configuration to take effect.
● To improve link efficiency, you are advised to set the weight of each load-
balancing link based on the link bandwidth. For example, the weight of a low-
speed link ranges from 1 to 10 and that of a high-speed link ranges from 10
to 100.
● Only the tunnel interfaces of a GRE tunnel support this command.
● Packet load balancing can only be used to forward the following packet types:
IPinIP, TCP, UDP, GRE, ESP, and AH packets. In the scenario where LAN-side
packets are Ethernet Layer 2 packets, Ethernet over GRE can be configured on
loopback interfaces and packet load balancing can be configured to
implement the packet load balancing of Layer 2 packets.

Example
# Set the weight of a load balancing link to 16.
<Huawei> system view
[Huawei] interface Tunnel 0/0/1
[Huawei-Tunnel0/0/1] tunnel-protocol gre
[Huawei-Tunnel0/0/1] load-balance per-packet unequal-cost-weight 16
Warning: The configuration succeeded. Please shutdown/undo shutdown the interface to make changes
take effect.
[Huawei-Tunnel0/0/1] shutdown
[Huawei-Tunnel0/0/1] undo shutdown

19.1.19 ip-load-balance per-packet retransmit enable

Function
The ip-load-balance per-packet retransmit enable command enables the per-
packet retransmission function.

The undo ip-load-balance per-packet retransmit enable command disables the


per-packet retransmission function.

By default, the per-packet retransmission function is disabled.

NOTE

The AR611-S, AR611W-S, AR611, AR611W, AR611W-LTE4CN, AR617VW, AR617VW-LTE4,


and AR617VW-LTE4EA routers do not support this function.
The AR303, and AR303W routers do not support this function.

Format
ip-load-balance per-packet retransmit enable

undo ip-load-balance per-packet retransmit enable

Parameters
None

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8963


NetEngine AR
Command Reference 19 WAN Optimization Commands

View
System view

Default Level
3: Management level

Usage Guidelines
● After per-packet load balancing is configured, if the link quality is poor, packet
loss or error packets may occur. To prevent packet loss and improve system
reliability, enable the per-packet retransmission function to increase the
frequency at which the transmit end sends packets.
● Frequent packet retransmission occupies CPU resources and affects system
performance. If high forwarding performance is required, disable the per-
packet retransmission function.

Example
# Enable the per-packet retransmission function.
<Huawei> system view
[Huawei] ip-load-balance per-packet retransmit enable

19.1.20 display replication path-group

Function
The display replication path-group command displays information about a
multi-fed and selective receiving link group.

NOTE

The AR611-S, AR611W-S, AR611, AR611W, AR611W-LTE4CN, AR617VW, AR617VW-LTE4,


and AR617VW-LTE4EA routers do not support this function.
The AR303, and AR303W routers do not support this function.

Format
display replication path-group [ group-name ]

Parameters
Parameter Description Value

group-name Specifies the name of a The value is a string of 1


multi-fed and selective to 31 case-sensitive
receiving link group. characters without
spaces.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8964


NetEngine AR
Command Reference 19 WAN Optimization Commands

View
All views

Default Level
1: Monitoring level

Usage Guidelines
To check the route selection results of all multi-fed and selective receiving link
groups, run the display replication path-group command. To prevent interfaces
in a multi-fed and selective receiving link group from being configured with multi-
fed and selective receiving, route selection results of two available links are
displayed for each link group. If a link group name is specified in this command,
the status of all links in the link group is displayed in descending order of link
priority.

Example
# Display the status of all links in the multi-fed and selective receiving link group
group1.
<Huawei> display replication path-group group1
---------------------------------------------------------------------
path-member priority track info path-state
TUNNEL0/0/100 1 BFD DOWN
TUNNEL0/0/101 2 BFD DOWN
TUNNEL0/0/102 3 NQA DOWN
TUNNEL0/0/103 4 BFD UP
TUNNEL0/0/104 5 NQA UP
TUNNEL0/0/105 6 BFD DOWN
TUNNEL0/0/106 7 - DOWN
TUNNEL0/0/107 8 BFD UP
---------------------------------------------------------------------

Table 19-6 Description of the display replication path-group group-name


command output
Item Description

path-member Member link in a multi-fed and


selective receiving link group.

priority Link priority.

track info Detection type of link association.

path-state Link status.

# Display the route selection results of all multi-fed and selective receiving link
groups.
<Huawei> display replication path-group
---------------------------------------------------------------------
group-name Replication link1 Replicationlink2
group1 TUNNEL0/0/100 TUNNEL0/0/101

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8965


NetEngine AR
Command Reference 19 WAN Optimization Commands

group2 TUNNEL0/0/110 TUNNEL0/0/111


group3 TUNNEL0/0/120 TUNNEL0/0/121
group4 TUNNEL0/0/130 TUNNEL0/0/131
group5 TUNNEL0/0/140 TUNNEL0/0/141
---------------------------------------------------------------------

Table 19-7 Description of the display replication path-group command output

Item Description

group-name Name of a multi-fed and selective


receiving link group.

Replication link1 Link 1.

Replication link2 Link 2.

19.1.21 display replication interface

Function
The display replication interface command displays the route selection results of
multi-fed and selective receiving on interfaces.

NOTE

The AR611-S, AR611W-S, AR611, AR611W, AR611W-LTE4CN, AR617VW, AR617VW-LTE4,


and AR617VW-LTE4EA routers do not support this function.
The AR303, and AR303W routers do not support this function.

Format
display replication interface

Parameters
None

View
All views

Default Level
1: Monitoring level

Usage Guidelines
To check the route selection results of multi-fed and selective receiving on
interfaces, run the display replication interface command. The results help
determine the actual transmission link of packets.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8966


NetEngine AR
Command Reference 19 WAN Optimization Commands

Example
# Display the route selection results of multi-fed and selective receiving on
interfaces.
<Huawei> display replication interface
--------------------------------------------------------------------------------
Interface Path group Replication interface
Tunnel0/0/10 a
Tunnel0/0/100 g2 Tunnel0/0/2
Tunnel0/0/101 g2 Tunnel0/0/2
Tunnel0/0/0 g1 Tunnel0/0/1
Tunnel0/0/1 g2 Tunnel0/0/2
--------------------------------------------------------------------------------

Table 19-8 Description of the display replication interface command output

Item Description

Interface Interface on which multi-fed and


selective receiving is configured.

Path group Name of a multi-fed and selective


receiving link group configured on the
interface.

Replication interface Name of the interface to which


packets are replicated.

19.1.22 reset wan-optimization fec session all

Function
The reset wan-optimization fec session all command resets the FEC encoding
table.

Format
reset wan-optimization fec session all

Parameters
None

Views
All views

Default Level
2: Configuration level

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8967


NetEngine AR
Command Reference 19 WAN Optimization Commands

Usage Guidelines
Usage Scenario
The session table used for forwarding is triggered by packets. The configuration
table is read when the session table is being created. When there is always traffic,
the configuration table will not be read repeatedly. Therefore, if there is always
traffic, the configuration cannot be updated in time. You can use the updated
configuration immediately by resetting the FEC encoding table.
Precautions
The FEC encoding table will be reset 2 seconds after the reset wan-optimization
fec session all command is executed. If there are packets requiring FEC, the FEC
encoding table will be re-established.

Example
# Reset the FEC encoding table.
<Huawei> reset wan-optimization fec session all
Info: The current all wan-optimization sessions will be deleted.

19.1.23 reset wan-optimization fec probe-table all


Function
The reset wan-optimization fec probe-table all command resets the FEC probe
table.

Format
reset wan-optimization fec probe-table all

Parameters
None

Views
All views

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
When a probe is successful, entries in the probe table will not be aged out for a
period of time. In this period, no probe will be performed again. To immediately
trigger a probe again, reset the FEC probe table to immediately detect the FEC
capability of the remote site.
Precautions

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8968


NetEngine AR
Command Reference 19 WAN Optimization Commands

The FEC probe table will be reset 2 seconds after the reset wan-optimization fec
probe-table all command is executed. If no encoding session table is available,
the FEC probe table will be re-established when there are packets requiring FEC.

Example
# Reset the FEC probe table.
<Huawei> reset wan-optimization fec probe-table all
Info: The current all wan-optimization probe tables will be deleted.

19.1.24 timeout
Function
The timeout command sets the timeout period for generating redundant packets.
The undo timeout command restores the default setting.
By default, the timeout period for generating redundant packets is 35 ms.

Format
timeout timeout-value
undo timeout

Parameters
Parameter Description Value

timeout-value Specifies the timeout The value is an integer in


period for generating the range from 10 to 50,
redundant packets. in milliseconds.

Views
Anti-packet loss view

Default Level
2: Configuration level

Usage Guidelines
After the first packet is received for an encoding block, the timer triggers the
calculation of redundant packets if the total number of original packets received
within the time specified by timeout is less than the value specified by block-size.
You need to set this parameter based on the rate of network packets. Whether
redundant packets will be generated on the encoding side depends on two values:
the configured size of an encoding block and encoding timeout period. Redundant
packets will be generated and sent when either of the two values is reached.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8969


NetEngine AR
Command Reference 19 WAN Optimization Commands

Example
# Set the timeout period for generating redundant packets to 10 ms.
<Huawei> system-view
[Huawei] wan-optimization profile fec
[Huawei-wanop-profile-fec] anti-loss
[Huawei-wanop-profile-fec-anti-loss] timeout 10

19.1.25 wan-optimization profile


Function
The wan-optimization profile command creates a WAN optimization profile and
displays its view.
The undo wan-optimization profile command deletes a created WAN
optimization profile.
By default, no WAN optimization profile is created.

Format
wan-optimization profile profile-name
undo wan-optimization profile profile-name

Parameters
Parameter Description Value

profile-name Specifies the name of a The value is a string of 1


WAN optimization to 31 case-sensitive
profile. characters. It cannot
contain spaces.

Views
System view

Default Level
2: Configuration level

Usage Guidelines
After creating a WAN optimization profile, you can enter the WAN optimization
view to configure the WAN optimization type and parameters.

Example
# Create a WAN optimization profile named fec and display its view.

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8970


NetEngine AR
Command Reference 19 WAN Optimization Commands

<Huawei> system-view
[Huawei] wan-optimization profile fec
[Huawei-wanop-profile-fec]

19.1.26 wan-optimization-profile
Function
The wan-optimization-profile command binds a WAN optimization profile to a
traffic behavior.
The undo wan-optimization-profile command unbinds a WAN optimization
profile from a traffic behavior.
By default, no WAN optimization profile is bound to a traffic behavior.

Format
wan-optimization-profile profile-name
undo wan-optimization-profile profile-name

Parameters
Parameter Description Value

profile-name Specifies the name of a The value is a string of 1


WAN optimization to 31 case-sensitive
profile. characters. It cannot
contain spaces.

Views
Traffic behavior view

Default Level
2: Configuration level

Usage Guidelines
To bind a WAN optimization profile to a traffic behavior, run the wan-
optimization-profile command. In this way, you can reference a traffic behavior
in a traffic policy and enable the traffic policy in the outbound direction of a
tunnel interface.

Example
# Bind the WAN optimization profile fec to a traffic behavior.
<Huawei> system-view
[Huawei] traffic behavior b1
[Huawei-behavior-b1] wan-optimization-profile fec

Issue 05 (2022-04-22) Copyright © Huawei Technologies Co., Ltd. 8971

You might also like