Displaying and maintaining ip addressing – H3C Technologies H3C S10500 Series Switches User Manual
Page 38

27
# From the switch, ping a host on subnet 172.16.2.0/24 to verify the connectivity.
PING 172.16.2.2: 56 data bytes, press CTRL_C to break
Reply from 172.16.2.2: bytes=56 Sequence=1 ttl=255 time=25 ms
Reply from 172.16.2.2: bytes=56 Sequence=2 ttl=255 time=26 ms
Reply from 172.16.2.2: bytes=56 Sequence=3 ttl=255 time=26 ms
Reply from 172.16.2.2: bytes=56 Sequence=4 ttl=255 time=26 ms
Reply from 172.16.2.2: bytes=56 Sequence=5 ttl=255 time=26 ms
--- 172.16.2.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 25/25/26 ms
The output shows that the switch can communicate with the hosts on subnet 172.16.2.0/24.
# From a host on subnet 172.16.2.0/24, ping a host on subnet 172.16.1.0/24 to verify the connectivity.
Host B can be successfully pinged from Host A.
Displaying and maintaining IP addressing
To do…
Use the command…
Remarks
Display IP configuration information
for a specified Layer 3 interface or all
Layer 3 interfaces
display ip interface [ interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display brief IP configuration
information for a specified Layer 3
interface or all Layer 3 interfaces
display ip interface [ interface-type
[ interface-number ] ] brief [ | { begin |
exclude | include } regular-expression ]
Available in any view