摘要 |
A network system includes at least one controller and a plurality of forwarding devices, where the plurality of forwarding devices forms a plurality of network topologies; the at least one controller is configured to: allocate, according to a different attribute requirement of a virtual link on a basic link in the network topology, a link global label to the basic link in the network topology based on the attribute requirement, and send a link binding relationship between the link global label and <a network topology ID, a basic link identifier, and an attribute> to the plurality of forwarding devices, where a link global label allocated to each virtual link is different; and the plurality of forwarding devices is configured to receive the link binding relationship, and generate, according to the link binding relationship, a label forwarding entry including a mapping relationship between the link global label and virtual link forwarding information, where the virtual link forwarding information includes the basic link and specified attribute processing that are corresponding to the link global label. |