cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
367
Views
1
Helpful
2
Replies

Unable to run "ping from source-interface" command (N9K-C93180YC-FX)

Scott Appel
Level 1
Level 1

I'm attempting to run the following ping command:

switch# ping 8.8.8.8 source-interface ethernet 1/48 count unlimited

Switch reply = ping: bad context

 

I can run standard ping successfully:

switch# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=116 time=10.821 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=10.629 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=116 time=10.298 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=116 time=10.431 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=116 time=10.489 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 packets received, 0.00% packet loss
round-trip min/avg/max = 10.298/10.533/10.821 ms

 

Not sure why the extended ping command isn't working, it's pretty standard, any suggestions?

 

2 Replies 2

dont use source-interface use source <IP of interface>
MHM

RyanM_
Level 1
Level 1

You may need to specify a VRF.

Review Cisco Networking for a $25 gift card