CN107820262B - Parameter configuration method, device and system - Google Patents

Parameter configuration method, device and system Download PDF

Info

Publication number
CN107820262B
CN107820262B CN201610822752.5A CN201610822752A CN107820262B CN 107820262 B CN107820262 B CN 107820262B CN 201610822752 A CN201610822752 A CN 201610822752A CN 107820262 B CN107820262 B CN 107820262B
Authority
CN
China
Prior art keywords
access
network device
configuration
parameter
access terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610822752.5A
Other languages
Chinese (zh)
Other versions
CN107820262A (en
Inventor
于斌
徐霆
唐小虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610822752.5A priority Critical patent/CN107820262B/en
Priority to PCT/CN2017/101311 priority patent/WO2018050041A1/en
Publication of CN107820262A publication Critical patent/CN107820262A/en
Application granted granted Critical
Publication of CN107820262B publication Critical patent/CN107820262B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Abstract

The application discloses a parameter configuration method, device and system, and belongs to the technical field of networks. The method comprises the following steps: receiving access parameters of an access terminal sent by access network equipment, determining configuration parameters and service paths corresponding to the access terminal according to the access parameters, and sending configuration instructions to each network equipment in the service paths, wherein the configuration instructions are used for indicating the network equipment to configure according to the configuration parameters; the problem of low parameter configuration efficiency caused by manual parameter configuration of network equipment related to the access terminal in advance by a network administrator is solved; the effect that the management network equipment automatically generates the configuration instruction according to the access parameter, so that each network equipment in the service path corresponding to the access terminal automatically configures according to the configuration instruction is achieved, and the parameter configuration efficiency is improved.

Description

Parameter configuration method, device and system
Technical Field
The embodiment of the invention relates to the technical field of networks, in particular to a parameter configuration method, device and system.
Background
The network generally includes at least two network devices, and the at least two network devices are configured to forward service data of a service corresponding to an access terminal to the access terminal. For example, the network device is a switch, and the access terminal is a set-top box, the switch is configured to forward service data provided by the application server to the set-top box.
In the network 100 shown in fig. 1, the device types of the access terminal 151 include: a Wireless Access Point (WAP) or a wired access terminal. For example, the wired access terminal is a set-top box or a computer. When the access terminal 151 belongs to different device types, the service data that needs to be forwarded to the access terminal 151 is different, and the network device in the network 100 for forwarding the service data also needs different configurations when forwarding the service data. Therefore, the network administrator needs to configure the network device in advance according to the device type of the access device 151. For example, assume that the access terminal 151 is a WAP, which is controlled or managed by the wireless access point controller. The WAP establishes a connection with the wireless access point controller and joins a Virtual Local Area Network (VLAN), thereby providing a wireless network for wireless terminals such as mobile phones, tablet computers, and portable computers. As with network 100 shown in fig. 1, radio access point controller 160 is typically coupled to network device 110. In fig. 1, the network devices that forward traffic data for access terminal 151 are network device 110, network device 120, and network device 130. The network administrator configures network device 110, network device 120, and network device 130 based on the VLAN identification of the virtual local area network that the WAP needs to join. Network device 110 sends and/or receives traffic data identified by the VLAN through port 111. Network device 120 sends and/or receives traffic data identified by the VLAN through port 121 and port 122. Network device 130 sends and/or receives traffic data identified by the VLAN through port 131 and port 132.
For each access terminal, a network administrator needs to manually configure parameters of related network equipment in advance, and the parameter configuration process is complex and inefficient.
Disclosure of Invention
In order to solve the problem of low efficiency of manual parameter configuration, the application provides a parameter configuration method, device and system. The technical scheme is as follows:
in a first aspect, a parameter configuration method is provided, which includes:
the management network equipment receives access parameters of an access terminal sent by access network equipment, wherein the access network equipment is the network equipment connected with the access terminal; the management network device sends a configuration instruction to at least one network device in a service path corresponding to the access terminal, wherein the configuration instruction comprises a configuration parameter, the configuration instruction is used for indicating the at least one network device to perform configuration according to the configuration parameter, and the at least one network device comprises an access network device.
The management network device automatically generates a configuration instruction according to the access parameter, so that each network device in the service path corresponding to the access terminal automatically configures according to the configuration instruction; the problem of low parameter configuration efficiency caused by manual parameter configuration of network equipment related to the access terminal in advance by a network administrator is solved; the effect of improving the parameter configuration efficiency is achieved.
In a first implementation manner of the first aspect, the access parameter includes a device type of the access terminal; the method further comprises the following steps: the management network device determines a configuration parameter corresponding to the device type of the access terminal according to a preset corresponding relationship, wherein the preset corresponding relationship comprises mapping from at least one device type to at least one configuration parameter.
The configuration parameters are determined by the management network device according to the device type included in the access parameters sent by the access network device, so that the configuration parameters can be adapted to the device type of the access terminal.
With reference to the first aspect or the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the access parameter further includes an access location of the access terminal; the method further comprises the following steps: the management network equipment determines the parameter type of the configuration parameter, and determines a service path with the access position as an end point according to the network topology and the parameter type.
With reference to any one of the first aspect, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the managing, by a network device, a receiving, by an access network device, an access parameter of an access terminal, where the receiving is sent by the access network device, includes: and receiving Access parameters sent by a Control and provisioning of Wireless Access Points (CAPWAP) protocol for the Access network equipment.
With reference to any one of the first aspect, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the sending a configuration instruction to each network device in a traffic path includes: and sending configuration instructions to each network device in the service path by using the CAPWAP protocol.
With reference to the first aspect, the first implementation manner of the first aspect, and any one of the second implementation manner of the first aspect, the third implementation manner of the first aspect, and the fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the sending a configuration instruction to each network device in a traffic path includes: determining network ports of each network device in a service path; generating a configuration instruction corresponding to the network equipment according to the network port of each network equipment and the configuration parameters, wherein the configuration instruction is used for indicating the network equipment to configure according to the configuration parameters and the network ports, and the access network equipment processes the service data received and/or sent from the network ports according to the configuration parameters after configuring; and sending a configuration instruction to the network equipment.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, and the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the Configuration parameter includes at least one of a VLAN identifier, an Internet Group Management Protocol Snooping (IGMP Snooping) and a Dynamic Host Configuration Protocol Snooping (DHCP Snooping).
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, the fifth implementation manner of the first aspect, and the sixth implementation manner of the first aspect, in a seventh implementation manner of the first aspect, the configuration instruction includes at least one set of packet type fields and parameter fields, and when the packet type fields are the first type fields, the parameter fields in the same set are used to indicate configuration parameters; when the message type field is the second type field, the parameter field of the same group is used for indicating the port identification of the network port.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, the fifth implementation manner of the first aspect, and the sixth implementation manner of the first aspect, in an eighth implementation manner of the first aspect, the access parameter includes at least one of a device type of the access terminal, a device address of an access network device connected to the access terminal, and an access location of the access terminal in the access network device, the access parameter includes at least one group of a packet type field and a parameter field, and when the packet type field is the first type field, the parameter field in the same group is used to indicate the device address of the access network device; when the message type field is a second type field, the parameter field of the same group is used for indicating the device type of the access terminal and/or the access position of the access terminal in the access network device.
In a second aspect, a parameter configuration method is provided, which includes: the access network equipment determines access parameters of the access terminal, sends the access parameters to the management network equipment, receives configuration instructions sent by the management network equipment, the configuration instructions comprise configuration parameters, and the access network equipment configures with the configuration parameters.
The management network device automatically generates a configuration instruction according to the access parameter, so that each network device in the service path corresponding to the access terminal automatically configures according to the configuration instruction; the problem of low parameter configuration efficiency caused by manual parameter configuration of network equipment related to the access terminal in advance by a network administrator is solved; the effect of improving the parameter configuration efficiency is achieved.
In a first implementation manner of the second aspect, the access parameter includes a device type of the access terminal; the access network equipment determines the access parameters of the access terminal, and comprises the following steps: and receiving a link layer advertisement protocol frame sent by the access terminal, wherein the link layer advertisement protocol frame comprises the equipment type.
With reference to the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the Link Layer advertisement Protocol is a Link Layer Discovery Protocol (LLDP), a Cisco Discovery Protocol (CDP), a web Discovery Protocol (FDP), a north power Discovery Protocol (NDP), or a Link Layer Topology Discovery (LLTD).
With reference to the second aspect, or any one implementation manner of the first implementation manner of the second aspect and the second implementation manner of the second aspect, in a third implementation manner of the second aspect, the sending, by the access network device, the access parameter to the management network device includes: the access network device sends the access parameters to the management network device using the CAPWAP protocol.
With reference to the second aspect, the first implementation manner of the second aspect, and any one implementation manner of the second aspect, in a fourth implementation manner of the second aspect, the receiving, by an access network device, a configuration instruction sent by a management network device includes: and the access network equipment receives a configuration instruction sent by the management network equipment by using the CAPWAP protocol.
With reference to the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, the third implementation manner of the second aspect, and the fourth implementation manner of the second aspect, in a fifth implementation manner of the second aspect, the configuration instruction further includes a port identifier of a network port of the access network device in the traffic path, and the configuring with the configuration parameter includes: and configuring by using the configuration parameters and the port identification, and processing the service data received and/or sent from the network port after the configuration is finished.
With reference to the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, the third implementation manner of the second aspect, the fourth implementation manner of the second aspect, and the fifth implementation manner of the second aspect, in a sixth implementation manner of the second aspect, the configuration parameter includes at least one of VLAN identification, IGMP snooping, and DHCP snooping.
With reference to the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, and any one of the third implementation manner of the second aspect, the fourth implementation manner of the second aspect, the fifth implementation manner of the second aspect, and the sixth implementation manner of the second aspect, in a seventh implementation manner of the second aspect, the access parameter includes at least one of a device type of the access terminal, a device address of an access network device connected to the access terminal, and an access location of the access terminal in the access network device, the access parameter includes at least one set of packet type field and parameter field, and when the packet type field is the first type field, the parameter field in the same set is used to indicate a device address of the access network device; when the message type field is a second type field, the parameter field of the same group is used for indicating the device type of the access terminal and/or the access position of the access terminal in the access network device.
In a third aspect, a parameter configuration apparatus is provided, where the apparatus includes at least one unit, and the at least one unit is configured to implement the parameter configuration method provided in the first aspect or any one of the possible implementation manners of the first aspect.
In a fourth aspect, a parameter configuration apparatus is provided, where the apparatus includes at least one unit, and the at least one unit is configured to implement the parameter configuration method provided in any one of the second aspect and the second possible implementation manner.
In a fifth aspect, a management network device is provided, the management network device comprising: a processor and a network port, wherein the processor is configured to implement the parameter configuration method provided by the first aspect or any implementation manner of the first aspect by executing instructions.
In a sixth aspect, an access network device is provided, which includes: a processor and a network port, wherein the processor is configured to implement the parameter configuration method provided by the implementation manner of the second aspect or any one of the second aspects by executing instructions.
In a seventh aspect, a parameter configuration system is provided, which comprises the management network device as provided in the fifth aspect and the access network device as provided in the sixth aspect.
The technical effects obtained by the third to seventh aspects of the embodiments of the present application are the same as or similar to the technical effects obtained by the corresponding technical means in the first and second aspects, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a network architecture;
FIG. 2 is a schematic diagram of a parameter configuration system according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of a parameter configuration system according to an exemplary embodiment of the present application;
FIG. 4 is a flow chart of a parameter configuration method according to an exemplary embodiment of the present application;
FIG. 5 is a flow chart of a parameter configuration method according to another exemplary embodiment of the present application;
fig. 6 is a schematic structural diagram of a type-length-value TLV triplet in accordance with an exemplary embodiment of the present application;
FIG. 7 is a diagram of a TLV definition to which an exemplary embodiment of the present application is directed;
FIG. 8 is a schematic diagram of a network topology of a parameter configuration system according to the embodiment shown in FIG. 3 of the present application;
fig. 9 is a schematic diagram of TLV triplets in a data unit according to an exemplary embodiment of the present application;
FIG. 10 is a diagram of a message in accordance with an exemplary embodiment of the present application;
fig. 11 is a schematic diagram of a message according to another exemplary embodiment of the present application;
fig. 12 is a schematic diagram of another TLV definition to which an exemplary embodiment of the present application is directed;
fig. 13 is a schematic diagram of a message according to another exemplary embodiment of the present application;
fig. 14 is a schematic diagram of a message according to another exemplary embodiment of the present application;
fig. 15 is a schematic diagram of a message according to another exemplary embodiment of the present application;
fig. 16 is a schematic structural diagram of a management network device or an access network device according to an exemplary embodiment of the present application;
fig. 17 is a schematic structural diagram of a management network device or an access network device according to an exemplary embodiment of the present application;
FIG. 18 is a block diagram of a parameter configuration apparatus according to an exemplary embodiment of the present application;
FIG. 19 is a block diagram of a parameter configuration apparatus according to an exemplary embodiment of the present application;
fig. 20 is a block diagram of a parameter configuration apparatus according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application clearer, embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 2, a schematic structural diagram of a parameter configuration system 20 according to an embodiment of the present application is shown, where the parameter configuration system 20 includes at least two network devices. The at least two network devices include an access network device and a management network device. An access network device is a network device connected to an access terminal. The management network device is a device that manages other network devices in the parameter configuration system except the management network device. The parameter configuration system 20 includes: access terminal 210, access network device 220, and management network device 230.
Optionally, the access terminal 210 is a WAP. If the access terminal 210 is a WAP, the WAP is typically also connected to a wireless terminal, which may be a mobile phone, a tablet computer, a computer, or the like, having wireless capabilities. Optionally, the access terminal 210 is a wired access terminal. For example, the access terminal 210 is a set-top box or computer-like device.
Illustratively, fig. 2 shows a schematic diagram where the access terminal is a WAP and/or the access terminal is a computer. The wireless terminal is not shown in fig. 2.
Optionally, the access network device 220 is a switch, a WAP, a router, or the like. The managed network device 230 is a switch, router, server, computer, or other device that has network management software installed. At least two network devices are connected through a wired network or a wireless network. Fig. 2 shows a schematic structure of a management network device 230 connected to two access network devices 220, and each access network device 220 connected to two access terminals 210.
Optionally, each network device includes at least one network port, the network device is connected to other network devices and/or access terminals through the network port, and the network device is connected to different network devices and/or access terminals through different network ports. The network ports in the access network device and the management network device are not shown in fig. 2. Optionally, the network port is an ethernet port.
Optionally, the at least two network devices further include a relay network device, where the relay network device is a network device in the parameter configuration system except for the management network device and the access network device, and the relay network device is generally used to connect the management network device and the access network device. Fig. 3 exemplarily shows a connection diagram of the access network device, the management network device and the relay network device included in the parameter configuration system 30. The management network device 310 is connected to the relay network device 320, the relay network device 320 is connected to the access network device 330 and the access network device 340, the access network device 330 is connected to the access terminal 351 and the access terminal 352, and the access network device 340 is connected to the access terminal 353 and the access terminal 354.
Referring to fig. 4, a flowchart of a parameter configuration method according to an exemplary embodiment of the present application is shown. The embodiment is exemplified by that the method is used in a parameter configuration system as shown in fig. 2, and the method includes the following steps:
step 401, the access network device determines access parameters of the access terminal.
Optionally, the access parameter includes a device type of the access terminal, a device address of an access network device connected to the access terminal, and an access location of the access terminal in the access network device. For example, the device type of the access terminal is a WAP or wireline access terminal. Optionally, the device address of the access network device is a Media Access Control (MAC) address of the access network device. An access location is a network port on an access network device for connecting to an access terminal. The network port is a physical port or a logical port of an access network device. A logical port is a port logically used for differentiated services, such as a port obtained by link aggregation.
Optionally, the access terminal enables a link layer advertisement protocol, when the access terminal is connected to the access network device, the access terminal sends a link layer advertisement protocol frame carrying the device type to the access network device, and correspondingly, the access network device receives the link layer advertisement protocol frame sent by the access terminal, where the link layer advertisement protocol frame includes the device type of the access terminal. Optionally, the link layer advertisement protocol frame further includes a device address and a port identifier of the access terminal. The device address of the access terminal is the MAC address of the access terminal, the port identifier of the access terminal is the identifier of the network port in the access terminal for connecting to the access network device, and the port identifier is usually a port name in the form of a character string. Optionally, the Link Layer advertisement Protocol is any one of a Link Layer Discovery Protocol (LLDP), Cisco Discovery Protocol (CDP), a web Discovery Protocol (FDP), a Northbound Discovery Protocol (NDP), or a Link Layer Topology Discovery (LLTD). The link layer advertisement protocol is LLDP for the example of the present application.
The access network equipment determines a network port which receives an LLDP frame sent by the access terminal as an access position of the access terminal. The access network device is further configured to determine its own device address, that is, its own MAC address.
And the access network equipment generates the access parameters of the access terminal according to the received equipment type of the access terminal, the determined access position of the access terminal and the equipment address of the access network equipment.
Step 402, the access network device sends access parameters to the management network device.
Optionally, the access network device sends the access parameter to the management network device using a CAPWAP protocol.
Step 403, the management network device receives the access parameter of the access terminal sent by the access network device.
Step 404, the managing network device sends a configuration instruction to at least one network device in the traffic path corresponding to the access terminal.
Optionally, the configuration instruction includes a configuration parameter, and the configuration instruction is used to instruct at least one network device to perform configuration according to the configuration parameter, where the at least one network device includes an access network device.
Optionally, the management network device stores a preset corresponding relationship configured in advance. The preset correspondence includes a mapping of at least one device type to at least one configuration parameter. After receiving the access parameters sent by the access network device, the management network device queries the configuration parameters corresponding to the device types included in the access parameters in the preset corresponding relationship.
Optionally, the configuration parameter includes at least one of VLAN identification, IGMP snooping and DHCP snooping. For example, the WAP corresponds to a configuration parameter VLAN 100. The configuration parameters corresponding to the set-top box include VLAN 100 and IGMP snooping enabled. Optionally, the configuration parameters corresponding to the WAP further include enabling DHCP snooping.
Optionally, the management network device determines a parameter type of the configuration parameter, and determines a service path using an access position included in the access parameter as an endpoint according to the network topology and the parameter type.
The network topology structure is a network topology structure of the parameter configuration system collected by the management network device in advance, and the network topology structure includes each network device in the parameter configuration system and the port connection relationship between the network devices.
Optionally, the parameter type is any one of a VLAN type, an IGMP snoop type, and a DHCP snoop type. When the configuration parameter is a VLAN id, the parameter type corresponding to the configuration parameter is a VLAN type, for example, the parameter types corresponding to VLAN 100 and VLAN10 are both VLAN types. When the configuration parameter is IGMP snooping, the corresponding parameter type is an IGMP snooping type, for example, the parameter types corresponding to IGMP snooping enable and IGMP snooping disable are both IGMP snooping types. When the configuration parameter is a DHCP snoop, the corresponding parameter type is a DHCP snoop type, for example, the parameter types corresponding to enabling the DHCP snoop and disabling the DHCP snoop are both DHCP snoop types.
Optionally, when the parameter type includes a VLAN type, the determined traffic path is a network path between the management network device and the access terminal. When the parameter type includes an IGMP snooping type, it is determined that the obtained traffic path is a network path between an access network device connected to the access terminal and the access terminal. And when the parameter type comprises a DHCP snooping type, determining that the obtained service path is a network path between the access network equipment connected with the access terminal and the access terminal.
Optionally, the configuration instruction further includes a port identifier, where the configuration instruction is used to instruct at least one network device to perform configuration according to the configuration parameter and the port identifier, and the port identifier is an identifier of a network port located in a service path in the network device. The network device is configured to process the service data received from the network port corresponding to the port identifier after configuration is completed, and/or process the service data sent from the network port corresponding to the port identifier.
Optionally, the management network device sends the configuration instruction to at least one network device in the service path using the CAPWAP protocol.
Optionally, the management network device sequentially sends the configuration instruction to at least one network device in the service path according to a preset configuration sequence, or the management network device simultaneously sends the configuration instruction to at least one network device in the service path.
Step 405, the access network device receives a configuration instruction sent by the management network device, where the configuration instruction includes configuration parameters.
At step 406, the access network device configures with the configuration parameters.
Optionally, the access network device performs configuration according to the configuration parameter, or the access network device performs configuration according to the configuration parameter and the port identifier.
Other network devices in the traffic path, except the access network device, are also configured with the configuration parameters.
To sum up, in the parameter configuration method provided in this embodiment of the present application, the management network device receives an access parameter of an access terminal sent by the access network device, determines a configuration parameter and a service path corresponding to the access terminal according to the access parameter, and sends a configuration instruction to each network device in the service path, where the configuration instruction is used to instruct the network device to configure according to the configuration parameter; the problem of low parameter configuration efficiency caused by manual parameter configuration of network equipment related to the access terminal in advance by a network administrator is solved; the effect that the management network equipment automatically generates the configuration instruction according to the access parameter, so that each network equipment in the service path corresponding to the access terminal automatically configures according to the configuration instruction is achieved, and the parameter configuration efficiency is improved.
Referring to fig. 5, a flowchart of a parameter configuration method according to an exemplary embodiment of the present application is shown. This embodiment is exemplified by that the method is used in a parameter configuration system as shown in fig. 3, where at least two network devices include a management network device, a relay network device and an access network device, and the method includes the following steps:
step 501, an access network device determines access parameters of an access terminal.
The access terminal enables LLDP while the access terminal is connected to the access network device.
The access terminal adds the device type, the device address and the port identification of the access terminal into a type-length-value (TLV) triple in an LLDP data unit (LLDPDU) of an LLDP frame.
The access terminal sends an LLDP frame to the access network device. After receiving an LLDP frame sent by an access terminal, an access network device obtains a device type, a device address, and a port identifier of the access terminal.
The format of one TLV triplet is shown in fig. 6, where a type (type) field is used to indicate the type of data included in the TLV triplet, a length (length) field is used to indicate the length of the data included in the TLV triplet, i.e., the length occupied by a value (value) field, and the value field is used to indicate the content of the data included in the TLV triplet. The byte length occupied by the type field and the length field is usually fixed, the length occupied by the value field is variable, and optionally, both the type field and the length field occupy two bytes.
For the TLV triples included in the LLDP data unit, when the values of the type fields are different, the meaning of the information in the value fields is also different. The meaning of some TLVs in LLDP data units is shown in figure 7.
Wherein, when the type field is 0, the value field is used to indicate the end of the PDU, the value field occupies 1 byte, and the length is 1. When the value field is 1, the end of the PDU is indicated. When the type field is 1, the value field is used to indicate the device address of the access terminal, typically the MAC address of the access terminal, the value field occupies 6 bytes, and the length field is 6. When the type field is 2, the value field is used to indicate the port identification of the access terminal, usually a port name in the form of a string, the value field usually occupies 16 bytes, and the length field is 16. The value field is used to indicate the device type of the access terminal when the type field is 9, the value field typically occupies 1 byte, and the length field is 1. Optionally, when the value field is 1, the device type is WAP, and when the value field is 0, the device type is a wired access terminal.
In this embodiment, at least 3 TLV triplets related to the access parameter in one LLDP data unit are included, and are respectively used to indicate the device type, the device address, and the port identifier of the access terminal. In actual implementation, the LLDP data unit generally further includes a TLV triple used for indicating the validity period of the LLDP data unit, a TLV triple used for indicating the end of the LLDP data unit, and the LLDP data unit may further include other self-defined TLV triples, which is not described in this embodiment again.
For example, assuming that the network topology of each network device in the parameter configuration system shown in fig. 3 is as shown in fig. 8, a schematic diagram of TLV triplets included in the LLDP data unit received by the access network device 330 is as shown in fig. 9, and is used to indicate that the device address of the access terminal 351 is MAC1, the port name of the port 3511 used for connecting to the access network device 330 in the access terminal 351 is GE0/0/1, and the device type of the access terminal 351 is WAP.
After determining the device type of the access terminal, the access network device determines the access position of the access terminal in the access network device and the device address of the access terminal. Optionally, the access location determined by the access network device is a port identifier of a network port used for connecting to the access terminal in the access network device, and the port identifier is usually a port name in the form of a character string.
Step 502, the access network device sends access parameters to the management network device.
Optionally, the management network device may communicate with other network devices by using a CAPWAP protocol, and the access network device sends the access parameter to the management network device by using the CAPWAP protocol. The access network equipment sends a CAPWAP message to the management network equipment, and the CAPWAP message carries access parameters.
One format of a CAPWAP message sent by an access network device to a management network device is shown in fig. 10, where the CAPWAP message includes an Internet Protocol (IP) header, a User Datagram Protocol (UDP) header, a CAPWAP header, and an ethernet frame. The Ethernet frame comprises the message data in the CAPWAP message. Optionally, the ethernet frame is used to transmit message data such as version number, serial number, message type, and access parameter of the CAPWAP message.
Optionally, the access parameter includes at least one set of message type field and parameter field. Optionally, the access parameter is encapsulated in a TLV triple format, and a group of packet type field, parameter field, and packet length field is added to one TLV triple, where the type field in the TLV triple is the packet type field, the length field is the packet length field, and the value field is the parameter field.
Optionally, the ethernet frame is transmitted through the message format shown in fig. 11, and the meaning of each field is as follows:
1. a version number (version) field, which occupies a length of 1 byte, for indicating the version number used by the message, and is typically 0x 01.
2. A packet type field (packet type) occupying a length of 1 byte for indicating a packet type. The message type includes a request message and a response message, and in general, when the field is 0x01, the message type for indication is the request message, and when the field is 0x02, the message type for indication is the response message; in this embodiment, the CAPWAP message reported by the access network device to the management network device is a request message, and this field is 0x 01.
3. A sequence number (sequence) field occupying 1 byte length for indicating the sequence number of the message. The sequence number of the request message is sequentially increased by 1 from 0, and the sequence number of the response message is the same as the sequence number of the received request message; for example, the sequence number of the first request packet reported by the access network device to the management network device is 0, the sequence number of the second request packet reported is 1, the sequence number of the third request packet reported is 2, and so on.
4. The first reserved (reserved 1) field, occupies 1 byte.
5. The second reserved (reserved 2) field, takes 2 bytes.
6. A packet length field (2 bytes) is used to indicate the length of the packet, and represents the sum of the lengths of all fields starting from the version number field.
7. A type (type) field, occupying 2 bytes, for indicating the type of the access parameter encapsulated in TLV format.
8. A length field (length) occupying 2 bytes for indicating the length of the access parameter encapsulated in TLV format, i.e. indicating the byte length occupied by the value field.
9. A value field for indicating a value of the access parameter encapsulated in TLV format, occupying a byte length related to the indicated value of the access parameter, occupying a fixed byte length or a variable byte length.
The meaning of TLV triplets in ethernet frames is shown in fig. 12. When the message type field is the first type field, the parameter field of the same group is used for indicating the equipment address of the access network equipment. When the message type field is a second type field, the parameter field of the same group is used for indicating the device type of the access terminal and/or the access position of the access terminal in the access network device. In this embodiment, the parameters such as the device address and the port identifier of the access terminal indicated in the ethernet frame are not described in detail. In fig. 12, a type field of 1 indicates that the packet type field is a first type field, where the value field is used to indicate a device identifier of the access network device, and optionally, the device identifier is a MAC address of the access network device, the value field occupies 6 bytes, and the length field of 6. The type field 10 indicates that the packet type field is a second type field, and in this case, the value field is used to indicate neighbor information of the access network device, where the neighbor information includes an access location and/or a device type of the access terminal in this embodiment. The length of the byte occupied by the value field is variable, the value of the length field is variable, and the length of the byte actually occupied by the value field is variable. In addition, when the type field is 0, the value field is used to indicate the end of the ethernet frame.
When the type field is 10, the value field includes contents as shown in fig. 13, and the value field includes at least a neighbor number (neighbor num) field and a neighbor list (neighbor list) field. The field of the number of neighbors usually occupies a length of one byte, and in this embodiment, the field is used to indicate the number of access terminals connected to the access network device. The length of the byte occupied by the neighbor list field is variable, and is used to indicate the neighbor parameters of one or more neighbors, in this embodiment, each neighbor parameter includes parameters such as the device type, the access location, the port identifier of the access terminal, and the device address of the access terminal of each access terminal. For example, in fig. 13, the neighbor list field includes K neighbor parameters, and K ≧ 1, the number of neighbors field is K.
The format of each neighbor parameter is shown in fig. 14, and the fields and the field meanings included in the neighbor parameters are as follows:
1. the neighbor device identification (neighbor device ID) field, typically occupies 6 bytes, for indicating the device address of the neighbor network device. In this embodiment, this field is used to indicate the device address of the access terminal.
2. A local port ID (local port ID) field, which is used to indicate the information of the access location, i.e. the port information of the network port connected to the access terminal in the access network device. The local port identification field includes a port identification length (port ID length) field and a port identification (port ID) field, and the port identification length field usually occupies one byte and is used for indicating the length of the port identification, i.e. the length occupied by the port identification field. The port identification field typically occupies a length of 16 bytes to indicate the port identification of the network port, and the port identification length field is 16.
3. A local link aggregation identifier (local aggregation ID) field, which usually occupies 2 bytes, is used to indicate a port identifier of a port obtained by link aggregation to which an access location belongs, and when the local relay identifier field is 0xFFFF, it indicates that a network port in the local network device is not added to a port obtained by link aggregation.
4. A remote port identification (remote port ID) field for indicating information of a network port connected to the network device in the neighbor network device, and in this embodiment, for indicating information of a network port used for connecting to the access network device in the access terminal. The remote port identification field includes a port identification length (port ID length) field and a port identification (port ID) field, and the meaning of the field may be combined with the local port identification field, which is not described in this embodiment again.
5. A remote link aggregation ID (remote link aggregation ID) field usually occupies 2 bytes, and is used to indicate a port identifier of a port obtained by link aggregation to which a network port connected to the local network device belongs in a neighbor network device. When the remote link aggregation identifier is 0xFFFF, it indicates that a network port used for connecting with the home network device in the neighbor network device is not added to a port obtained by link aggregation.
6. A device type (device type) field, which usually occupies one byte, is used to indicate the device type of the access terminal, and when the field is 1, the indicated device type is WAP, and when the field is 0, the indicated device type is the wired access terminal.
For example, taking the network topology shown in fig. 8 as an example, assuming that the access network device 330 receives an LLDP frame sent by the access terminal 351, and TLV triplets included in the received LLDP frame are shown in fig. 9, the content included in an ethernet frame in a CAPWAP message sent by the access network device 330 to the management network device 310 is shown in fig. 15. Where MAC 2 is the device identification of the access network device 330 and GE0/0/2 is the port identification of the port 332 in the access network device 330 for connection to the access terminal 351.
Step 503, the management network device receives the access parameter of the access terminal sent by the access network device.
Correspondingly, the management network equipment receives the access parameters sent by the access network equipment by using the CAPWAP protocol.
Step 504, the management network device determines configuration parameters corresponding to the device type according to the preset corresponding relationship.
Step 505, the management network device determines a service path with an access position included in the access parameter as an endpoint according to the network topology and the parameter type.
Assuming that the network topology is as described above in fig. 8, and the configuration parameter corresponding to the access terminal 351 determined by the management network device 310 is VLAN 100, the traffic path determined by the management network device 310 is the network path between the management network device 310 and the access terminal 351. That is, the traffic path is, port 311 of the management network device 310 → port 321 of the relay network device 320 → port 322 of the relay network device 320 → port 331 of the access network device 330 → port 332 of the access network device 330 → port 3511 of the access terminal 351.
In step 506, the managing network device determines the network ports of the network devices in the traffic path.
Step 507, the management network device generates a configuration instruction corresponding to the network device according to the network port and the configuration parameters of each network device.
The configuration instruction is used for instructing at least one network device to perform configuration according to the configuration parameters and the port identifier, wherein the port identifier is an identifier of a network port located in a service path in the network device.
Optionally, the management network device sends a configuration instruction to each network device in the service path using a CAPWAP protocol, and the management network device sends a CAPWAP packet to each network device, where the CAPWAP packet carries the configuration instruction, and the configuration instruction is encapsulated in a format of a TLV triple, where the format of the CAPWAP packet is as shown in fig. 10. The configuration instructions are carried in ethernet frames, the format of which is shown in figure 11 above.
Optionally, the configuration instruction includes at least one group of packet type field and parameter field, and optionally, the group of packet type field, parameter field, and packet length field are added into one TLV triplet. The type field in the TLV triple is a message type field, the length field is a message length field, and the value field is a parameter field. When the message type field is a first type field, the parameter fields in the same group are used for indicating configuration parameters; when the message type field is the second type field, the parameter field of the same group is used for indicating the port identification of the network port.
And when the parameter types corresponding to the configuration parameters are different, the values of the first type fields are different. When the format of the TLV in the ethernet frame is as shown in fig. 12, the message type fields indicated by type field 11, type field 13, and type field 14 are all the first type fields. When the type field is 11, the configuration parameter indicated by the value field is VLAN id. When the type field is 13, the configuration parameter indicated by the value field is IGMP snooping, when the value field is 1, IGMP snooping is enabled, and when the value field is 0, IGMP snooping is disabled. When the type field is 14, the configuration parameter indicated by the value field is DHCP snoop, the value field 1 indicates DHCP snoop is enabled, and the value field 0 indicates DHCP snoop is disabled. The type field of the packet indicated by 2 is a second type field, and in this case, the value field is used to indicate the port identifier of the network port. In addition, when the type field is 0, the value field is used to indicate the end of the ethernet frame. When the configuration parameter is the VLAN identifier, the ethernet frame further includes a TLV for indicating a parameter configuration mode, where the parameter configuration mode includes an add-allowed mode or a default mode, the add-allowed mode is used for indicating that the network device allows the service data added with the VLAN identifier to pass through, and the default mode is used for indicating that the network device configures a default VLAN to be a VLAN corresponding to the VLAN identifier. For example, in fig. 12, when the type field is 12, the value field is used to indicate the parameter configuration mode, when the value field is 1, the value field is used to indicate that the parameter configuration mode is the default mode, and when the value field is 0, the value field is used to indicate that the parameter configuration mode is allowed to join.
Step 508, the managing network device sends a configuration instruction to at least one network device in the traffic path.
Optionally, the management network device sends the configuration instruction to at least one network device in the service path using the CAPWAP protocol.
In step 509, the access network device receives the configuration command sent by the management network device.
Optionally, the access network device receives the configuration instruction sent by the management network device by using the CAPWAP protocol.
Step 510, the access network device configures with the configuration parameters indicated by the configuration instruction.
Optionally, after the access network device is configured according to the configuration parameter and the network port, the access network device processes the service data received and/or sent from the network port.
Optionally, when the configuration parameter indicated by the configuration instruction includes a VLAN identifier and indicates an access location, the parameter configuration mode indicated by the configuration instruction is usually a default mode. When the configuration parameter indicated by the configuration instruction includes a VLAN id and indicates a network port for connecting to another network device, the configuration mode of the parameter indicated by the configuration instruction is usually to allow joining. The access network device receives and/or transmits the service data added with the VLAN identification through the network port after the configuration is carried out according to the configuration instruction, and adds the VLAN identification to the service data received through the access position.
Optionally, the configuration parameter indicated by the configuration instruction includes a VLAN identifier and an IGMP snooping enable message, the management network device sends the configuration instruction for indicating the VLAN identifier to each network device, and the management network device also sends the configuration instruction for indicating the IGMP snooping enable message to the access network device, and the access network device enables the IGMP snooping according to the configuration instruction.
In step 511, the relay network device receives the configuration command sent by the management network device.
Step 512, the relay network device configures with the configuration parameters indicated by the configuration instruction.
When the service path includes multiple relay network devices, each relay network device receives the configuration instruction and performs configuration through the methods shown in steps 511 and 512, and the method for the relay network device to perform configuration according to the configuration parameters indicated by the configuration instruction may be combined with the method for performing configuration by the access network device shown in step 510, which is not described again in this embodiment. In addition, the above steps 511 and 512 are optional, and when the relay network device is not included in the service path, the step 511 and the step 512 are not included in the parameter configuration method.
After each network device in the service path is configured according to the configuration parameters indicated by the configuration instruction, at least one network device in the service path may forward the service to the access terminal.
To sum up, in the parameter configuration method provided in this embodiment of the present application, the management network device receives an access parameter of an access terminal sent by the access network device, determines a configuration parameter and a service path corresponding to the access terminal according to the access parameter, and sends a configuration instruction to each network device in the service path, where the configuration instruction is used to instruct the network device to configure according to the configuration parameter; the problem of low parameter configuration efficiency caused by manual parameter configuration of network equipment related to the access terminal in advance by a network administrator is solved; the effect that the management network equipment automatically generates the configuration instruction according to the access parameter, so that each network equipment in the service path corresponding to the access terminal automatically configures according to the configuration instruction is achieved, and the parameter configuration efficiency is improved.
In the parameter configuration method provided by the embodiment of the application, after an access terminal is connected with an access network device, the access network device determines and sends an access position of the access terminal to a management network device, and the management network device determines a service path according to the access position; the problem that when a network administrator conducts parameter configuration on network equipment related to the access terminal in advance, if the access terminal is actually connected to other access positions in the access network equipment, the parameter configuration needs to be conducted on the network equipment again, and therefore the parameter configuration is not flexible enough is solved, and the flexibility of the parameter configuration is improved.
In the parameter configuration method provided by the embodiment of the application, after an access terminal is connected with an access network device, the access network device receives a device type sent by the access terminal through an LLDP, a management network device determines a configuration parameter according to the device type, and then sends a configuration instruction indicating the configuration parameter to each network device; when the device type of the access terminal connected with the access network device changes, the management network device can determine new configuration parameters and re-instruct each network device to configure according to the new configuration parameters, so that the problem that the network device cannot forward the service data to the new access terminal according to the pre-configuration of the network administrator when the device type of the actually accessed access terminal changes after the network administrator performs parameter configuration on the network device in advance is solved.
For example, the access terminal 351 is a WAP, taking as an example that the access terminal is the access terminal 351 in the network topology shown in fig. 8. The access parameters carried in the CAPWAP message sent by the access network device 330 to the management network device 310 are as described above in fig. 15. The configuration parameter corresponding to the device type determined by the managing network device 310 is VLAN 100. The traffic path determined by the managing network device 310 is as shown in step 505 above. The managing network device sends configuration instructions to the relay network device 320 and the access network device 330 included in the traffic path. After the relay network device 320 is configured according to the configuration instruction, it allows the traffic data added with the VLAN 100 to be received and/or transmitted from the port 321, and allows the traffic data added with the VLAN 100 to be received and/or transmitted from the port 322. After the access network device 330 is configured according to the configuration instruction, it allows the traffic data added with the VLAN 100 to be received and/or transmitted from the port 331, and adds the VLAN 100 to the traffic data received from the port 332, and allows the traffic data added with the VLAN 100 to be transmitted from the port 332.
In another illustrative example, where the access terminal is an access terminal 354 in the network topology shown in fig. 8, the access terminal 354 is a set-top box. The format of the access parameter carried in the CAPWAP message sent by the access network device 340 to the management network device 310 is similar to that in fig. 15, and is not described again in this embodiment. The configuration parameters corresponding to the device type determined by management network device 310 include VLAN10 and IGMP snooping enabled. The traffic path determined by the managing network device 310 includes a network path of the managing network device's port 311 → the relaying network device 320's port 321 → the relaying network device 320's port 323 → the access network device 340's port 341 → the access network device 340's port 343 → the access terminal 354's port 3541, and a network path of the access network device 340's port 343 → the access terminal 354's port 3541. The management network device 310 sends a configuration instruction for indicating the VLAN10 to the relay network device 320 and the access network device 340 included in the traffic path, and then the relay network device 320 and the access network device 340 are configured according to the VLAN10, as shown in the foregoing exemplary embodiment, which is not described again in this embodiment. In addition, the management network device 310 further sends a configuration instruction indicating IGMP snooping is enabled to the access network device 340, and the access network device 340 further sends the received traffic data to the access terminal 354 through the port 343 according to the configuration instruction enabling IGMP snooping.
Optionally, before the embodiment shown in fig. 4 or fig. 5, after at least two network devices in the parameter configuration system are connected and powered on, each network device registers with the management network device, and the management network device determines the network topology of the parameter configuration system. Taking at least two network devices including a management network device, a relay network device and an access network device as an example, the process includes the following steps:
(1) the relay network device and the access network device register with the management network device.
Optionally, the management network device serves as a server role in the CAPWAP protocol, and the relay network device and the access network device serve as client roles in the CAPWAP protocol and register with the management network device.
(2) The relay network device and the access network device determine neighbor parameters.
Optionally, for any network device, the neighbor parameter includes a device address of the network device, a port identifier of a network port in the network device, the port identifier being used for being connected to a neighbor network device, a device address of the neighbor network device, and a port identifier of a network port in the neighbor network device, the port identifier being used for being connected to the network device, or any combination thereof.
Optionally, the neighbor network device enables LLDP, and the neighbor network device adds its own device address and port identifier to a TLV triplet in the LLDP data unit, and sends the TLV triplet to the network device. The implementation manner of this step may be combined with step 501, which is not described in detail in this embodiment.
(3) And the relay network equipment and the access network equipment send the neighbor parameters to the management network equipment.
Optionally, the relay network device and the access network device send a CAPWAP message to the management network device, where the CAPWAP message carries one or more neighbor parameters, and the neighbor parameters are encapsulated in a TLV triple format. One format of the CAPWAP message sent by the relay network device and the access network device to the management network device is shown in fig. 10-13, and the definitions of different TLVs are shown in fig. 12, which is not described again in this embodiment.
(4) And the management network equipment determines the network topology structure of the system according to the received neighbor parameters.
The management network equipment receives the CAPWAP message sent by each network equipment, and determines the connection relation between each network equipment and other network equipment according to the received CAPWAP message, thereby determining the network topology structure of the whole parameter configuration system.
Referring to fig. 16, a schematic structural diagram of a management network device provided in an embodiment of the present application is shown, where the management network device includes at least a processor 1610 and a network port 1620.
Processor 1610 includes one or more processing cores. The processor is used for executing various functional applications for managing the network device and for data processing. The processor includes a Network Processor (NP) and/or a Central Processing Unit (CPU).
The managing network device typically includes a plurality of network ports 1620. Each network port 1620 is coupled to processor 1610 such that a managing network device communicates with other network devices via network ports 1620. Fig. 16 shows a schematic diagram of a management network device including 3 network ports 1620.
If the processor 1610 is a CPU, the structure of the management network device is shown in fig. 16, and the management network device usually further includes a memory 1630.
The memory 1630 is coupled to the processor 1610 via a bus 1640. The memory 1630 is used for storing instructions, and the processor 1610 implements the parameter configuration method by executing the instructions stored in the memory 1630. Optionally, the memory includes a random-access memory (RAM) and/or a flash memory (flash memory)
If processor 1610 is an NP, the schematic diagram of the management network device is shown in fig. 17, and the instructions in the management network device are generally stored directly in the NP, and the management network device may not include a memory.
Referring to fig. 16, a schematic structural diagram of an access network device provided in an embodiment of the present application is shown, where the access network device includes at least a processor 1610 and a network port 1620.
Processor 1610 includes one or more processing cores. The processor is used for executing various functional applications of the access network device and for data processing. The processor includes an NP, and/or a CPU.
The network ports 1620 in the access network device typically comprise a plurality of ports 1620, each of the ports 1620 being coupled to a processor 1610, the access network device communicating with other network devices or access terminals through the ports 1620. Fig. 16 shows a schematic diagram of an access network device including 3 network ports 1620.
If processor 1610 is a CPU, the structure of the management network device is schematically shown in fig. 16, and in this case, the access network device typically further includes a memory 1630.
The memory 1630 is coupled to the processor 1610 via a bus 1640. The memory 1630 is used for storing instructions, and the processor 1610 implements the parameter configuration method by executing the instructions stored in the memory 1630. Optionally, the memory includes RAM and/or flash memory.
If processor 1610 is an NP, the schematic diagram of the structure of the managing network device is shown in fig. 17, and the instructions in the access network device are typically stored directly in the NP, the access network device may not include memory.
Referring to fig. 18, a block diagram of a parameter configuration apparatus according to an embodiment of the present application is shown. The parameter configuration means may be implemented by software, hardware or a combination of both as all or part of the managing network device. The parameter configuration device may include: a receiving unit 1810 and a transmitting unit 1820.
A receiving unit 1810, configured to implement the functions of step 403 and step 503.
A sending unit 1820, configured to implement the functions of step 404 and step 508 described above.
Optionally, the apparatus further includes a processing unit 1830, and the block diagram of the apparatus is shown in fig. 19:
a processing unit 1830, configured to implement the functions of step 504, step 505, step 506, and step 507.
The relevant details may be combined with the embodiments of the method described above with reference to fig. 4 and 5.
In practical implementation, the management network device shown in fig. 18 or fig. 19 is used to implement the parameter configuration method shown in the embodiment shown in fig. 4 or fig. 5, and the management network device may be implemented by the receiving unit 1810 when receiving information. The management network device may be implemented by the sending unit 1820 when sending information. The managing network device, when performing the processing and computing steps, may be implemented by the processing unit 1830 described above.
Referring to fig. 20, a block diagram of a parameter configuration apparatus according to an embodiment of the present application is shown. The parameter configuration means may be implemented by software, hardware or a combination of both as all or part of the access network device. The parameter configuration device may include: a processing unit 2010, a transmitting unit 2020, and a receiving unit 2030.
A processing unit 2010, configured to implement the functions of step 401, step 406, step 501, and step 510.
A sending unit 2020, configured to implement the functions of step 402 and step 502 described above.
A receiving unit 2030, configured to implement the functions of step 405 and step 509.
The relevant details may be combined with the embodiments of the method described above with reference to fig. 4 and 5.
In practical implementation, the access network device shown in fig. 20 is configured to implement the parameter configuration method shown in the embodiment shown in fig. 4 or fig. 5, and the access network device may be implemented by the processing unit 2010 when performing the processing and calculating steps. The access network device may be implemented by the sending unit 2020 when sending information. The access network device may be implemented by the receiving unit 2030 when receiving information.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (16)

1. A method of parameter configuration, the method comprising:
the method comprises the steps that a management network device receives access parameters of an access terminal sent by an access network device, wherein the access network device is a network device connected with the access terminal, and the access parameters comprise the device type of the access terminal;
the management network device sends a configuration instruction to all network devices in a service path corresponding to the access terminal, wherein the configuration instruction comprises a configuration parameter corresponding to the device type, the configuration instruction is used for indicating all network devices in the service path to allow service data added with a Virtual Local Area Network (VLAN) identifier to pass through, and all network devices in the service path comprise the access network device; or the like, or, alternatively,
the management network device sends a configuration instruction to at least one network device in a service path corresponding to the access terminal, where the configuration instruction includes a configuration parameter corresponding to the device type, the configuration instruction is used to instruct the at least one network device to enable internet group management protocol IGMP sniffing, and the at least one network device includes the access network device.
2. The method of claim 1, further comprising:
the management network device determines the configuration parameters corresponding to the device type of the access terminal according to a preset corresponding relationship, wherein the preset corresponding relationship comprises mapping from at least one device type to at least one configuration parameter.
3. The method of claim 1 or 2, wherein the access parameters further include an access location of the access terminal;
the method further comprises the following steps:
the management network equipment determines the parameter type of the configuration parameter;
and the management network equipment determines the service path with the access position as an end point according to the network topology and the parameter type.
4. A method of parameter configuration, the method comprising:
the method comprises the steps that access network equipment determines access parameters of an access terminal, wherein the access parameters comprise the equipment type of the access terminal;
the access network equipment sends the access parameters to management network equipment;
the access network equipment receives a configuration instruction sent by the management network equipment, wherein the configuration instruction comprises configuration parameters corresponding to the equipment type, and the configuration instruction indicates that the access network equipment allows service data added with a Virtual Local Area Network (VLAN) identifier to pass through; or, the configuration instruction is used to instruct the access network device to enable IGMP snooping;
and the access network equipment is configured by using the configuration parameters corresponding to the equipment type.
5. The method of claim 4, wherein the access network device determines access parameters of an access terminal, comprising:
and receiving a link layer advertisement protocol frame sent by the access terminal, wherein the link layer advertisement protocol frame comprises the equipment type.
6. An apparatus for parameter configuration, the apparatus comprising:
a receiving unit, configured to receive an access parameter of an access terminal sent by an access network device, where the access network device is a network device connected to the access terminal, and the access parameter includes a device type of the access terminal;
a sending unit, configured to send a configuration instruction to all network devices in a service path corresponding to the access terminal, where the configuration instruction includes a configuration parameter corresponding to the device type, the configuration instruction is used to instruct all network devices in the service path to allow service data added with a virtual local area network VLAN identifier to pass through, and all network devices in the service path include the access network device; or sending a configuration instruction to at least one network device in a service path corresponding to the access terminal, where the configuration instruction includes a configuration parameter corresponding to the device type, the configuration instruction is used to instruct the at least one network device to enable internet group management protocol IGMP sniffing, and the at least one network device includes the access network device.
7. The apparatus of claim 6, further comprising:
a processing unit, configured to determine the configuration parameter corresponding to the device type of the access terminal according to a preset correspondence, where the preset correspondence includes mapping from at least one device type to at least one configuration parameter.
8. The apparatus of claim 6 or 7, wherein the access parameters further include an access location of the access terminal;
and the processing unit is further configured to determine a parameter type of the configuration parameter, and determine the service path using the access position as an endpoint according to a network topology and the parameter type.
9. An apparatus for parameter configuration, the apparatus comprising:
a processing unit, configured to determine an access parameter of an access terminal, where the access parameter includes a device type of the access terminal;
a sending unit, configured to send the access parameter to a management network device;
a receiving unit, configured to receive a configuration instruction sent by the management network device, where the configuration instruction includes a configuration parameter corresponding to the device type, and the configuration instruction indicates that service data added with a VLAN identifier is allowed to pass through; or, the configuration instruction is used to instruct enabling internet group management protocol IGMP snooping;
and the processing unit is used for configuring by using the configuration parameters corresponding to the equipment type.
10. The apparatus of claim 9, wherein the processing unit is further configured to receive a link layer advertisement protocol frame sent by the access terminal, and wherein the link layer advertisement protocol frame comprises the device type.
11. A managing network device, the managing network device comprising: a processor and a network port;
the processor is configured to receive, through the network port, an access parameter of an access terminal sent by an access network device, where the access network device is a network device connected to the access terminal, and the access parameter includes a device type of the access terminal;
the processor is further configured to send a configuration instruction to all network devices in a service path corresponding to the access terminal through the network port, where the configuration instruction includes a configuration parameter corresponding to the device type, the configuration instruction is used to indicate that all network devices in the service path allow service data added with a virtual local area network VLAN identifier to pass through, and all network devices in the service path include the access network device; or sending a configuration instruction to at least one network device in a service path corresponding to the access terminal, where the configuration instruction includes a configuration parameter corresponding to the device type, the configuration instruction is used to instruct the at least one network device to enable internet group management protocol IGMP sniffing, and the at least one network device includes the access network device.
12. The managing network device of claim 11,
the processor is further configured to determine the configuration parameter corresponding to the device type of the access terminal according to a preset correspondence, where the preset correspondence includes mapping from at least one device type to at least one configuration parameter.
13. The managing network device of claim 11 or 12, wherein the access parameters further include an access location of the access terminal;
the processor is further configured to determine a parameter type of the configuration parameter;
the processor is further configured to determine the service path with the access location as an endpoint according to a network topology and the parameter type.
14. An access network device, characterized in that the access network device comprises: a processor and a network port;
the processor is configured to determine an access parameter of an access terminal, where the access parameter includes a device type of the access terminal;
the processor is further configured to send the access parameter to a management network device through the network port;
the processor is further configured to receive, through the network port, a configuration instruction sent by the management network device, where the configuration instruction includes a configuration parameter corresponding to the device type, and the configuration instruction indicates that the access network device allows service data added with a virtual local area network VLAN identifier to pass through; or, the configuration instruction is used to instruct the access network device to enable IGMP snooping;
the processor is further configured to configure with the configuration parameter corresponding to the device type.
15. The access network device of claim 14, wherein the processor is further configured to receive a link layer advertisement protocol frame sent by the access terminal, wherein the link layer advertisement protocol frame includes the device type.
16. A service provisioning system, said system comprising: the managing network device of any one of claims 11 to 13, and the access network device of claim 14 or 15.
CN201610822752.5A 2016-09-13 2016-09-13 Parameter configuration method, device and system Active CN107820262B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610822752.5A CN107820262B (en) 2016-09-13 2016-09-13 Parameter configuration method, device and system
PCT/CN2017/101311 WO2018050041A1 (en) 2016-09-13 2017-09-11 Parameter configuration method, device, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610822752.5A CN107820262B (en) 2016-09-13 2016-09-13 Parameter configuration method, device and system

Publications (2)

Publication Number Publication Date
CN107820262A CN107820262A (en) 2018-03-20
CN107820262B true CN107820262B (en) 2020-09-04

Family

ID=61600588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610822752.5A Active CN107820262B (en) 2016-09-13 2016-09-13 Parameter configuration method, device and system

Country Status (2)

Country Link
CN (1) CN107820262B (en)
WO (1) WO2018050041A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109510777B (en) * 2018-11-09 2022-02-22 迈普通信技术股份有限公司 Flow table arranging method and device and SDN controller
CN113489647B (en) * 2018-12-25 2022-09-16 华为技术有限公司 Network connection path judgment method, equipment and communication system
CN112910668B (en) * 2019-11-19 2022-09-09 上海华为技术有限公司 Service configuration method, service configuration device and service configuration equipment
CN111866916B (en) * 2020-07-23 2022-09-02 中国联合网络通信集团有限公司 Service configuration method, equipment and server
CN112203302B (en) * 2020-09-30 2023-06-30 中国联合网络通信集团有限公司 Access equipment configuration method and network management system
CN112333014B (en) * 2020-10-26 2022-08-02 中国联合网络通信集团有限公司 Device management method and communication apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2416572A1 (en) * 2009-03-31 2012-02-08 Huawei Technologies Co., Ltd. Method and apparatus for obtaining address of video transmission management server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8966018B2 (en) * 2006-05-19 2015-02-24 Trapeze Networks, Inc. Automated network device configuration and network deployment
CN101094099A (en) * 2007-06-19 2007-12-26 中兴通讯股份有限公司 Configuration system and method for multiple exchanges
CN101127782B (en) * 2007-07-19 2011-04-20 中兴通讯股份有限公司 Method for forceful implementation of portal service
CN105681081B (en) * 2016-01-12 2019-06-21 华为技术有限公司 Physical machine management method and device
CN105634829B (en) * 2016-03-08 2019-09-13 浙江安正科技股份有限公司 A kind of network device management method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2416572A1 (en) * 2009-03-31 2012-02-08 Huawei Technologies Co., Ltd. Method and apparatus for obtaining address of video transmission management server

Also Published As

Publication number Publication date
CN107820262A (en) 2018-03-20
WO2018050041A1 (en) 2018-03-22

Similar Documents

Publication Publication Date Title
CN107820262B (en) Parameter configuration method, device and system
US11374857B2 (en) Network device management method and apparatus, and system for indicating a network device to perform management operation
US10057116B2 (en) Method and device for configuring and managing network element equipment, and network element equipment
US20200059976A1 (en) IoT DEVICE CONNECTIVITY, DISCOVERY, AND NETWORKING
PH12015502296B1 (en) A method and system for supporting distributed relay control protocol (drcp) operations upon communication failure
EP2751963A1 (en) Topology discovery in a hybrid network
US20170331641A1 (en) Deployment Of Virtual Extensible Local Area Network
CN105337853A (en) Instance establishing method and apparatus in software defined network (SDN)
US20220209996A1 (en) Interface Extension Method, Apparatus, and System
WO2020220459A1 (en) Vxlan and openflow-based method and system for sharing virtual home network
WO2015051493A1 (en) Loop detection method and apparatus
TW201210398A (en) Plug-and-play wireless network extension system and method of automatic connection for the same
CN113841363A (en) System and method for establishing communication links between networks and devices having different routing protocols
US10084656B2 (en) TRILL network establishing method, node, and system
CN107623752A (en) Network management and device based on link layer
WO2012119372A1 (en) Message processing method, device and system
WO2015081785A1 (en) Method and device for virtualized access
CN107566277B (en) Topology determining method, message response method, controller and switch
CN107888711B (en) Cross-network-segment equipment searching and communication method
JP7119174B2 (en) Network topology discovery method, network topology discovery device and network topology discovery system
CN104486217A (en) Cross network message transmitting method and equipment
WO2015070763A1 (en) Self-establishing method and apparatus for x2 interface
US20230318974A1 (en) BIER Packet Forwarding Method, Device, and System
WO2015058413A1 (en) Data configuration method and network management server
CN111447130B (en) Method, network equipment and system for creating connectivity detection session

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant