A
repeater usable as one of a plurality of repeaters (11-15) forming a communication network (1) together with a monitoring device (30), wherein the plurality of repeaters (11~15) each have a plurality of ports (P0~P7), wherein at least one of the plurality of ports (P0~P7) in each of the plurality of repeaters (11~15) is connected to a port of another
repeater, and one of the plurality of repeaters (11~15) performs
port mirroring to one of its own plurality of ports (P0~P7), wherein a mirror frame duplicated by the
port mirroring is transferred to the monitoring device (30) monitoring the mirror frame, wherein the mirror frame contains a header, a type, and
payload, wherein the header contains a sender
media access control address, sender
MAC address, wherein the
repeater comprises: a first transfer unit (10a, S140~S160) configured to to add port information to the mirror frame as transfer
route information, the port information being indicative of (i) one port among the plurality of ports (P0~P7) at the repeater acting as a monitoring port at which the
port mirroring is performed, and (ii) another port other than the one port among the plurality of ports (P0~P7) at the repeater acting as a first destination port from which the mirror frame is output and transferred to the monitoring device (30), and output the mirror frame to which the transfer
route information from the first destination port has been added, when the repeater performs port mirroring and is monitored by the monitoring device (30), and a second transfer unit (10b, S170∼S200) configured to add the port information to the mirror frame as the transfer
route information, wherein the port information is indicative of (iii) one port among the plurality of ports (P0~P7) of the repeater at which the mirror frame is received from the other repeater, and (iv) another port, different from the one port, among the plurality of ports (P0~P7) at the repeater acting as a subsequent destination port from which the received mirror frame is output and transferred to the monitoring device (30), and output the received mirror frame to which the transfer route information has been added from the subsequent destination port, if the repeater does not perform port mirroring and is not monitored by the monitoring device (30).