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

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

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

說明

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

受影響的產品

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 ...

產品

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 ...
文章屬性
文章編號: 000204198
文章類型: How To
上次修改時間: 21 11月 2023
版本:  2
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。