How can an S series switch ping another device using ping packets carrying a specified source IP address

For S series switches (except the S1700), you can specify the source IP address of ping packets by specifying the -a source-ip-address parameter in the ping command.
For example, set the source and destination IP addresses of ping packets to 192.168.150.107 and 10.135.19.157, respectively.
[HUAWEI] ping -a 192.168.150.107 10.135.19.157

Scroll to top