H3C S5100-SI Operation Manual page 337

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

[S5100-SI] interface Vlan-interface 1
[S5100-SI-Vlan-interface1] ip address 172.16.1.1 255.255.255.0
[S5100-SI-Vlan-interface1] ip address 172.16.2.1 255.255.255.0 sub
# Set the gateway address to 172.16.1.1 on the PCs attached to the subnet 172.16.1.0/24, and to
172.16.2.1 on the PCs attached to the subnet 172.16.2.0/24.
# Ping a host on the subnet 172.16.1.0/24 from the S5100-SI to check the connectivity.
<S5100-SI> ping 172.16.1.2
PING 172.16.1.2: 56
Reply from 172.16.1.2: bytes=56 Sequence=1 ttl=255 time=25 ms
Reply from 172.16.1.2: bytes=56 Sequence=2 ttl=255 time=27 ms
Reply from 172.16.1.2: bytes=56 Sequence=3 ttl=255 time=26 ms
Reply from 172.16.1.2: bytes=56 Sequence=4 ttl=255 time=26 ms
Reply from 172.16.1.2: bytes=56 Sequence=5 ttl=255 time=26 ms
--- 172.16.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 25/26/27 ms
The output information shows the S5100-SI can communicate with the hosts on the subnet
172.16.1.0/24.
# Ping a host on the subnet 172.16.2.0/24 from the S5100-SI to check the connectivity.
<S5100-SI> ping 172.16.2.2
PING 172.16.2.2: 56
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 information shows the S5100-SI can communicate with the hosts on the subnet
172.16.2.0/24.
data bytes, press CTRL_C to break
data bytes, press CTRL_C to break
1-6

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents