Method for determining a packet forwarding path, network device, and control device
First Claim
1. A method for determining a packet forwarding path, wherein the method is applied to a centralized system in which controlling and forwarding are separate, and the system comprises a control device and a network device managed by the control device, the method comprising:
- acquiring, by the network device, device information of the network device and interface information of the network device, wherein the device information of the network device comprises;
a device identifier of the network device,a device identifier of the control device, anda role identifier of the network device indicating a forwarding role in the centralized system,wherein the interface information of the network device comprises;
an interface identifier of the network device,an interface maximum transmission unit (MTU) of the network device,an interface type of the network device,a local circuit identifier of the network device,a circuit identifier of another network device adjacent to the network device, anda device identifier of the another network device, wherein the interface type of the network device, the local circuit identifier of the network device, the circuit identifier of the another network device and the device identifier of the another network device jointly identify a pair of neighbor relationships between the network device and the another network device; and
sending, by the network device, the device information and the interface information to the control device using an Interior Gateway Protocol (IGP) while not computing a packet forwarding path from the network device to the control device, so that the control device determines a packet forwarding path from the network device to the control device based on the device information and the interface information.
1 Assignment
0 Petitions
Accused Products
Abstract
The application provides a method for determining a packet forwarding path, a network device acquires device information of the network device and interface information of the network device, so that the network device can send the device information of the network device and the interface information of the network device to a control device by using an IGP, so that the control device determines a packet forwarding path from the network device to the control device according to the device information of the network device and the interface information of the network device. Each network device that sends device information and interface information of the network device by using an IGP does not need to compute a packet forwarding path from the network device to a corresponding control device; therefore, decreasing a processing burden of the network device.
5 Citations
10 Claims
-
1. A method for determining a packet forwarding path, wherein the method is applied to a centralized system in which controlling and forwarding are separate, and the system comprises a control device and a network device managed by the control device, the method comprising:
-
acquiring, by the network device, device information of the network device and interface information of the network device, wherein the device information of the network device comprises; a device identifier of the network device, a device identifier of the control device, and a role identifier of the network device indicating a forwarding role in the centralized system, wherein the interface information of the network device comprises; an interface identifier of the network device, an interface maximum transmission unit (MTU) of the network device, an interface type of the network device, a local circuit identifier of the network device, a circuit identifier of another network device adjacent to the network device, and a device identifier of the another network device, wherein the interface type of the network device, the local circuit identifier of the network device, the circuit identifier of the another network device and the device identifier of the another network device jointly identify a pair of neighbor relationships between the network device and the another network device; and sending, by the network device, the device information and the interface information to the control device using an Interior Gateway Protocol (IGP) while not computing a packet forwarding path from the network device to the control device, so that the control device determines a packet forwarding path from the network device to the control device based on the device information and the interface information. - View Dependent Claims (2, 3)
-
-
4. A method for determining a packet forwarding path, wherein the method is applied to a centralized system in which controlling and forwarding are separate, and the system comprises a control device and a network device that is managed by the control device, the method comprising:
-
receiving, by the control device, device information of the network device and interface information of the network device sent by using an Interior Gateway Protocol (IGP) by the network device managed by the control device, wherein the device information of the network device comprises; a device identifier of the network device, a device identifier of the control device, and a role identifier of the network device indicating a forwarding role in the centralized system, wherein the interface information of the network device comprises; an interface identifier of the network device, an interface maximum transmission unit (MTU) of the network device, an interface type of the network device, a local circuit identifier of the network device, a circuit identifier of another network device adjacent to the network device, and a device identifier of the another network device, wherein the interface type of the network device, the local circuit identifier of the network device, the circuit identifier of the another network device and the device identifier of the another network device jointly identify a pair of neighbor relationships between the network device and the another network device; and determining, by the control device, a packet forwarding path from the network device to the control device based on the device information and the interface information without needing the network device to compute a packet forwarding path from the network device to the control device. - View Dependent Claims (5)
-
-
6. A network device, wherein the network device is applied to a centralized system in which controlling and forwarding are separate, and the system comprises a control device and the network device that is managed by the control device, the network device comprising a processor that executes instructions to:
-
acquire device information of the network device and interface information of the network device, and transmit the device information and the interface information to a sender, wherein the device information of the network device comprises; a device identifier of the network device, a device identifier of the control device, and a role identifier of the network device indicating a forwarding role in the system, wherein the interface information of the network device comprises; an interface identifier of the network device, an interface maximum transmission unit (MTU) of the network device, an interface type of the network device, a local circuit identifier of the network device, a circuit identifier of another network device adjacent to the network device, and a device identifier of the another network device, wherein the interface type of the network device, the local circuit identifier of the network device, the circuit identifier of the another network device and the device identifier of the another network device jointly identify a pair of neighbor relationships between the network device and the another network device; and send the device information and the interface information to the control device using an Interior Gateway Protocol IGP, while not computing a packet forwarding path from the network device to the control device, so that the control device determines a packet forwarding path from the network device to the control device based on the device information and the interface information. - View Dependent Claims (7, 8)
-
-
9. A control device, wherein the control device is applied to a centralized system in which controlling and forwarding are separate, and the system comprises the control device and a network device that is managed by the control device, the control device comprising a processor that executes instructions to:
-
receive device information of the network device and interface information of the network device that are sent by using an Interior Gateway Protocol (IGP) by the network device managed by the control device, and transmit the device information and the interface information to a processor, wherein the device information of the network device comprises; a device identifier of the network device, a device identifier of the control device, and a role identifier of the network device indicating a forwarding role in the centralized system, wherein the interface information of the network device comprises; an interface identifier of the network device, an interface maximum transmission unit (MTU) of the network device, an interface type of the network device, a local circuit identifier of the network device, a circuit identifier of another network device adjacent to the network device, and a device identifier of the another network device, wherein the interface type of the network device, the local circuit identifier of the network device, the circuit identifier of the another network device and the device identifier of the another network device jointly identify a pair of neighbor relationships between the network device and the another network device; and determine a packet forwarding path from the network device to the control device based on the device information and the interface information, without needing the network device compute a packet forwarding path from the network device to the control device. - View Dependent Claims (10)
-
Specification