摘要 |
A network device and a method for establishing path data are provided, the network device is connected to a network to receive and send a signal, and records a MAC table data and a ring port table data. The MAC table data comprises at least one path data. Each path data includes a device MAC address information and a first identification. When a path of the network is interrupted, the network device adjusts a second identification of ring port information of the ring port table data. The ring port information is corresponding to the network. When the network device obtains a data frame, a destination path data matched with the data frame is obtained from the MAC table data, and a first identification corresponding to a connection port of the destination path data is compared with the second identification to decide an output port for the data frame.
|