hit counter script

Simulating A Finite Queue Size; Simulating Packet Drops - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

IP Network Simulator
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
Command
Step 2
switch# ips netsim max-bandwidth-kbps
4500 ingress gigabitethernet 2/4
switch# ips netsim max-bandwidth-mbps 45
ingress gigabitethernet 2/4
switch# ips netsim max-bandwidth-kbps 0
ingress gigabitethernet 2/3
switch# ips netsim max-bandwidth-kbps 0
ingress gigabitethernet 2/4

Simulating a Finite Queue Size

You can configure network simulator to simulate a finite queue size in a network device. Data packets
are dropped after the queue is full. To simulate a realistic network device, you should specify a queue
size of 50 to150 KB. The maximum acceptable queue size is 1000 KB.
To configure the network simulator to simulate a finite queue size, follow these steps.
Command
Step 1
switch# ips netsim qsize 75 ingress
gigabitethernet 2/3
Step 2
switch# ips netsim qsize 75 ingress
gigabitethernet 2/4
switch# ips netsim qsize 1000 ingress
gigabitethernet 2/3 gigabitethernet 2/4

Simulating Packet Drops

You can configure 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 10000. For example, if you wish to drop one
percent of packets, then you would specify it as 100 packets in 10000. 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 the specified number of packets will be dropped each time
a decision is made to drop a packet. If you do not specify the burst parameter, then only one packet is
dropped each time a decision is made to drop packets. The burst limit for either random or Nth drops is
between 1 and 100 packets. Take the burst parameter into account when specifying the percentage of
packet drops. For example, if you select random drops of 100 packets in 10,000 (one percent) with a
burst size of 2, then 200 packets (or two percent) are dropped every 10,000 packets.
Cisco MDS 9000 Family CLI Configuration Guide
58-26
Chapter 58
Purpose
Configures the network simulator to limit the
bandwidth rate to 4500 kbps for the Gigabit Ethernet
port 2/4 in one direction only.
Configures the network simulator to limit the
bandwidth rate to 45 mbps for the Gigabit Ethernet
port 2/4 in one direction only.
Disables network bandwidth rate simulation.
Purpose
Configures the network simulator to simulate a finite
queue size of 75 KB for the Gigabit Ethernet port 2/3
in one direction only.
Configures the network simulator to simulate a finite
queue size of 75 KB for the Gigabit Ethernet port 2/4
in one direction only.
Disables finite queue size simulation.
OL-18084-01, Cisco MDS NX-OS Release 4.x
Troubleshooting Your Fabric

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents