R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)

167
Fast forwarding configuration example
Network requirements
As shown in Figure 67, enable fast forwarding on Router B.
Figure 67 Network diagram
Configuration procedure
1. Configure Router A:
# Configure the IP address of interface GigabitEthernet 2/1/1.
<RouterA> system-view
[RouterA] interface gigabitethernet2/1/1
[RouterA-GigabitEthernet2/1/1] ip address 11.1.1.1 255.0.0.0
[RouterA-GigabitEthernet2/1/1] quit
# Configure a static route.
[RouterA] ip route-static 22.1.1.0 255.0.0.0 11.1.1.2
2. Configure Router C:
# Configure the IP address of interface GigabitEthernet 2/1/2.
<RouterC> system-view
[RouterC] interface gigabitethernet 2/1/2
[RouterC-GigabitEthernet2/1/2] ip address 22.1.1.2 255.0.0.0
[RouterC-GigabitEthernet2/1/2] quit
# Configure a static route.
[RouterC] ip route-static 11.1.1.0 255.0.0.0 22.1.1.1
3. Configure Router B:
# Enable fast-forwarding load sharing.
<RouterB> system-view
[RouterB] ip fast-forwarding load-sharing
# Configure the IP addresses of interfaces GigabitEthernet 2/1/1 and GigabitEthernet 2/1/2.
[RouterB] interface gigabitethernet2/1/1
[RouterB-GigabitEthernet2/1/1] ip address 11.1.1.2 255.0.0.0
[RouterB-GigabitEthernet2/1/1] quit
[RouterB] interface gigabitethernet 2/1/2
[RouterB-GigabitEthernet2/1/2] ip address 22.1.1.1 255.0.0.0
[RouterB-GigabitEthernet2/1/2] quit
Verifying the configuration
# Display the fast forwarding table on Router B.
[RouterB] display ip fast-forwarding cache