78
Development Tools User’s Manual
IXP2400/IXP2800 Network Processors
Developer Workbench
2.11
Packet Simulation
The Workbench provides packet simulation of Media bus devices as well as simulation of network
traffic. To simulate devices and network traffic you need to:
1. Configure the devices on the media bus using the
System Configuration
menu (or busses if
you have multiple Network Processor chips).
This involves specifying how many devices are on the bus as well as the characteristics of each
device.
2. Create one or more data streams (see
These streams can consist of, but are not limited to, Ethernet frames or ATM cells.
3. Assign one or more data streams or a network traffic DLL to each device port that you want to
receive network traffic.
4. Specify the options under which you want the traffic simulation to operate using the
Packet
Simulation Options ...
menu.
The
Packet Simulation Options
dialog box has four tabs:
General
).
Traffic Interface Logging
- (see
Stop Control
- (see
Traffic Assignment
- (see
Manage NTS Plug-ins
- (see
While you are running your simulation, you can observe the connections you have assigned to the
devices that you have created.
Packets won’t be received until you execute the command line function
ps
_
start_packet_receive()
. This can be done in several ways:
— Go to the
Command Line
window and type the command
ps_start_packet_receive()
;
or
— Add the command
ps_start_packet_receive();
to one of your startup scripts at the point where you want packet reception to begin, or
Create a command script (see
) with the command
ps_start_packet_receive();
, add
the command script’s button to the toolbar, then click the button when you want to start receiving
packets.