Dell Networking OS10 How to use ping utility with a source IP, MTU, VRF, and do not fragment bit

Summary: This article explains how to use ping utility for troubleshooting in Dell OS10

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Note: Use an IP address as source rather than an interface name when using -I (Source Ping) option.
 

Index

Ping with a source IP address
Ping to an Ip address with packet size set
With do not fragment set
Allowing fragmentation (df bit set to 0)
Ping in a VRF
Example Cases


 

Ping with a source IP address

Syntax 
ping <Destination IP> -I <Source IP>
(Note : I is Capital letter)

Source IP can only be an IP address configured on switch locally
Example
OS10# ping 10.0.0.1 -I 20.0.0.1


 

Ping to a IP address with packet size set

Syntax
ping <Destination IP> -s <Size>


Here the df-bit is set hence the ICMP packet will not be fragmented
Example
OS10#ping 10.0.0.1 -s 9100


 

With do not fragment set

Syntax
ping <Destination IP> -s <Size>

Here the df-bit is set hence the ICMP packet will not be fragmented. By default df bit is set
Example
OS10#ping 10.0.0.1 -s 9100


 

Allowing fragmentation (df bit set to 0)

Syntax
ping <destination IP> -M dont

Here the df-bit is 0 hence the packet can be fragmented
Example
OS10#ping 10.0.0.1 -M dont


 

Ping in a VRF

Syntax
ping vrf <VRF-Name> <Destination IP>

Example
OS10# ping vrf RED 10.0.0.1
(RED is VRF name)


 

Example Cases


Consider we have to ping Ip address 10.0.0.1 and with Source IP address in switch as 20.0.0.1 and size 9100 and can be fragmented
OS10# ping 10.0.0.1 -I 20.0.0.1 -s 9100 -M dont

VRF
Consider we have to ping Ip address 10.0.0.1, in VRF RED and with Source IP address in switch as 20.0.0.1 and size 9100 and should not be fragmented
OS10# ping vrf RED 10.0.0.1 -I 20.0.0.1 -s 9100

Affected Products

PowerSwitch S3048-ON, PowerSwitch S4048-ON, PowerSwitch S4810-ON, Dell EMC Networking N3200-ON, PowerSwitch S4048T-ON, PowerSwitch S4112F-ON/S4112T-ON, PowerSwitch S4128F-ON/S4128T-ON, PowerSwitch S4148F-ON/S4148T-ON/S4148FE-ON, PowerSwitch S4148U-ON , PowerSwitch S4248FB-ON /S4248FBL-ON ...

Products

PowerSwitch S6000 ON, PowerSwitch S5048F-ON, PowerSwitch S5148F-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch S5448F-ON, PowerSwitch S6010-ON, PowerSwitch S6100-ON , PowerSwitch Z9100-ON, PowerSwitch Z9264F-ON, PowerSwitch Z9332F-ON, PowerSwitch Z9432F-ON, SmartFabric OS10 Software ...
Article Properties
Article Number: 000204198
Article Type: How To
Last Modified: 21 Nov 2023
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.