Abstract:
A forwarding table generation method is provided. The method includes: determining, by a forwarding device, a first timeslot set, where the first timeslot set includes multiple timeslots during which the forwarding device sends, to a first device by using a first flexible Ethernet group, multiple encoded data blocks generated by a physical coding sublayer; determining, by the forwarding device, a second timeslot set, where the second timeslot set includes multiple timeslots during which the forwarding device receives, by using a second FlexE group, the multiple encoded data blocks sent by a second device; and generating, by the forwarding device, a forwarding table, where the forwarding table includes a mapping relationship between the second FlexE group and the multiple timeslots included in the second timeslot set, and between the first FlexE group and the multiple timeslots included in the first timeslot set.
Abstract:
This application discloses a method for computing a forwarding path. The method includes: receiving, by a network device, notification packets separately sent by a plurality of forwarding nodes, where each notification packet includes interface forwarding delay information of the forwarding node that sends the notification packet, device forwarding delay information of the forwarding node, and a transmission delay of a link connected to the forwarding node; obtaining the interface forwarding delay information and the device forwarding delay information of each of the plurality of forwarding nodes, and obtaining a transmission delay of a link between the plurality of forwarding nodes; and computing a forwarding path between a first forwarding node and a second forwarding node, where a forwarding delay of the forwarding path meets a delay requirement of a service.
Abstract:
Embodiments of the present invention disclose a method for creating a ring network label switched path. The method includes: receiving, by a first node, a first Path message used for creating a first label switched path from a second node; allocating a first label to the first label switched path; sending a first Resv message carrying the first label to the second node; and when the first node receives a second Path message and determines that a destination node of the second label switched path is the same as that of the first label switched path, allocating the first label to the second label switched path; and sending a second Resv message carrying the first label to the second node. Solutions of the embodiments of the present invention helps reduce the number of created ring network label switched paths and maintenance complexity.
Abstract:
Embodiments of the present invention provide a VPLS fast rerouting method and device. The method includes: generating, by a remote PE, a backup forwarding entry; and when a designated forwarder or a designated forwarder pseudo wire in a multihoming protection group fails, or the designated forwarder is switched in the multihoming protection group, forwarding, by the remote PE, a data packet according to the backup forwarding entry, thereby avoiding broadcasting the data packet to all remote PEs that belong to the same VPLS instance, and further reducing a waste of bandwidth resources in a backbone network and processing resources of the PE.