A method of integrating switching and transferring of inputted SONET/SDH, PDH, and Ethernet signals, to output SONET/SDH, PDH, and Ethernet signals which are transformed into a signal form appropriate for an external device after carrying out mutual switching for each of the inputted signals, the method comprising:
- generating and storing information to process an output signal with characteristics of the input signal as a basis;
- if the input signal is an Ethernet signal, transforming the input Ethernet signal into packets with predetermined length using one of the input Ethernet signal and an IP data included in the input Ethernet signal, and switching the packets with predetermined length using the generated and stored information;
- if the input signal is DSn or OC-M/STM-N signal, transforming DSn or OC-M/STM-N signal into a VC3/4 signal;
- timeslot switching the VC3/4 signal using the generated and stored information;
- transforming the switched packets with predetermined length into a form appropriate for timeslot switching by EOS signal processing after reassembling into an Ethernet signal based on the generated and stored information;
- if the input signal is DSn or OC-M/STM-N signal, transforming the DSn or OC-M/STM-N signal into a VC3/4 signal;
- and
- transforming the timeslot switched VC3/4 signal into a form appropriate for packet switching by extracting an Ethernet signal by EOS signal processing and segmenting into packets with predetermined length using the generated and stored information;
- and
- outputting the switched packets and the timeslot switched VC3/4 signal transformed into an appropriate form after doing one of multiplexing, inverse mapping, and reassembling of the transformed switched packets into a signal form appropriate for the external device.