<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Ping sweep / range of IPs in the same subnet in Data Center (VDX)</title>
    <link>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/64261#M295</link>
    <description>&lt;P&gt;Thanks Michael this looks like a very good workaround and would solve my problem.&lt;/P&gt;  &lt;P&gt;I need to include a vrf in the command, so it would look something like this? As for logging is as root, I’ve not done that before (new to this platform), it’s as simple as ssh’g to the device and using root credentials?&lt;/P&gt;  &lt;PRE&gt;&lt;CODE class="language-bash"&gt;for i in $(seq 1 254); do ping 192.168.1.$i -c1 vrf vrf_name; done&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;  &lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jun 2020 06:08:23 GMT</pubDate>
    <dc:creator>Russ</dc:creator>
    <dc:date>2020-06-03T06:08:23Z</dc:date>
    <item>
      <title>Ping sweep / range of IPs in the same subnet</title>
      <link>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/64259#M293</link>
      <description>&lt;P&gt;Hi, how can I ping a subnet or run a file (script) that has all the ip’s I need to ping. On some&amp;nbsp;Cisco devices there is the extended ping where you can ping an entire subnet, or even run a script which would run each command sequentially but I can’t see a like option on a&amp;nbsp;VDX6740T.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 13:41:31 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/64259#M293</guid>
      <dc:creator>Russ</dc:creator>
      <dc:date>2020-06-02T13:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ping sweep / range of IPs in the same subnet</title>
      <link>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/64260#M294</link>
      <description>&lt;P&gt;Russ,&lt;/P&gt;  &lt;P&gt;&amp;nbsp;&lt;/P&gt;  &lt;P&gt;I am not aware of any PING Sweep feature built directly into NOS, however the VDX platform is built on Linux and you can accomplish this via a simple script.&lt;/P&gt;  &lt;P&gt;Login to your device as Root and use something like the following:&lt;/P&gt;  &lt;PRE&gt;&lt;CODE&gt;for i in $(seq 1 254); do ping -c1 192.168.11.$i; done &amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;  &lt;P&gt;This will ping every IP 1-254 in the subnet 192.168.11.0 one time.&lt;/P&gt;  &lt;P&gt;I hope this helps accomplish your goal.&lt;/P&gt;  &lt;P&gt;Thanks,&lt;/P&gt;  &lt;P&gt;Michael Morey&lt;BR /&gt; Principal Technical Support Engineer / Extreme Networks&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 19:55:33 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/64260#M294</guid>
      <dc:creator>Michael_Morey</dc:creator>
      <dc:date>2020-06-02T19:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ping sweep / range of IPs in the same subnet</title>
      <link>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/64261#M295</link>
      <description>&lt;P&gt;Thanks Michael this looks like a very good workaround and would solve my problem.&lt;/P&gt;  &lt;P&gt;I need to include a vrf in the command, so it would look something like this? As for logging is as root, I’ve not done that before (new to this platform), it’s as simple as ssh’g to the device and using root credentials?&lt;/P&gt;  &lt;PRE&gt;&lt;CODE class="language-bash"&gt;for i in $(seq 1 254); do ping 192.168.1.$i -c1 vrf vrf_name; done&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;  &lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 06:08:23 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/64261#M295</guid>
      <dc:creator>Russ</dc:creator>
      <dc:date>2020-06-03T06:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ping sweep / range of IPs in the same subnet</title>
      <link>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/64262#M296</link>
      <description>&lt;BLOCKQUOTE&gt; &lt;P&gt;&amp;nbsp;As for logging is as root, I’ve not done that before (new to this platform), it’s as simple as ssh’g to the device and using root credentials?&lt;/P&gt; &lt;/BLOCKQUOTE&gt;  &lt;P&gt;&amp;nbsp;&lt;/P&gt;  &lt;P&gt;Yes, simply login remotely and provide the root credentials to login.&lt;/P&gt;  &lt;P&gt;&amp;nbsp;&lt;/P&gt;  &lt;BLOCKQUOTE&gt; &lt;P&gt;I need to include a vrf in the command, so it would look something like this?&amp;nbsp;&lt;/P&gt;  &lt;P&gt;for i in $(seq 1 254); do ping 192.168.1.$i -c1&lt;STRONG&gt; vrf vrf_name&lt;/STRONG&gt;; done&lt;/P&gt; &lt;/BLOCKQUOTE&gt;  &lt;P&gt;&amp;nbsp;&lt;/P&gt;  &lt;P&gt;This is a little more complicated.&amp;nbsp; By default when you login as root, you are in the VRF “mgmt-vrf”.&amp;nbsp; In the PING utility there is no option for “vrf vrf_name”, however you can use the -F flag and use the VRFid Number&amp;nbsp;to send a ping across a different VRF.&amp;nbsp; To check the VRF Name &amp;lt;&amp;gt; Number mapping do the following:&lt;/P&gt;  &lt;PRE&gt;&lt;CODE&gt;VDX1:FID128:root&amp;gt; noscli&lt;BR /&gt;&lt;BR /&gt;Static-Lab-SM08_VDX1# show vrf&lt;BR /&gt;Total number of VRFs configured: 3&lt;BR /&gt;VrfName                          VrfId  V4-Ucast  V6-Ucast  &lt;BR /&gt;default-vrf                      1      Enabled   Enabled  &lt;BR /&gt;mgmt-vrf                         0      Enabled   Enabled  &lt;BR /&gt;orange                           2      Enabled     -      &lt;BR /&gt;&lt;BR /&gt;VDX1# exit&lt;BR /&gt;&lt;BR /&gt;VDX1:FID128:root&amp;gt; ping 3.0.0.2 -F 1 &lt;BR /&gt;PING 3.0.0.2 (3.0.0.2): 56 data bytes&lt;BR /&gt;64 bytes from 3.0.0.2: icmp_seq=0 ttl=64 time=1.460 ms&lt;BR /&gt;64 bytes from 3.0.0.2: icmp_seq=1 ttl=64 time=1.420 ms&lt;BR /&gt;64 bytes from 3.0.0.2: icmp_seq=2 ttl=64 time=1.395 ms&lt;BR /&gt;64 bytes from 3.0.0.2: icmp_seq=3 ttl=64 time=1.397 ms&lt;BR /&gt;64 bytes from 3.0.0.2: icmp_seq=4 ttl=64 time=1.566 ms&lt;BR /&gt;^C--- 3.0.0.2 ping statistics ---&lt;BR /&gt;5 packets transmitted, 5 packets received, 0% packet loss&lt;BR /&gt;round-trip min/avg/max/stddev = 1.395/1.448/1.566/0.064 ms&lt;BR /&gt;&lt;BR /&gt;Without specifying the VRF number, ping fails:&lt;BR /&gt;&lt;BR /&gt;VDX1:FID128:root&amp;gt; ping 3.0.0.2&lt;BR /&gt;PING 3.0.0.2 (3.0.0.2): 56 data bytes&lt;BR /&gt;^C--- 3.0.0.2 ping statistics ---&lt;BR /&gt;5 packets transmitted, 0 packets received, 100% packet loss&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;  &lt;P&gt;So all together the command would look like:&lt;/P&gt;  &lt;PRE&gt;&lt;CODE&gt;for i in $(seq 1 254); do ping 192.168.1.$i -c1 -F VRF_ID_NUMBER; done&lt;/CODE&gt;&lt;/PRE&gt;  &lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 20:51:55 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/64262#M296</guid>
      <dc:creator>Michael_Morey</dc:creator>
      <dc:date>2020-06-03T20:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ping sweep / range of IPs in the same subnet</title>
      <link>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/64263#M297</link>
      <description>&lt;P&gt;Thanks again Michael - I’ve inherited these switches where documenting accounts is an after thought. What’s the default root user password. do you know?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 05:37:58 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/64263#M297</guid>
      <dc:creator>Russ</dc:creator>
      <dc:date>2020-06-04T05:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ping sweep / range of IPs in the same subnet</title>
      <link>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/93483#M642</link>
      <description>&lt;P&gt;Hi, How can I get into the noscli? I know how to enter the&amp;nbsp;&lt;!--   StartFragment    --&gt;&lt;SPAN class=""&gt;foscmd, but doesn't appear to give the same interface/option.&amp;nbsp;&lt;/SPAN&gt;&lt;!--   EndFragment    --&gt;&lt;/P&gt;&lt;P&gt;What about python? I've taken a brief look at the python CLI, tried to built a script, but bc there's no documentation (at least I can find) on how to drive python on these switches I come up empty!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 03:47:14 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/data-center-vdx/ping-sweep-range-of-ips-in-the-same-subnet/m-p/93483#M642</guid>
      <dc:creator>Russ</dc:creator>
      <dc:date>2022-10-24T03:47:14Z</dc:date>
    </item>
  </channel>
</rss>

