Abstract:
An embodiment provides a packet transmission method and apparatus, to resolve a problem that occurs when a packet cannot traverse a NAT device when VTEPs communicate with each other through the NAT device. The method is applied to a VXLAN including a first VTEP, a second VTEP, and a NAT device. The method includes: performing, by the first VTEP, VXLAN encapsulation on a first packet, obtaining a second packet; sending, by the first VTEP, the second packet to the second VTEP through the NAT device; and performing, by the second VTEP, VXLAN decapsulation on the received second packet, to obtain the first packet. The first packet is a packet to be sent by the first VTEP, a destination port number of the second packet is obtained based on a destination IP address of the second packet, and a source port number of the second packet is a preset port number.
Abstract:
This application discloses a service chain fault detection method and an apparatus. The method includes: obtaining, by a service forwarding entity SFE, a first fault tracing detection request packet, and then determining to communicate with a first service function SF node, where the first fault tracing detection request packet includes a path identifier ID and an address of a device for initiating fault detection, and the path ID is used to identify a path of a service chain; obtaining, by the SFE, an ID of the first SF node; and sending, by the SFE, a first fault tracing detection response packet to the device for initiating fault detection, where the first fault tracing detection response packet includes the path ID, the ID of the first SF node, and the address of the device for initiating fault detection.
Abstract:
A controller receives an access request message of a to-be-served flow that is sent by a network device. The access request message includes an identifier of the to-be-served flow and an identifier of a terminal that sends the to-be-served flow. The controller determines service level information of the to-be-served flow based on the identifier of the terminal and the identifier of the to-be-served flow. The controller determines a transmission path of the to-be-served flow and a transmission path of a being-served flow based on the service level information of the to-be-served flow and service level information of the being-served flow. The controller publishes the transmission path of the to-be-served flow and the transmission path of the being-served flow to the network device.
Abstract:
Embodiments of this application provide a resource obtaining method. A server side obtains a resource request that includes information about a resource requested by the server side. The server side sends the resource request to a client. After receiving the resource request, the client obtains, according to the information about the resource requested by the server side, information about a resource allocated to the server side. The client sends, to the server side, a resource response that includes the information about the resource allocated to the server side. In the method provided in the embodiments of this application, the server side actively sends, to the client, the resource request used to request the resource, and the resource that is allocated by the client to the server side according to the resource request of the server side can better meet an actual requirement of the server side.
Abstract:
A method is performed by a control device, and the method includes: obtaining a first request and a second request, where the first request includes a bandwidth required by a first service, the second request includes a bandwidth required by a second service; determining the bandwidth required by the first service, and the bandwidth required by the second service, that a bandwidth occupation conflict exists between the first request and the second request; obtaining a plurality of comprehensive allocation modes for the first service and the second service based on the bandwidth provided by the port, the bandwidth required by the first service, and the bandwidth required by the second service; and determining a preferred comprehensive allocation mode from the plurality of comprehensive allocation modes based on a bandwidth allocation policy group including a plurality of bandwidth allocation policies.
Abstract:
A method is performed by a control device, and the method includes: obtaining a first request and a second request, where the first request includes a bandwidth required by a first service, the second request includes a bandwidth required by a second service; determining the bandwidth required by the first service, and the bandwidth required by the second service, that a bandwidth occupation conflict exists between the first request and the second request; obtaining a plurality of comprehensive allocation modes for the first service and the second service based on the bandwidth provided by the port, the bandwidth required by the first service, and the bandwidth required by the second service; and determining a preferred comprehensive allocation mode from the plurality of comprehensive allocation modes based on a bandwidth allocation policy group including a plurality of bandwidth allocation policies.
Abstract:
A method and an apparatus for processing a modified packet. A first routing device obtains a first packet sent by a second routing device, where the first packet carries a first correspondence, creates a forwarding entry that includes the first correspondence, receives a modified packet and determines an ID of a destination service function (SF) of the modified packet, queries the forwarding entry according to the ID of the destination SF, and determines that an SF identified by the ID of the destination SF is an SF connected to a second routing device, and forwards the modified packet to the second routing device.
Abstract:
The present invention discloses a method for acquiring a PON port association relationship. An OLT where a standby PON port is located receives a protection packet from an optical network unit, parses the protection packet to obtain an identifier of an active PON port carried in the packet, and acquires an association relationship between the active PON port and the standby PON port according to an identifier of the standby PON port receiving the protection packet. When the present invention is implemented, the OLT where the standby PON port is located can acquire an association relationship between an active PON port and a standby PON port, and determine, according to the association relationship, whether the protection packet is valid or acquire, according to the association relationship, configuration information of the active PON port.
Abstract:
This application provides a method for obtaining a FIB of a device on a network. The network includes a verification system and a plurality of devices, and a first device is one of the plurality of devices. The first device receives a request message sent by the verification system, where the request message carries a command for obtaining a FIB of the first device that is generated at a specified time. The first device obtains the FIB or a FIB snapshot of the first device that is generated at the specified time. The first device adds the obtained FIB or FIB snapshot to a response message, and sends the response message to the verification system.
Abstract:
This application provides a method for obtaining a FIB of a device on a network. The network includes a verification system and a plurality of devices, and a first device is one of the plurality of devices. The first device receives a request message sent by the verification system, where the request message carries a command for obtaining a FIB of the first device that is generated at a specified time. The first device obtains the FIB or a FIB snapshot of the first device that is generated at the specified time. The first device adds the obtained FIB or FIB snapshot to a response message, and sends the response message to the verification system.