Abstract:
A network configuration method, an apparatus, and a computer-readable storage medium are provided, and belong to the field of communication technologies. The method includes: A first execution device sends a device discovery message to a management device. The device discovery message is a layer 2 packet and includes a first port identifier, where a port identified by the first port identifier is a port, in an up state, of the first execution device (301). The first execution device receives a first configuration message from the management device. The first configuration message is a layer 2 packet and includes a configuration parameter for a second execution device. The configuration parameter includes an internet protocol address of the second execution device, and the second execution device is connected to the port identified by the first port identifier (303). The first execution device sends the first configuration message through the port identified by the first port identifier (302). The execution device and the management device may discover a new device by themselves, deliver a configuration parameter, and complete network configuration on the discovered device, to save a large amount of manpower and improve network configuration efficiency.
Abstract:
In a virtual extensible local area network (VXLAN) packet encapsulation and policy execution method, a communications device determines an application identifier for identifying an application type of an Ethernet frame, and places the application identifier in a VXLAN header. Another device may directly execute a corresponding policy based on the application identifier in the VXLAN header and without analyzing a packet.
Abstract:
In a virtual extensible local area network (VXLAN) packet encapsulation and policy execution method, a communications device determines an application identifier for identifying an application type of an Ethernet frame, and places the application identifier in a VXLAN header. Another device may directly execute a corresponding policy based on the application identifier in the VXLAN header and without analyzing a packet.
Abstract:
A method, an apparatus, a device, and a system for generating a Dynamic Host Configuration Protocol snooping (DHCP) Snooping binding table. The method includes: constructing a request packet for obtaining information about a DHCP client, and sending the request packet to a DHCP server; receiving a response packet corresponding to the request packet, and extracting the information about the client from the response packet, where the information about the client includes the client's Internet Protocol (IP) address and Media Access Control (MAC) address; and obtaining the client's virtual local area network (VLAN) number and ingress port number through the MAC address, and generating the DHCP Snooping binding table. The technical solutions solve the problem that traffic of some clients is lost due to a lack of a DHCP Snooping binding table of these clients in a process of enabling DHCP Snooping.
Abstract:
A cover includes a cover body and a first line layer. The cover body is made of an insulating material, and the first line layer is made of a conductive material. The first line layer is completely built into the cover body, and the first line layer is configured to form a radiator, and is coupled to a radio frequency transceiver circuit of an electronic device. The first line layer includes a plurality of first conducting wires and a plurality of second conducting wires. The plurality of first conducting wires are arranged at intervals in a first direction, and the plurality of second conducting wires are arranged at intervals in a second direction. The plurality of first conducting wires and the plurality of second conducting wires are disposed intersecting each other. The first direction is different from the second direction.
Abstract:
A cover includes a cover body and a first line layer. The cover body is made of an insulating material, and the first line layer is made of a conductive material. The first line layer is completely built into the cover body, and the first line layer is configured to form a radiator, and is coupled to a radio frequency transceiver circuit of an electronic device. The first line layer includes a plurality of first conducting wires and a plurality of second conducting wires. The plurality of first conducting wires are arranged at intervals in a first direction, and the plurality of second conducting wires are arranged at intervals in a second direction. The plurality of first conducting wires and the plurality of second conducting wires are disposed intersecting each other. The first direction is different from the second direction.
Abstract:
This application provides a terminal device which includes a housing and a metal line. The metal line is disposed on an outer surface of the housing or embedded in the housing, and the metal line is configured to receive or send an electromagnetic wave signal. In the terminal device provided in this application, the metal line (an antenna) of the terminal device is disposed on the outer surface of the housing of the terminal device or embedded in the housing. This can increase a distance from the metal line to a circuit board of the terminal device, thereby reducing interference of a metal component on the circuit board to radiation of the metal line (radiation of the antenna) and improving operating bandwidth and efficiency of the antenna. This improves operating efficiency of the antenna of the terminal device, thereby improving signal receiving and signal sending quality of the terminal device.
Abstract:
A network service configuration method and a network management device, where the method includes obtaining, by a network management device, a terminal access port and an access parameter that is configured for the terminal access port and that is of a network service, determining a to-be-configured port according to the access parameter that is configured for the terminal access port and that is of the network service; generating a configuration instruction of the to-be-configured port, and sending the configuration instruction of the to-be-configured port to a to-be-configured network device. Hence, intervention from an administrator is not required, an error probability of network operation and maintenance may be reduced, efficiency of configuring a parameter of the network service is improved, and administrator time is saved.
Abstract:
A virtual eXtensible local area network (VXLAN) method comprises obtaining, by a network device, a mapping from a virtual local area network identifier VLAN ID to a VXLAN network identifier VNI, receiving, by the network device through a port, an Ethernet frame forwarded by an access device, where a VLAN tag field in the Ethernet frame includes the VLAN ID, adding, by the network device, a VXLAN header to the Ethernet frame based on the VLAN ID and the mapping to obtain a VXLAN packet, where a VNI field in the VXLAN header includes the VNI, and sending, by the network device, the VXLAN packet.
Abstract:
A network service configuration method and a network management device, where the method includes obtaining, by a network management device, a terminal access port and an access parameter that is configured for the terminal access port and that is of a network service, determining a to-be-configured port according to the access parameter that is configured for the terminal access port and that is of the network service; generating a configuration instruction of the to-be-configured port, and sending the configuration instruction of the to-be-configured port to a to-be-configured network device. Hence, intervention from an administrator is not required, an error probability of network operation and maintenance may be reduced, efficiency of configuring a parameter of the network service is improved, and administrator time is saved.