Ips Netsim Drop Random - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

Chapter 11
I Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

ips netsim drop random

To drop packets randomly at a specified Gigabit Ethernet interface, use the ips netsim drop random
command in SAN extension tuner configuration submode.
Syntax Description
random percentage
burst burst-size
ingress
gigabitethernet
slot/ port
Defaults
Disabled.
Command Modes
SAN extension tuner configuration submode.
Command History
Release
3.1(1)
Usage Guidelines
To use this command, you must enable the IP Network Simulator using the ips netsim enable command.
You can configure the IP Network Simulator to simulate packet drops (even when the queue is not full)
randomly (specified as a percentage) or every Nth packet. Percentage is represented as the number of
packets in 10,000. For example, if you want to drop one percent of packets, then specify it as 100 packets
in 10,000. To simulate a realistic scenario for IP networks using random drops, the drop percentage
should be between zero and one percent of packet drops in the specified traffic direction.
If you use the optional burst parameter, then a specified number of packets are dropped. If you do not
specify the burst parameter, then only one packet is dropped. The burst limit for either random or Nth
drops is 1 to 100 packets. Take the burst parameter into account when specifying the percentage of
packets dropped. For example, if you select a random drop of 100 packets in 10,000 (or one percent)
with a burst of 2, 200 packets (or two percent) in every 10,000 packets are dropped. Specifying 2 for
burst doubles the packet drop.
Examples
The following example shows how to configure an interface to drop one percent of packets.
switch# config terminal
switch(config)#
switch(config)# san-ext-tuner enable
switch(config)# exit
switch#
switch# ips netsim drop random 100 burst 1 ingress gigabitethernet 2/3
OL-8413-07, Cisco MDS SAN-OS Release 3.x
ips netsim drop random packet-percentage {burst burst-size ingress gigabitethernet slot/port |
ingress gigabitethernet slot/port}
Specifies the percentage of packets dropped. The range is 0 to 10000.
Specifies the packet burst size. The range is 1 to 100.
Specifies the ingress direction.
Specifies the the slot and port number of the Gigabit Ethernet interface.
Modification
This command was introduced.
Cisco MDS 9000 Family Command Reference
ips netsim drop random
11-59

Advertisement

Table of Contents
loading

Table of Contents