A fibre channel switch element that can generate a character or frame
based test pattern is provided. The switch element includes a buffer that
can be coupled to a transmission protocol engine for sending and
receiving data to and from a fibre channel network, wherein the buffer is
programmed to generate character or fibre channel frames for testing
plural links coupled to the fibre channel switch element while operating
in a character or frame mode. The buffer can be coupled to a receive or
transmit path and generates characters or frames based on a programmed
count to induce real-time errors. The real-time errors include a missing
start of frame ("SOF") and a missing end of frame ("EOF").