主权项 |
1. A network relay apparatus comprising a redirect portion and m switch portions (m>=1);
the redirect portion comprising, n communication ports (n>1), a reception device which receives data including information for selecting one of the switch portions and data body which is to be transmitted, from any one of the communication ports, a transfer device which selects a switch portion as an output destination on the basis of the information for switch selection, and transfers data including the data body to the selected switch portion, and a transmission device which receives the data including the data for specifying the communication port selected as the output destination and the data body, from the switch portion which has transferred the data, and transmits data including the data body through the communication port which is specified as the output destination by the information; and each of the switch portions comprising, a process content holding device which holds instruction information representing the content of a designated process, a processing device which refers to the held instruction information, and executes the process regarding the data to be transferred from the redirect portion, and a transfer device which, on the basis of the result of the process execution, if the data body included in the data to be transferred from the redirect portion is output, transfers data including the data body and the information specifying the communication port selected as the output destination, to the redirect portion. |