Forum Discussion
kev_245_28249
Apr 28, 2011Nimbostratus
ping from a route domain
hi,
just wondering, in order to test the routing on a route domain do you ping to the destination with the %id after it?
ie for route domain 13 - ping 10.10.10.10%13
jzhyc5_48613
Oct 01, 2013Nimbostratus
Used when troubleshootign wioth telnet in a vrd environemnt (as per SOL10467)
!/usr/bin/perl
telnetvrd: Simple perl wrapper when trying to troubleshoot using telnet and Virtual Route
Domains, (See VRD, SOL10467)
Use as you would with ping, e.g. telnet 192.168.99.1%1902 8080
It'll save going through the Hex conversion.
There are plenty of ways to improve it but its simple enough for my needs.
Easily converted to bash shell if required.
Note: If BigIP is running code pre 10.1.0, the baseStr value should be changed to:
"2610:0000:0C10:F501:0000:";
$baseStr="2620:0000:0C10:F501:0000:";
$vrd = ""; $hexvrd = ""; $ip = ""; $port = ""; $arg = "";
($ip, $vrd) = split(/%/, $ARGV[0]); $port = $ARGV[1];
$hexvrd = sprintf("%04x", $vrd); $arg = $baseStr.$hexvrd.":".$ip." ".$port;
`telnet $arg`;
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects