CN106953750A - One kind detection path establishment method and device - Google Patents

One kind detection path establishment method and device Download PDF

Info

Publication number
CN106953750A
CN106953750A CN201710138935.XA CN201710138935A CN106953750A CN 106953750 A CN106953750 A CN 106953750A CN 201710138935 A CN201710138935 A CN 201710138935A CN 106953750 A CN106953750 A CN 106953750A
Authority
CN
China
Prior art keywords
pex
parent device
detection
path
physical ports
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.)
Granted
Application number
CN201710138935.XA
Other languages
Chinese (zh)
Other versions
CN106953750B (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.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201710138935.XA priority Critical patent/CN106953750B/en
Publication of CN106953750A publication Critical patent/CN106953750A/en
Application granted granted Critical
Publication of CN106953750B publication Critical patent/CN106953750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/12Discovery or management of network topologies
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • H04L41/065Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis involving logical or physical relationship, e.g. grouping and hierarchies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/122Shortest path evaluation by minimising distances, e.g. by selecting a route with minimum of number of hops
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/583Stackable routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Abstract

The invention provides detection path establishment method and device, wherein the detection path establishment method applied to the primary parent device of vertical stack system includes:The notice message that cycle generation is set up to detection trigger path is set up according to detection path;Wherein, the source MAC of notice message is primary parent device, and the target MAC (Media Access Control) address of notice message is target parent device;Recognized according to the topology of vertical stack system up to the path of target parent device;One path is selected in the path of identification according to detection path priority;Notice message is sent by the PEX physical ports on selected path;Determine that PEX physical ports are notifying that detecting that path is set up receives response message in the cycle;The detection messages forwarding-table item that exit port is PEX physical ports is set up, to set up detection path.

Description

One kind detection path establishment method and device
Technical field
The present invention relates to mechanics of communication, more particularly to a kind of vertical stack System splitting detection technique is concretely One kind detection path establishment method and device.
Background technology
IRF3 (Intelligent Resilient Framework 3, third generation intelligent elastic framework) is to improve The access capability and the efficiency of management of network access layer and the portrait network developed integrates Intel Virtualization Technology.Its core concept be by Many PEX (Port Extender, port expander) equipment are connected on parent device, and progress is necessary with postponing, by every PEX device virtualizations are managed collectively into one block of remote interface plate of parent device by parent device.Can be with using this Intel Virtualization Technology With relatively low cost, to improve the interface density of parent device, simplify network topology, reduce network operation cost.
In the IRF3 networkings shown in Fig. 1, parent device is generally by two or more by stacking the equipment group that link is interconnected Into IRF.When the stacking link failure between two parent devices, an IRF will be caused to split into two new IRF, the two IRF possesses three layers of configuration such as identical IP (Internet Protocol, Internet protocol), if the two IRF are Active (activation) state, can cause address conflict, and then causing trouble expands in a network.
When the vertical stack system failure between the parent device of IRF systems, how to build detection link is used to send heap Folded division detection messages turn into a technical problem urgently to be resolved hurrily.
The content of the invention
It is an object of the invention to provide one kind detection path establishment method and device, vertical stack system is respectively applied to Primary main equipment and port expander PEX equipment, to set up detection path in vertical stack system, the detection path is primary Stacked between parent device and target parent device in the state of disconnecting to send stacking detection messages, improve vertical stack system group network Reliability.
For achieving the above object, the invention provides a kind of inspection of the primary parent device applied to vertical stack system Path establishment method is surveyed, this method includes:The notice that cycle generation is set up to detection trigger path is set up according to detection path Message;Wherein, the source MAC of notice message is primary parent device, and the target MAC (Media Access Control) address of notice message is target parent device; Recognized according to the topology of vertical stack system up to the path of target parent device;According to detection path priority in the path of identification One path of middle selection;Notice message is sent by the PEX physical ports on selected path;Determine PEX physical ports in notice Detection path, which is set up, receives response message in the cycle;The detection messages forwarding-table item that exit port is PEX physical ports is set up, to build Vertical detection path.
To achieve the above object, set present invention also offers a kind of port expander PEX applied to vertical stack system Standby detection path establishment method, this method includes:, by the PEX physical ports or connection upper level that connect primary parent device The cascade port of PEX equipment receives notice message;Wherein, the source MAC of notice message is primary parent device, notice message Target MAC (Media Access Control) address is target parent device;The PEX physics of direct-connected target parent device is determined whether according to the topology of vertical stack system Port;If it is, the detection messages forwarding-table item that exit port is the PEX physical ports for connecting primary parent device is set up, to set up Detect path;Response message is generated, the target MAC (Media Access Control) address of response message is primary parent device;By connecting primary parent device The cascade port of PEX physical ports or connection upper level PEX equipment sends the response message of generation, to have notified primary parent device Set up detection path.
Compared with prior art, present invention generation sets up detection path in vertical stack system, and the detection path is set in father Stacked between standby in the state of disconnecting to send stacking detection messages, improve vertical stack system group network reliability.
Brief description of the drawings
Fig. 1 is the networking schematic diagram of existing vertical stack system;
Fig. 2 is the detection path foundation side of the primary parent device provided in an embodiment of the present invention applied to vertical stack system The flow chart of method;
Fig. 3 is vertical stack system schematic provided in an embodiment of the present invention;
Fig. 4 is vertical stack system schematic provided in an embodiment of the present invention;
Fig. 5 is that dress is set up in the detection path of the primary parent device provided in an embodiment of the present invention applied to vertical stack system The schematic diagram put;
Fig. 6 is that dress is set up in the detection path of the primary parent device provided in an embodiment of the present invention applied to vertical stack system The schematic diagram put.
Embodiment
It is below in conjunction with the accompanying drawings and specific real to enable the above objects, features and advantages of the present invention more obvious understandable Applying mode, the present invention is further detailed explanation.
Fig. 2 is the detection path foundation side of the primary parent device provided in an embodiment of the present invention applied to vertical stack system The flow chart of method, this method as shown in Figure 2 comprises the following steps:
Step 201, the notice message that cycle generation is set up to detection trigger path is set up according to detection path.
In step 201, the source MAC of the notice message of primary parent device generation is the MAC Address of primary parent device, is led to The target MAC (Media Access Control) address for knowing message is the MAC Address of target parent device.
Step 202, recognized according to the topology of vertical stack system up to the path of target parent device;It is excellent according to detection path First level selects a path in the path of identification.
Step 203;Notice message is sent by the PEX physical ports on selected path.
Step 204, determine that PEX physical ports receive response message.
Step 205, the detection messages forwarding-table item that exit port is PEX physical ports is set up, to set up detection path.
Based on the detection path establishment method shown in Fig. 2, the primary parent device of vertical stack system is set up and target parent device Between stack link beyond detection path, the detection path stacks the shape of disconnection between primary parent device and target parent device To send stacking detection messages under state, vertical stack system group network reliability is improved.
Fig. 3 is shown in the longitudinal vertical stack system of the embodiment of the present invention, father (parent device) equipment 311 and 312 Between constitute chain by stacking link and stack, connect entirely between port expander (PEX, Port Extender device) equipment Connect.The election parent device 311 of parent device 311 and 312 is main equipment.The parent device 311 for being elected as main equipment detects whole indulge Notice message is sent by PEX physical ports after being set up to pile system, for setting up detection messages forward-path.
In IRF3 vertical stack systems, the PEX physical ports of parent device are used to connect PEX equipment;In PEX equipment PEX physical interfaces are used for connecting parent device;Connected between PEX equipment by cascading port.The PEX physics of parent device 311 in Fig. 3 Port 311-1 and 311-2 connect PEX equipment 321 and 324 respectively.321-1 and 321-2 points of the PEX physical ports of PEX equipment 321 Lian Jie not parent device 311 and 312;PEX the physical ports 324-1 and 324-2 of PEX equipment 324 connect the He of parent device 311 respectively 312.The cascade port 322-1 of the cascade port 321-3 connection PEX equipment 322 of PEX equipment 321;The cascade end of PEX equipment 322 The cascade port 323-1 of mouth 322-2 connection PEX equipment 323;The cascade port 323-2 connection PEX equipment 324 of PEX equipment 323 Cascade port 324-3.
Parent device 311 generates the notice message set up for detection trigger path according to the detection path cycle of setting up.Father sets Standby 311 learn three paths up to parent device 312 according to vertical stack system topological:
Path 1:Parent device 311->PEX equipment 321->Parent device 312;
Path 2:Parent device 311->PEX equipment 321->PEX equipment 322->PEX equipment 323->PEX equipment 324->Father sets Standby 312;
Path 3:Parent device 311->PEX equipment 324->Parent device 312.
Parent device 311 determines that path 1 is identical with the hop count in path 3 and minimum, by detection path priority rule selection road Footpath 1.In the present embodiment, detection path priority rule is the highest priority in the minimum path of hop count;Hop count is identical and minimum Multiple paths in, the minimum path priority highest of the mark of the PEX equipment nearest from primary parent device.
Parent device 311 selects one of them to build in other three beyond the link paths up to parent device 312 are stacked Vertical detection path, when can so avoid the parent device 311 and 312 from seeing that stacking disconnects, will send out to stack the detection messages of disconnection Toward all PEX equipment.
Parent device 311 sends notice message 130 by PEX physical ports 311-1;In the notice message 130, source MAC Location is the MAC Address of parent device 311, and target MAC (Media Access Control) address is the MAC Address of parent device 312;The notice message 130 is to indicate It is established to the detection path of parent device 312.
The notified message 130 of PEX equipment 321, determines there is direct-connected parent device 312 according to the topology of pile system PEX physical port 321-2, then do not continue to send notice message 130, detection messages forwarding-table item set up, to be established to mesh Mark the detection path of parent device.
In Fig. 3, PEX equipment 321 sets up detection detection messages forwarding-table item, by the PEX physics of linking objective parent device 321 Port 321-2 is set to detect the exit port of MAC Address list item.PEX equipment 321 generates response message 131, wherein source MAC It is the MAC Address of PEX equipment 321, target MAC (Media Access Control) address is the MAC Address of parent device 311;The response message 131 is to notify It is established to the detection path of parent device 312.PEX equipment 321 is sent out by the PEX physical ports 321-1 of notified message 130 Send response message 131.
Parent device 311 receives response message 131 by PEX physical ports 311-1, sets up detection MAC Address list item, will PEX physical ports 311-1 is set to detect the exit port of MAC Address list item, the detection road to be established to target parent device 312 Footpath.
Parent device 311 is detected after the stacking link disconnection of connection parent device 312, and it itself is IRF that parent device 312, which can be elected, Primary parent device in system domain.
Parent device 311 sends the detection messages that the IRF systems domain identifier carried and primary parent device 311 are identified, wherein Target MAC (Media Access Control) address is detection MAC Address.The target MAC (Media Access Control) address that parent device 311 finds detection messages is matched with detection messages turn Forwarding list item, detection messages are sent by PEX physical ports 311-1.
PEX equipment 321 receives detection messages by PEX physical ports 321-1, with finding the purpose MAC of detection messages Location is matched with detection messages forwarding-table item, and detection messages are sent by PEX physical ports 321-2.
Parent device 312 receives detection messages by connecting the PEX physical ports of PEX equipment 321, it is determined that carrying IRF systems Domain identifier is identical but primary parent device mark is different with itself, i.e., IRF system domains have two primary parent devices, IRF system domains Stacking splitting.Parent device 311 and 312 can be by detecting that path re-elects primary parent device, and the application is repeated no more herein Many activation detection of IRF systems.
System shown in Figure 3 sets up process there is provided the detection path stacked between parent device beyond link, available for IRF Many activation detection when disconnecting is stacked in system (vertical stack system) between parent device.
Fig. 4 show the schematic diagram for another vertical stack system that the present invention is provided, the PEX physical ports of parent device 411 The PEX physical ports 421-1 of 411-1 connection PEX equipment 421.The cascade port 421-2 connection PEX equipment 422 of PEX equipment 421 Cascade port 422-1;The cascade port 423-1 of the cascade port 422-2 connection PEX equipment 423 of PEX equipment 422;PEX is set The cascade port 424-1 of standby 423 cascade port 323-2 connection PEX equipment 424.The PEX ports connection father of PEX equipment 424 sets Standby 412
Parent device 411 sets up the cycle according to detection path, generates the notice message set up for detection trigger path.Father sets Standby 411 learn up to the path of parent device 412 according to vertical stack system topological:Parent device 411->PEX equipment 421->PEX is set Standby 422->PEX equipment 423->PEX equipment 424->Parent device 412.
Parent device 411 sends notice message 430 by PEX physical ports 411-1;In the notice message 430, source MAC Location is the MAC Address of parent device 411, and target MAC (Media Access Control) address is the MAC Address of parent device 412;The notice message 430 is to indicate It is established to the detection path of parent device 412.
The notified message 430 of PEX equipment 421, the PEX things in the absence of parent device 42 are determined according to the topology of pile system Port is managed, notice message 430 is sent by cascading port 421-2.
The notified message 430 of PEX equipment 422, is determined in the absence of direct-connected parent device 412 according to the topology of pile system PEX physical ports, notice message 430 is sent by cascading port 422-2.
The notified message 430 of PEX equipment 423, is determined in the absence of direct-connected parent device 412 according to the topology of pile system PEX physical ports, notice message 430 is sent by cascading port 423-2.
The notified message 430 of PEX equipment 424, determines there is direct-connected parent device 412 according to the topology of pile system PEX physical port 424-2, set up detection messages forwarding-table item, the i.e. family of PEX equipment 424 detection VLAN (VLAN) wide List item is broadcast, PEX physical ports 424-2 is set to detect the exit port that VLAN broadcasts list item, so that by PEX physical ports 424- 2 add detection VLAN.Detect the VLAN ID that VLAN matching detection message is carried.PEX equipment 424 passes through level Join port 424-1 and send response message 431.
In Fig. 4, if PEX equipment 423 handles the link congestion of load excessive or connection PEX equipment 422 due to equipment Response message 431 is caused to be dropped or handle delay.PEX equipment 422 is not received in confirmation of the reservation message repetition cycle should Message is answered, judges that the number of times for sending notice message 431 does not reach maximum times M, then resends notice message 431 and wait message Repetition cycle time-out.When PEX equipment 422 judges that the transmission times of notice message 431 reaches maximum times M, then by cascading end Mouth 422-1 sends failure message to upper level PEX equipment 421.PEX equipment 421 is received by cascading port 421-2 and unsuccessfully reported Text, parent device 411 is sent by PEX physical ports.Parent device 411 receives failure message, judges that failure is set up in detection path, then Continue waiting for detection path and set up cycle time-out, resend notice message.
When PEX equipment 423 recover or the connection of PEX equipment 423 PEX equipment 422 link-recovery, PEX equipment 422 passes through Cascade port 422-2 receives response message 431, sets up detection VLAN broadcast list items, cascade port 422-2 is set into detection VLAN broadcasts the exit port of list item, and response message 431 is sent by cascading port 422-1.PEX equipment 421 is by cascading port 421-2 receives response message 431, sets up detection VLAN broadcast list items, cascade port 421-2 is set to detect VLAN broadcast tables The exit port of item, passes through PEX physical ports 421-1 and sends response message 431.
Parent device 411 receives response message 431 by PEX physical ports 411-1, sets up detection VLAN broadcast list items, will PEX physical ports 411-1 is set to detect the exit port that VLAN broadcasts list item, the inspection to be established to target parent device 412 Survey path.
Parent device 411 is detected after the stacking link disconnection of connection parent device 412, and it itself is IRF that parent device 412, which can be elected, Primary parent device in system domain.What the IRF systems domain identifier and primary parent device 411 that parent device 411 sends carrying were identified Detection messages, wherein, target MAC (Media Access Control) address is broadcast MAC address, and VLAN ID (mark) are detection VLAN ID.Parent device 311 is looked into The VLAN ID for finding detection messages are matched with detection messages forwarding-table item, and detection messages are sent by PEX physical ports 411-1.
PEX equipment 421 receives detection messages by PEX physical ports 421-1, finds the VLAN ID of detection messages Assigned in detection messages forwarding-table item, detection messages are sent by PEX physical ports 421-2.
PEX equipment 422 receives detection messages by PEX physical ports 422-1, finds the VLAN ID of detection messages Assigned in detection messages forwarding-table item, detection messages are sent by PEX physical ports 422-2.
PEX equipment 423 receives detection messages by PEX physical ports 423-1, finds the VLAN ID of detection messages Assigned in detection messages forwarding-table item, detection messages are sent by PEX physical ports 423-2.
PEX equipment 424 receives detection messages by PEX physical ports 424-1, finds the VLAN ID of detection messages Assigned in detection messages forwarding-table item, detection messages are sent by PEX physical ports 424-2.
Parent device 412 receives detection messages by connecting the PEX physical ports of PEX equipment 424, it is determined that carrying IRF systems Domain identifier is identical but primary parent device mark is different with itself, i.e., IRF system domains have two primary parent devices, IRF system domains Stacking splitting.Parent device 411 and 412 can re-elect primary parent device with detection path, and the application repeats no more IRF herein Many activation detection of system.
Fig. 5 is that device 500 is set up in detection path provided in an embodiment of the present invention, and the device 500 is applied to vertical stack system The primary parent device of system.Device 500 is set up in detection path to be included:
Generation unit 501, cycle generation notice message is set up according to detection path;Wherein, the source MAC of notice message Location is primary parent device, and the target MAC (Media Access Control) address of notice message is target parent device.Path unit 502, according to vertical stack system Topology recognize up to the path of target parent device;One path is selected in the path of identification according to detection path priority. Transmitting element 503, notice message is sent by the PEX physical ports on selected path.Receiving unit 504, passes through PEX physics end Mouth receives response message.Control unit 505, sets up the detection messages forwarding-table item that exit port is PEX physical ports.
Receiving unit 504, failure message is received by PEX physical ports.Control unit 505, waits path to be detected to set up Cycle time-out, notifies that transmitting element 503 retransmits notice message.Transmitting element 505, resends notice message.
Control unit 505, which sets up the detection messages forwarding-table item that exit port is PEX physical ports, to be included:Set up detection MAC Address list item, PEX physical ports is set to detect the exit port of MAC Address list item;Wherein detection MAC Address is detection messages Target MAC (Media Access Control) address;Or;Detection VLAN broadcast list item is set up, PEX physical ports are set to detect virtual local area The exit port of net broadcast list item;Wherein detection VLAN is matched with the VLAN ID of detection messages carrying.
Fig. 6 is that device 600 is set up in detection path provided in an embodiment of the present invention, and device 600 is applied to vertical stack system Port expander PEX equipment.Device 600 is set up in detection path to be included:Receiving unit 601, path unit 602, control unit 603 and transmitting element 604.
Receiving unit 601, by connecting the PEX physical ports of primary parent device or connecting the cascade of upper level PEX equipment Port receives notice message;Wherein, the source MAC of notice message is primary parent device, and the target MAC (Media Access Control) address of notice message is Target parent device.Path unit 602, the PEX things of direct-connected target parent device are determined whether according to the topology of vertical stack system Manage port;If it is, notifying control unit 603.Control unit 603, it is the PEX things for connecting primary parent device to set up exit port Manage port;Response message is generated, the target MAC (Media Access Control) address of response message is primary parent device.Transmitting element 604, is led by connecting The response message of generation is sent with the PEX physical ports of parent device or the cascade port of connection upper level PEX equipment.
Path unit 602, judges the PEX physical ports without direct-connected target parent device, according to opening up for vertical stack system The next stage PEX equipment for determining to reach target parent device is flutterred, transmitting element 604 is notified.Transmitting element 604, it is next by connecting The cascade port of level PEX equipment sends notice message.
Receiving unit 601, receives response message by connecting the cascade port of next stage PEX equipment, notifies control unit 602.Control unit 602, sets up the detection messages forwarding-table item that exit port is the cascade port for connecting next stage PEX equipment.Hair Unit 603 is sent, sends and connects by the PEX physical ports for connecting primary parent device or the cascade port for connecting upper level PEX equipment The response message of receipts.
Control unit 603, determines notice message repetition cycle time-out and the cascade port of connection next stage PEX equipment is not received To response message;Judge whether the transmission times of notice message reaches maximum;If so, failed regeneration message and notifying to send single Member 604, if it is not, notifying that transmitting element 604 retransmits notice message.Transmitting element 604, by the PEX things for connecting primary parent device The cascade port for managing port or connection upper level PEX equipment sends the failure message generated;Or set by connecting next stage PEX Notice message is retransmitted in standby cascade port.
Receiving unit 601, by the cascade port reception failure message for connecting next stage PEX equipment.Transmitting element 602, The failure report received is sent by connecting the PEX physical ports of primary parent device or the cascade port of connection upper level PEX equipment Text.
Control unit 603, it is that the PEX physical ports for connecting primary parent device include to set up exit port:With setting up detection MAC Location list item, the PEX physical ports for connecting primary parent device is set to detect the exit port of MAC Address list item;Wherein detect MAC Address is the target MAC (Media Access Control) address of detection messages;Or;Detection VLAN broadcast list item is set up, primary parent device will be connected PEX physical ports be set to detect VLAN broadcast list item exit port;Wherein detection VLAN is matched with inspection Observe and predict the VLAN ID of text carrying.
Control unit 603, it is to set up the detection that exit port is the cascade port for connecting next stage PEX equipment to set up exit port Message forwarding-table item includes:Detection MAC Address list item is set up, the cascade port for connecting next stage PEX equipment is set to Detect the exit port of MAC Address list item;Wherein detection MAC Address is the target MAC (Media Access Control) address of detection messages;Or;Set up detection VLAN broadcasts list item, and the cascade port for connecting next stage PEX equipment is set into detection VLAN broadcast The exit port of list item;Wherein detection VLAN is matched with the VLAN ID of detection messages carrying.
By above-described embodiment, those skilled in that art can be according to the basic creative concept known, to these implementations Example makes other change and modification.So, appended claims are intended to be construed to include preferred embodiment and fall into this hair Bright scope has altered and changed.

Claims (16)

1. one kind detection path establishment method, it is characterised in that methods described is applied to the primary parent device of vertical stack system;
The notice message that cycle generation is set up to detection trigger path is set up according to detection path;Wherein, the notice message Source MAC be the primary parent device MAC Address, the target MAC (Media Access Control) address of the notice message is target parent device MAC Address;
Recognized according to the topology of the vertical stack system up to the path of the target parent device;
One path is selected in the path of identification according to detection path priority;
The notice message is sent by the PEX physical ports on selected path;
Determine that the PEX physical ports receive response message;
The detection messages forwarding-table item that exit port is the PEX physical ports is set up, to set up the detection path.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
Determine that the PEX physical ports receive failure message;
The detection path is waited to set up cycle time-out,
The notice message is sent by the PEX physical ports.
3. according to the method described in claim 1, it is characterised in that set up the detection report that exit port is the PEX physical ports Literary forwarding-table item includes:
Detection MAC Address list item is set up, the PEX physical ports are set to the exit port of the detection MAC Address list item;Its Described in detection MAC Address be the detection messages target MAC (Media Access Control) address;Or;
Detection VLAN broadcast list item is set up, the PEX physical ports are set to the detection VLAN broadcast The exit port of list item;Wherein described detection VLAN matches the VLAN ID that the detection messages are carried.
4. device is set up in one kind detection path, it is characterised in that described device is applied to the primary parent device of vertical stack system;
Generation unit, cycle generation notice message is set up according to detection path;Wherein, the source MAC of the notice message It is the primary parent device, the target MAC (Media Access Control) address of the notice message is target parent device;
Path unit, is recognized up to the path of the target parent device according to the topology of the vertical stack system;According to detection Path priority selects a path in the path of identification;
Transmitting element, the notice message is sent by the PEX physical ports on selected path;
Receiving unit, response message is received by the PEX physical ports;
Control unit, sets up the detection messages forwarding-table item that exit port is the PEX physical ports.
5. device according to claim 1, it is characterised in that side's device also includes:
The receiving unit, failure message is received by the PEX physical ports;
Described control unit, waits the detection path to set up cycle time-out, notifies the transmitting element;
The transmitting element, resends the notice message.
6. according to the method described in claim 1, it is characterised in that it is the PEX physics that described control unit, which sets up exit port, The detection messages forwarding-table item of port includes:
Described control unit sets up detection MAC Address list item, and the PEX physical ports are set into the detection mac address table The exit port of item;Wherein described detection MAC Address is the target MAC (Media Access Control) address of the detection messages;Or;
Described control unit sets up detection VLAN broadcast list item, and it is empty that the PEX physical ports are set into the detection Intend the exit port of LAN broadcast's list item;Wherein described detection VLAN matches the virtual local area that the detection messages are carried Network mark is known.
7. one kind detection path establishment method, methods described is applied to the port expander PEX equipment of vertical stack system, it is special Levy and be, methods described includes:
Notice message is received by the PEX physical ports for connecting primary parent device or the cascade port for connecting upper level PEX equipment; Wherein, the source MAC of the notice message is the primary parent device, and the target MAC (Media Access Control) address of the notice message is target Parent device;
The PEX physical ports of the direct-connected target parent device are determined whether according to the topology of the vertical stack system;
If it is, the detection messages forwarding-table item that exit port is the PEX physical ports for connecting primary parent device is set up, to set up State detection path;
Response message is generated, the target MAC (Media Access Control) address of the response message is the primary parent device;
Sent by connecting the PEX physical ports of the primary parent device or the cascade port of the connection upper level PEX equipment The response message of generation, to notify that the primary parent device has set up detection path.
8. method according to claim 7, it is characterised in that methods described also includes:
Judge the PEX physical ports without the direct-connected target parent device;
Determined to reach the next stage PEX equipment of the target parent device according to the topology of the vertical stack system;
The notice message is sent by the cascade port for connecting the next stage PEX equipment.
9. method according to claim 8, it is characterised in that methods described also includes:
Response message is received by the cascade port for connecting the next stage PEX equipment;
The detection messages forwarding-table item that exit port is the cascade port of the connection next stage PEX equipment is set up, it is described to set up Detect path;
PEX physical ports or the cascade port of the connection upper level PEX equipment by the primary parent device of connection Send the response message received.
10. method according to claim 8, it is characterised in that described method also includes:
Determine notice message repetition cycle time-out and the cascade port of the connection next stage PEX equipment does not receive the response report Text;
Judge whether the transmission times of the notice message reaches maximum;
If so, failed regeneration message, passes through the PEX physical ports or the connection upper level of the connection primary parent device The cascade port of PEX equipment sends the failure message of generation;
If it is not, retransmitting the notice message by the cascade port for connecting the next stage PEX equipment.
11. method according to claim 9, it is characterised in that methods described also includes;
Pass through the cascade port reception failure message of the connection next stage PEX equipment;
PEX physical ports or the cascade port of the connection upper level PEX equipment by the connection primary parent device Send the failure message received.
12. device is set up in one kind detection path, described device is applied to the port expander PEX equipment of vertical stack system, its It is characterised by, described device includes:
Receiving unit, is received by the PEX physical ports for connecting primary parent device or the cascade port for connecting upper level PEX equipment Notice message;Wherein, the source MAC of the notice message is the primary parent device, the purpose MAC of the notice message Location is target parent device;
Path unit, the PEX physics of the direct-connected target parent device is determined whether according to the topology of the vertical stack system Port;If it is, notifying control unit;
Described control unit, sets up the detection messages forwarding-table item that exit port is the PEX physical ports for connecting primary parent device;It is raw Into response message, the target MAC (Media Access Control) address of the response message is the primary parent device;
Transmitting element, by connecting the PEX physical ports of the primary parent device or the cascade of the connection upper level PEX equipment Port sends the response message of generation.
13. device according to claim 12, it is characterised in that
The path unit, judges the PEX physical ports without the direct-connected target parent device, according to the vertical stack system Topology determine to reach the next stage PEX equipment of the target parent device, notify the transmitting element;
The transmitting element, the notice message is sent by the cascade port for connecting the next stage PEX equipment.
14. device according to claim 13, it is characterised in that
The receiving unit, receives response message by the cascade port for connecting the next stage PEX equipment, notifies the control Unit;
Described control unit, sets up the detection messages forward table that exit port is the cascade port of the connection next stage PEX equipment ;
The transmitting element, is set by the PEX physical ports or the connection upper level PEX of the primary parent device of connection Standby cascade port sends the response message received.
15. device according to claim 14, it is characterised in that
Described control unit, determines the cascade end of the notice message repetition cycle time-out and the connection next stage PEX equipment Mouth does not receive the response message;Judge whether the transmission times of the notice message reaches maximum;If so, failed regeneration report Text simultaneously notifies the transmitting element, if it is not, notifying that the transmitting element retransmits the notice message;
The transmitting element, is set by the PEX physical ports or the connection upper level PEX of the connection primary parent device Standby cascade port sends the failure message of generation;Or institute is retransmitted by the cascade port for connecting the next stage PEX equipment State notice message.
16. device according to claim 14, it is characterised in that
The receiving unit, passes through the cascade port reception failure message of the connection next stage PEX equipment;
The transmitting element, is set by the PEX physical ports or the connection upper level PEX of the connection primary parent device Standby cascade port sends the failure message received.
CN201710138935.XA 2017-03-09 2017-03-09 Detection path establishing method and device Active CN106953750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710138935.XA CN106953750B (en) 2017-03-09 2017-03-09 Detection path establishing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710138935.XA CN106953750B (en) 2017-03-09 2017-03-09 Detection path establishing method and device

Publications (2)

Publication Number Publication Date
CN106953750A true CN106953750A (en) 2017-07-14
CN106953750B CN106953750B (en) 2020-12-04

Family

ID=59468325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710138935.XA Active CN106953750B (en) 2017-03-09 2017-03-09 Detection path establishing method and device

Country Status (1)

Country Link
CN (1) CN106953750B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547298A (en) * 2019-01-28 2019-03-29 新华三技术有限公司 A kind of forward-path detection method and device
CN109639535A (en) * 2019-01-18 2019-04-16 广州小鹏汽车科技有限公司 A kind of routing relation detection method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018180A (en) * 2007-03-12 2007-08-15 中兴通讯股份有限公司 A method for implementing the forward table in the stack system
CN101299708A (en) * 2007-09-20 2008-11-05 上海寰创通信科技有限公司 Dynamic broadcast routing method
CN103220189A (en) * 2013-04-12 2013-07-24 杭州华三通信技术有限公司 Multi-active detection (MAD) backup method and equipment
WO2016146022A1 (en) * 2015-03-13 2016-09-22 Hangzhou H3C Technologies Co., Ltd. Preventing multiple conflicting stacks
CN106452921A (en) * 2016-11-28 2017-02-22 杭州华三通信技术有限公司 Stacking system split detection method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018180A (en) * 2007-03-12 2007-08-15 中兴通讯股份有限公司 A method for implementing the forward table in the stack system
CN101299708A (en) * 2007-09-20 2008-11-05 上海寰创通信科技有限公司 Dynamic broadcast routing method
CN103220189A (en) * 2013-04-12 2013-07-24 杭州华三通信技术有限公司 Multi-active detection (MAD) backup method and equipment
WO2016146022A1 (en) * 2015-03-13 2016-09-22 Hangzhou H3C Technologies Co., Ltd. Preventing multiple conflicting stacks
CN106452921A (en) * 2016-11-28 2017-02-22 杭州华三通信技术有限公司 Stacking system split detection method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639535A (en) * 2019-01-18 2019-04-16 广州小鹏汽车科技有限公司 A kind of routing relation detection method and device
CN109639535B (en) * 2019-01-18 2020-09-11 广州小鹏汽车科技有限公司 Routing relation detection method and device
CN109547298A (en) * 2019-01-28 2019-03-29 新华三技术有限公司 A kind of forward-path detection method and device

Also Published As

Publication number Publication date
CN106953750B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN103780480B (en) Message forwarding method and equipment
US10382254B2 (en) Multi-stage switch fabric fault detection and handling
CN102315975B (en) Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
CN100479408C (en) A method for implementing the forward table in the stack system
CN101594304B (en) Method for preventing stack system from generating loop and member equipment in stack system
CN101572626B (en) Collocation method and member device of stack logic interface
CN103916275A (en) BFD detection device and method
CN101821990A (en) Arrangement and method for handling failures in network
CN101247321A (en) Method, device and system for routing diagnosis in network based on diameter protocol
US11197177B2 (en) Outdoor lighting network as a contingency connectivity infrastructure
CN101136789A (en) Method and device for implementing terminal-to-terminal link detection, routing strategy rearrangement
CN102347867A (en) Processing method and equipment for stacking splitting detection
CN102123024A (en) Method, system and device for switching and selecting clock source equipment
CN103401781A (en) Access method and access device applied to TRILL (Transparent Interconnection of Lots of Links) network
CN106452921A (en) Stacking system split detection method and device
CN105103502A (en) Method for configuring node devices of a mesh communications network, computer program, information storage means and system
CN102158383B (en) Data transmission method, device and system for E1 bidirectional ring network
CN104104596B (en) A kind of IRF divides treating method and apparatus
CN109716823B (en) Outdoor lighting network as an emergency connection infrastructure
CN106953750A (en) One kind detection path establishment method and device
CN1921432B (en) Message transmitting method and device
CN102694664A (en) Multicast method and multicast equipment
CN104168129A (en) A network element of a software-defined network
CN102006231A (en) Method and device for establishing intelligent route of data service network element as well as data service transmission apparatus
CN113037622B (en) System and method for preventing BFD from vibrating

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
TR01 Transfer of patent right

Effective date of registration: 20230531

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right