Send documentation comments to mdsfeedback-doc@cisco.com
11-57
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 11 I Commands
ips netsim drop nth
ips netsim drop nth
To drop packets every nth packet at a specified Gigabit Ethernet interface, use the ips netsim drop nth
command in SAN extension tuner configuration submode.
ips netsim drop nth packet {burst burst-size ingress gigabitethernet slot/port | ingress
gigabitethernet slot/port}
Syntax Description
Defaults Disabled.
Command Modes SAN extension tuner configuration submode.
Command History
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 every 100th packet, 2 packets at a
time.
switch# config terminal
switch(config)#
switch(config)# san-ext-tuner enable
switch(config)# exit
switch#
switch# ips netsim drop nth 100 burst 2 ingress gigabitethernet 2/3
nth packet Specifies a specific packet to drop. The range is 0 to 10,000.
burst burst-size Specifies the packet burst size. The range is 1 to 100.
ingress Specifies the ingress direction.
gigabitethernet
slot/ port
Specifies the the slot and port number of the Gigabit Ethernet interface.
Release Modification
3.1(1) This command was introduced.