Ips Netsim Drop Nth - Cisco MDS 9124 - Fabric Switch Reference

Cisco mds 9000 family command reference - cisco mds san-os release 3.0(1) through 3.3(1a) (ol-16217-01, april 2008)
Hide thumbs Also See for Cisco MDS 9124 - Fabric Switch:
Table of Contents

Advertisement

ips netsim drop nth

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 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.
Syntax Description
nth packet
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 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
Cisco MDS 9000 Family Command Reference
11-60
ips netsim drop nth packet {burst burst-size ingress gigabitethernet slot/port | ingress
gigabitethernet slot/port}
Specifies a specific packet to drop. The range is 0 to 10,000.
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.
Chapter 11
OL-16217-01, Cisco MDS SAN-OS Release 3.x
I Commands

Advertisement

Table of Contents
loading

Table of Contents