Thought this one was simple, alas not so far. I have a 2800 router running 12.4 with 2 Gig Interfaces on it. 1 machine on each of the interfaces. You can ping back and fourth and I have about a 0.5msec. I want to increase the delay to simulate WAN delay. So looking thru docs I found the interface delay command. Alas I have tried it and even rebooted router with no luck. Config shown below. The ping delay remains at 0.5msec. With ths below I would expect it to jump up to 60.5msec.
This delay command is used for routing protocol calculations and path determination. You could try to ping with larger packets to simulate higher ping times:
ping x.x.x.x size 10000 rep 100
That *might* work. Default is 1500, but you can start with the above and decrease until you start getting replies. It's possible that you could time out with the above because your responding end may drop packets that large.
What I want to achieve is an increase in end-to-end delay for all packets being routed thru the router. small pings, large pings, UDP data, etc. So while a large ping does add .1msec of delay, it does not change the delay of a 1000 byte ping with a router setting of delay 3000 or no delay.
Changing the interface speed to 10M is not an option. 100M might be, although it would not be ideal. Again however that does not have the desired effect.
What is it your ultimately trying to accomplish? Your *best* option may be shaping if you have access to the other end of the link. You could classify your traffic and then shape it based on your needs.
I am trying to simulate end-to-end WAN delay with a single 2800 router than in essence has virtually no delay. I have control over both sides of the router. shaping you say? Will have to look that up as I have no used it before.
You need to get a WAN simulator to perform the tests that your after. Besides doing some kind of "funky" QoS configuration (which won't accurately test what you are after), there is no way to do this from the command line.
Take a look at the Shunra WAN simulators. This will allow you to properly inject delay, jitter, and packet loss for testing. BTW - there are other vendors to choose from, this one just comes to mind.
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...