Figure 153 Network diagram
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Configure routing protocols to ensure connectivity.
3.
Apply the predefined WAAS policy to interface GigabitEthernet 2/0/1 on Router A.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] waas apply policy
[RouterA-GigabitEthernet2/0/1] quit
[RouterA] quit
4.
Apply the predefined WAAS policy to interface GigabitEthernet 2/0/1 on Router B.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/0/1
[RouterB-GigabitEthernet2/0/1] waas apply policy
5.
Download a test file of 14 MB from the server to the host.
6.
Clear the DRE statistics on Router A.
<RouterA> reset waas statistic dre
7.
Download the same file from the server to the host.
Verifying the configuration
# After the first download, display the DRE statistics on Router A.
<RouterA> display waas statistic dre
Peer-ID: cc3e-5fd8-5158
Peer version: 1.0
Cache in storage: 12710912 bytes
Index number: 49652
Age: 00 weeks, 00 days, 00 hours, 00 minutes, 35 seconds
Total connections: 1
Active connections: 0
Encode Statistics
Dre msgs: 2
Bytes in: 286 bytes
Bytes out: 318 bytes
Bypass bytes: 0 bytes
424