Patent ID: 8638683

Claim:
A method for generating a frame signal performed by a network device, the method comprising: monitoring a first frame signal input to the network device and obtaining a first parameter based on the monitoring result; setting a second parameter based on a type of the first frame signal; when the first frame signal is being input to the network device, generating a second frame signal with a bit rate that is different from a bit rate of the first frame signal by determining data and stuff byte positions for frame processing based on the first parameter and by performing the frame processing on data and stuff bytes corresponding to the first frame signal based on the determined data and stuff byte positions; and when the first frame signal is not being input to the network device, generating the second frame signal without using any oscillator by determining the data and stuff byte positions for the frame processing based on the second parameter and by performing the frame processing on data and stuff bytes corresponding to a maintenance signal based on the determined data and stuff byte positions.