R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)

105
Configuring Router C
# Configure the IP address of interface Serial 2/1. By default, fast forwarding is enabled in the inbound
and outbound directions.
<RouterC> system-view
[RouterC] interface serial2/1
[RouterC-Serial2/1] ip address 22.1.1.2 255.0.0.0
[RouterC-Serial2/1] quit
# Configure a static route.
[RouterC] ip route-static 11.1.1.0 255.0.0.0 22.1.1.1
Configuring Router B
# Configure IP addresses of interfaces Ethernet 1/1 and Serial 2/1. By default, fast forwarding is
enabled in the inbound and outbound directions.
<RouterB> system-view
[RouterB] interface ethernet1/1
[RouterB-Ethernet1/1] ip address 11.1.1.2 255.0.0.0
[RouterB-Ethernet1/1] quit
[RouterB] interface serial2/1
[RouterB-Serial2/1] ip address 22.1.1.1 255.0.0.0
[RouterB-Serial2/1] quit
Verifying the configuration
# Display the fast forwarding table on Router B.
[RouterB] display ip fast-forwarding cache
[RouterB]
The output shows that no fast forwarding entry exists.
# Ping the IP address of Serial 2/1 of Router C from Router A. Reply packets can be received.
[RouterA] ping 22.1.1.2
PING 22.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 22.1.1.2: bytes=56 Sequence=1 ttl=254 time=2 ms
Reply from 22.1.1.2: bytes=56 Sequence=2 ttl=254 time=1 ms
Reply from 22.1.1.2: bytes=56 Sequence=3 ttl=254 time=1 ms
Reply from 22.1.1.2: bytes=56 Sequence=4 ttl=254 time=2 ms
Reply from 22.1.1.2: bytes=56 Sequence=5 ttl=254 time=2 ms
--- 22.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/2/3 ms
# Display the fast forwarding table on Router B.
<RouterB> display ip fast-forwarding cache
Fast-Forwarding cache: total 2 items
Index SIP SPort DIP DPort Pro Input_If Output_If Flg
423 :0 22.1.1.2 0 11.1.1.1 0 1 S2/1 Eth1/1 7