Verifying the configuration – H3C Technologies H3C S12500 Series Switches User Manual
Page 167
154
[SwitchB-Vlan-interface100] ip address 11.1.1.2 255.0.0.0
[SwitchB-Vlan-interface100] quit
# Configure the IP address of VLAN-interface 101.
[SwitchB] interface Vlan-interface101
[SwitchB- Vlan-interface101] ip address 22.1.1.1 255.0.0.0
[SwitchB- Vlan-interface101] quit
304B
Verifying the configuration
# Display the fast forwarding table on Switch B.
[SwitchB] display ip fast-forwarding cache
The output shows that no fast forwarding entry exists.
# Ping the IP address of Ethernet 1/2 of Switch C from Switch A. Reply packets can be received.
[SwitchA] 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 Switch B.
[SwitchB] display ip fast-forwarding cache
Total number of fast-forwarding entries: 2
SIP SPort DIP DPort Pro Input_If Output_If Flg
22.1.1.2 0 11.1.1.1 0 1 Vlan-interface101 Vlan-interface100 7
11.1.1.1 8 22.1.1.2 0 1 Vlan-interface100 Vlan-interface101 7
The output shows that fast forwarding entries have been created.