Service-based node-centric ECMP health
By configuring branch nodes in the ECMP network to obtain and analyze ECMP performance indicators, the problems of ECMP path health monitoring and load assurance are solved, health monitoring and load balancing of ECMP paths are realized, and the performance and reliability of network services are ensured.
Patent Information
- Application Number
- CN202080067184.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-10-15
- Filing Date
- 2020-10-09
- Publication Date
- 2024-09-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In an ECMP network environment, existing technology is difficult to effectively monitor and ensure the health of each node's ECMP path, leading to load imbalance and flow polarization problems, affecting the performance and reliability of network services.
By configuring branch nodes to obtain ECMP performance metrics, and combining knowledge of the control plane, data plane, and forwarding behavior, analyze these metrics to determine the health status of the ECMP path, providing a unified view based on each prefix or label, ensuring that the ECMP path is in the RIB /FIB/LFIB table installed, healthy and stable with no flow polarization.
It implements health monitoring and load guarantee of each node's ECMP path to ensure the performance and reliability of network services, solves the problem of load imbalance and flow polarization, and provides a service-aware overall view to ensure the health and reliability of ECMP paths. load distribution.
Smart Images

Figure CN114521320B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to service assurance in a network. Background Art
[0002] Equal Cost Multi-Path (ECMP) is often used in networks to achieve efficient load balancing and network resilience. In an ECMP network environment, nodes can perform path selection based on a local hashing mechanism that considers various key values from packet headers (e.g., Internet Protocol (IP) header information, Internet Protocol version 6 (IPv6) flow labels, entropy labels, etc.) and local variables (incoming interface identifiers, loopback addresses, etc.). ECMP performs load balancing based on packet flows rather than on individual packets.
[0003] Depending on the network design and deployment model, the number of ECMP paths between endpoints can vary from two to hundreds or even thousands. More ECMP paths may result from multiple node-local ECMP decisions, also known as "cascaded ECMP". BRIEF DESCRIPTION OF THE DRAWINGS
[0004] Figure 1 is a block diagram of a system configured for service assurance in a network according to an example embodiment.
[0005] Figure 2 According to an example embodiment Figure 1 A high-level block diagram of a system configured to determine the performance health of an equal-cost multi-path (ECMP) in a network.
[0006] Figure 3 is a block diagram illustrating interaction with a branch node in a network to configure the branch node to report ECMP performance metrics according to an example embodiment.
[0007] Figure 4 and Figure 5 is a block diagram illustrating interaction with a branch node in a network to configure the branch node to perform flow monitoring and report ECMP load distribution performance according to an example embodiment.
[0008] Figure 6 An example of decomposing ECMP configured on a branch node across multiple types of interfaces according to an example embodiment is illustrated.
[0009] Figure 7 An operational flow of events that trigger flow capture for measuring ECMP performance of a branch node is illustrated according to an example embodiment.
[0010] Figure 8 An operational flow for calculating a metric of ECMP performance health based on a plurality of ECMP performance indicators is illustrated according to an example embodiment.
[0011] Fig. 9 A flow chart of a method for deriving ECMP performance health of a branch node according to an example embodiment is illustrated.
[0012] Fig.10 is a block diagram of a computing device configured to perform the operations presented herein, according to an example embodiment. DETAILED DESCRIPTION
[0013] Overview
[0014] Aspects of the invention are set out in the independent claims and preferred features are set out in the dependent claims. Features of one aspect may be applicable to any aspect alone or in combination with other aspects.
[0015] Techniques for determining equal cost multi-path (ECMP) performance health in a network are presented herein. According to an example embodiment, a method is provided that involves obtaining information indicating ECMP paths in a network that includes a plurality of nodes, the plurality of nodes including at least one branch node. The method includes configuring the branch node to obtain an ECMP performance indicator, and obtaining the ECMP performance indicator from the branch node. The method also includes analyzing the ECMP performance indicator to determine the ECMP performance health of the branch node.
[0016] Example Embodiments
[0017] Service assurance involves monitoring the performance of network services. ECMP assurance is a use case that network operators are interested in monitoring / assurance. Based on granularity, the health of an ECMP path can be measured in two ways:
[0018] Network-centric (end-to-end ECMP path between two service endpoints); and
[0019] Node-centric (ECMP of prefixes on any particular node).
[0020] The purpose of node-centric ECMP health assurance is to ensure:
[0021] All ECMP paths are installed in the Routing Information Base (RIB) / Forwarding Information Base (FIB) / Label Forwarding Information Base (LFIB) tables;
[0022] All ECMP paths are healthy; and
[0023] All ECMP paths were used without any flow polarization.
[0024] A network user wants to ensure that ECMP is healthy for prefix P (or label L). Monitoring the uptime / status of prefix P in the FIB table may not be sufficient for several reasons. One such reason is that changes in Layer 2 (L2) are not reflected in the forwarding table. For example, prefix P uses PortChannel on the egress interface, if one of the member links of the PortChannel fails, it may not be reflected in the forwarding table. As another example, prefix P uses PortChannel1 and PortChannel2 on the egress interface, if one of the member links of PortChannel1 fails, it may not be reflected in the Internet Protocol (IP) forwarding table.
[0025] Another reason why ECMP guarantees are useful is that there may be inconsistencies between the RIB, FIB, LFIB, and Hardware FIB (HW-FIB), which may result in providing an erroneous health status. Yet another reason is that just because an interface remains up does not ensure that the forwarding state of all interfaces is functioning properly. One interface may have some random drops (due to line card / hardware issues) while other interfaces do not experience any such packet drops.
[0026] Furthermore, monitoring the cumulative load distribution between ECMP links may not be sufficient for various reasons. One reason may be that prefix P1 is accessible via interface 1 (Intf1) and interface 2 (Intf2), while prefix P2 is accessible via Intf2 and interface 3 (Intf3). It is natural to see that Intf2 is more loaded than Intf1 and Intf3.
[0027] Yet another reason could be that there are a number (e.g. 10) of mice flowing to prefix P1 (at 100Kbps) and one elephant flowing to the same prefix P1 (at 10Mbps), which would not show 50-50 load sharing at the packet level. You would expect to see a few Mbps in one link and only a few kbps in the other.
[0028] Therefore, it is desirable to ensure that ECMP is healthy on a per-node basis. Similarly, the goal of node-centric ECMP health assurance is to ensure that:
[0029] All ECMP paths / links are installed in the RIB / FIB / LFIB tables;
[0030] All ECMP paths / links are healthy and stable;
[0031] All ECMP paths / links are forwarding without any issues; and
[0032] All ECMP paths were used without any flow polarization.
[0033] From a load balancing perspective, there are many operational challenges. Traffic may not be properly load balanced: one particular link is fully utilized, while another link is only lightly utilized. This is the flow polarization problem mentioned earlier observed in many networks, and operators want to address this problem. Another challenge may be that there are two links using ECMP, one link is very healthy, and the other link is dropping packets. All flows that are load balanced to the healthy link will be fine, but flows that are load balanced to the unhealthy link will experience performance issues. There are many such problems that can affect ECMP service guarantees depending on the granularity.
[0034] Presented herein are methods for monitoring per-node (node-centric) ECMP health and achieving load assurance. These methods use a combination of link health, monitoring, and sampling-based statistics to provide a unified view of ECMP health on a per-prefix / label basis to achieve service assurance. These techniques leverage knowledge about the control plane, data plane, and forwarding behavior to provide answers of "healthy," "unhealthy," or "likely healthy." As further described herein, ECMP health can be measured in terms of equal load sharing, stability, etc.
[0035] This method involves querying the node about the health of ECMP on a per-prefix or per-label basis. Analysis is performed on the data returned by the node to determine whether the ECMP on that node is healthy or unhealthy.
[0036] Reference now Figure 1 , which shows a schematic diagram of a service assurance system 100 according to an example embodiment. Figure 1, there is a block diagram of an example network service assurance system or architecture (also referred to herein as a "service assurance system" 100). For example, the service assurance system 100 can provide service assurance for an intent-based network. The service assurance system 100 leverages the programmability of network devices in an intent-based network (also referred to as a "service network" or simply "network"), as well as model / event-driven telemetry from the network devices, to deliver end-to-end service assurance for various services. The assurance system 100 includes a network orchestrator (NO) 102, a service operator 104 that provides instructions to the NO 102, an assurance orchestrator 106 that communicates with the NO 102, assurance agents 108(1)-108(M) (collectively referred to as assurance agents 108) that communicate with the assurance orchestrator 106, an assurance collector 110 (also referred to as assurance collector 110) that communicates with the assurance agent 108 and the service operator 104, and network devices 112(1)-112(N) (collectively referred to as network devices 112) that communicate with the NO 102 and the assurance collector 110. NO 102 configures network devices 112(1)-112(N) to implement an intent-based service network 113 that is capable of providing various services to end users. Network devices 112 (nodes) may include routers, switches, gateways, and other network devices (physical or virtual). Assurance orchestrator 106, assurance agent 108, and assurance collector 110 are generally referred to as one or more "assurance entities."
[0037] NO 102 may include applications and / or services hosted on one or more server devices (more simply referred to as servers), for example, in a cloud-based data center. Assurance orchestrator 106 may also include applications and / or services hosted on one or more server devices, which may be the same or different servers than those used by NO 102. Similarly, assurance collector 110 may also include applications and / or services hosted on one or more servers, which may be the same or different servers than those used by assurance orchestrator 106. Assurance agents 108(1)-108(N) may each include applications and / or services hosted on one or more servers, and may be geographically distributed near respective ones of network devices 112(1)-112(N) to enable monitoring of services under the control of the assurance agents. NO 102, assurance orchestrator 106, assurance agents 108, assurance collector 110, and network devices 112 may communicate with each other via one or more communication networks, including one or more wide area networks (WANs), such as the Internet, and one or more local area networks (LANs).
[0038] exist Figure 1In the example of , the service assurance system 100 supports multiple services, including Service 1 and Service 2 (collectively referred to as "services"). To this end, the service operator 104 includes a Service 1 operator for Service 1 and a Service 2 operator for Service 2, and the assurance collector 110 includes a Service 1 collector for Service 1 and a Service 2 collector for Service 2. The service operator 104 (e.g., the Service 1 operator and the Service 2 operator) provides network and service intent-based instructions to the NO 102 to set up / configure services (e.g., Service 1 and Service 2) for end users. The service operator 104 also receives assurance requests for services (e.g., "get assurance" requests) from the assurance collector 110 (e.g., the Service 1 collector and the Service 2 collector) and forwards the requests to the NO 102.
[0039] In response to the above instructions and the request sent by the service operator 104, the NO 102 derives the intent-based network device configuration information 114 and sends it to the network device 112 to configure the network device / service network 113 for the service (e.g., for service 1 and service 2). In addition, the NO 102 derives the service configuration information 116 and sends it to the guarantee orchestrator 106 for providing guarantees for the services (e.g., service 1 and service 2) enabled on the service network 113. The service configuration information 116 includes, for each service deployed or implemented on the service network 113, a definition of the service, which includes a service type (e.g., a type of network connection), a service instance (e.g., an identifier or name of the service), and network configuration information describing how the service is actually implemented by the service network 113. That is, the definition of the configuration of the service reflects how the service is instantiated as a collection of sub-services in the service network 113.
[0040] For network device configuration information 114, NO 102 may use, for example, Network Configuration Protocol (NETCONF) to push intent-based network device configuration objects (e.g., Yet Another Next Generation (YANG) models or objects) to network device 112. Similarly, for service configuration information 116, NO 102 may also use, for example, NETCONF to push intent-based service configuration YANG objects to assurance orchestrator 106. YANG is a data modeling language for defining data sent over a NETCONF-compliant network to configure resources. NETCONF is used to install, operate, and delete configurations of resources, while YANG is used to model configuration and state data of resources.
[0041] In response to receiving the monitoring object in the telemetry configuration information 120, the network device 112 records the sub-service indicator specified in the monitoring object and transmits the sub-service indicator (in Figure 1In the example, the telemetry stream carries the sub-service indicator 122 in the telemetry object corresponding to the monitored object. The assurance agent 108 then tags the sub-service indicator 122 with a service tag to indicate which sub-service indicators are associated with / belong to which services to generate service-tagged sub-service indicators 124 (in Figure 1 In other words, the assurance agent 108 applies the service tag to the sub-service metric of the service to which the service tag belongs. In the example where the sub-service metric 122 is carried in the telemetry object, the assurance agent 108 tags the telemetry object with the service tag to generate a service-tagged telemetry object. Therefore, the service tag provides service context for the sub-service metric.
[0042] In one embodiment, assurance agent 108 does not perform any specific analysis on the sub-service metrics, leaving such analysis to assurance collector 110 and / or assurance orchestrator 106. In another embodiment, assurance agent 108 performs analysis on sub-service metrics 122 as directed by the heuristics package to produce a health state of the sub-service associated with the sub-service metrics (e.g., a KPI used as an indicator of the health state of the sub-service). Assurance agent 108 provides service-tagged sub-service metrics 124 to assurance collector 110, as well as the health state of the sub-service when calculated by the assurance agent. For example, assurance agent 108 provides a stream of service-tagged sub-service metrics tagged with service tag 1 to service 1 collector to indicate service 1, and provides a stream of service-tagged sub-service metrics tagged with service tag 2 to service 2 collector to indicate service 2. Assurance agent 108 may also provide service-tagged sub-service metrics 124 to assurance orchestrator 106.
[0043] Assurance orchestrator 106 operates as a central controller for assuring services deployed on service network 113. That is, assurance orchestrator 106 adopts "service awareness" to control the assurance of services deployed on service network 113. In this role, assurance orchestrator 106 performs several main operations. First, assurance orchestrator 106 generates a unique service tag for each service defined in service configuration information 116 based on the service type and service instance in the definition of the service. In an example, the service tag of a given service can be a tuple that includes the service type and service instance from the definition of the given service. The service tag can be used to distinguish the service to which it belongs from all other services.
[0044] Secondly, the guarantee orchestrator 106 decomposes the definition of each service defined in the service configuration information 116 into a corresponding subservice dependency graph of subservices and the dependencies / interdependencies between the subservices that jointly (actually) implement the service on the network. That is, the guarantee orchestrator 106 decomposes each service into a corresponding subservice dependency graph. The subservice dependency graph includes links between (subservice) nodes representing subservices and nodes representing dependencies between subservices. The subservice dependency graph may include service types and service instances (e.g., service tags) of the services represented by the subservice dependency graph. To assist in the above decomposition, the guarantee orchestrator 106 may poll or query various network devices identified in the definition to discover subservices, such as packet routing protocols implemented on the network devices, which will be merged into the subservice dependency graph.
[0045] In a non-limiting embodiment, the sub-service dependency graph includes a sub-service dependency tree having a root node representing a service, and nodes representing sub-services and having parent-child relationships (i.e., dependency relationships) between nodes / sub-services pointing to the root node. Other types of graph constructs / data structures may be used to represent the sub-service dependency graph, as will be understood by those of ordinary skill in the art who read this application.
[0046] Third, the assurance orchestrator 106 derives from each subservice dependency graph a corresponding set of heuristic packages for the services described by the subservice dependency graph. The heuristic packages (i) specify / define service-related metrics (i.e., subservice metrics) to be monitored / recorded and reported by the subservices, which are indicative of the health status / condition of the subservices, i.e., as indicators of the health status of the subservices, (ii) include rules for determining / calculating key performance indicators (KPIs) based on the recorded and reported subservice metrics, including the health status of the subservices (also individually referred to as "subservice health status" and collectively referred to as "subservice health status"), and (iii) which sensor paths (i.e., telemetry paths) are enabled to report telemetry, i.e., report the subservice metrics recorded by the subservices from the subservices. The heuristic packages may also include or be associated with the service tags of the services to which the heuristic packages correspond. The assurance orchestrator 106 employs the heuristic packages to configure the assurance agent 108 to monitor the subservices of the service and calculate the health status of the subservices based on the monitoring, as described below.
[0047] Fourth, the assurance orchestrator 106 provides the assurance agent 108 with assurance agent configuration information 118, including the interrelated heuristic packages and their corresponding service tags. The assurance orchestrator 106 may use NETCONF to push the heuristic packages as YANG objects to the assurance agent 108. The assurance orchestrator 106 may also provide the sub-service dependency graph to the assurance collector 110 in the assurance collector configuration information 119.
[0048] The assurance agent 108 acts as an intermediate assurance device between the network device 112, the assurance collector 110, and the assurance orchestrator 106. More specifically, the assurance agent 108 converts the assurance agent configuration information 118 including the heuristic package into the telemetry configuration information 120, and provides the telemetry configuration information to the network device 112 to configure the network device 112 to record and report the above-mentioned sub-service indicators. For example, the assurance agent 108 generates a monitoring object that defines the sub-service indicators to be recorded and reported by the sub-service, and provides the monitoring object to the sub-service in the telemetry configuration information 120 to configure the sub-service to record and report the sub-service indicators. The assurance agent 108 can maintain the heuristic package, the monitoring object generated by the heuristic package, and the association / binding or mapping between the heuristic package and the service (e.g., service tag) involved in the monitoring object. The assurance agent 108 can use NETCONF (or RESTCONF), for example, to push the YANG monitoring object to the network device 112.
[0049] In response to receiving the monitoring object in the telemetry configuration information 120, the network device 112 records the sub-service indicator specified in the monitoring object and transmits the sub-service indicator (in Figure 1 In the example, the telemetry stream carries the sub-service indicator 122 in the telemetry object corresponding to the monitored object. The assurance agent 108 then tags the sub-service indicator 122 with a service tag to indicate which sub-service indicators are associated with / belong to which services to generate service-tagged sub-service indicators 124 (in Figure 1 In other words, the assurance agent 108 applies the service tag to the sub-service metric of the service to which the service tag belongs. In the example where the sub-service metric 122 is carried in the telemetry object, the assurance agent 108 tags the telemetry object with the service tag to produce a service-tagged telemetry object. Therefore, the service tag provides service context for the sub-service metric.
[0050] Steering Figure 2 , according to an embodiment presented herein, a schematic diagram of an assurance system 100 is shown, which focuses on performing assurance of ECMP in a network 200, and in particular, is used to perform node-centric ECMP monitoring. In this example, network 200 includes nodes R1, R2, R3, R4, R5, R6, and R7, represented by reference numerals 210(1)-210(7), respectively. The assurance orchestrator 106 identifies each node through an ECMP path for a service in network 200 based on network configuration and topology information obtained from network orchestrator 102. In network 200, this corresponds to nodes R2, R3, and R4. R2, R3, and R4 are also referred to as ECMP branch nodes, or simply branch nodes.
[0051] As shown at 220, guarantee orchestrator 106 instructs guarantee agents 108(2)-180(4) associated with nodes R2, R3, and R4 to configure nodes R2, R3, and R4 to perform node-centric monitoring. It should also be appreciated that guarantee orchestrator may instruct transit nodes (e.g., nodes other than branch nodes R2, R3, and R4), such as nodes R5 and R6, to assist in computing a list of links that are part of the ECMP in network 200 to enable monitoring of ECMP performance for layer 2 and layer 3 operations in network 200.
[0052] ECMP functional health can be further viewed in two ways:
[0053] 1. Healthy forwarding. All ECMP links are working properly without black / brown out failures.
[0054] 2. Healthy load distribution. Evenly distribute the workload to all ECMP paths.
[0055] Therefore, there are two stages in node-centric ECMP monitoring:
[0056] Phase 1—Collect and analyze local statistics to verify healthy forwarding.
[0057] Phase 2—Performs local statistics combined with monitoring to verify healthy forwarding and load distribution.
[0058] Each node that performs ECMP (e.g. Figure 2 Nodes R2, R3, and R4 in the network 200 shown in FIG. 1 measure ECMP paths based on cross-layer, multi-dimensional node-level factors, including:
[0059] 1. A list of interfaces through which each prefix can be reached.
[0060] 2. Interface status, interface errors, and interface load of each interface.
[0061] 3. Real-time flow-based telemetry data based on prefixes or labels (e.g., Flexible NetFlow TM ).
[0062] 4. Stability of the interface.
[0063] Measurement information is published as telemetry data, such as Figure 1 shown.
[0064] The guarantee orchestrator 106 provides heuristic rules that define one or more thresholds or criteria against which the measurement information is evaluated to find out the health of ECMP on a node. The heuristic rule may depend on a variety of factors, including how many egress interfaces there are on a node, etc. Statistics are aggregated for each prefix or label and compared to the threshold.
[0065] Real-time flow-based telemetry data involves capturing packet flow information over a period of time, such as a few seconds, and is used to determine if there is equal load sharing between the egress interfaces of a node. If the load distribution is not balanced between two or more interfaces, this indicates a problem with ECMP load sharing.
[0066] Assurance agents 108(2)-108(4) respond to ECMP health commands from assurance orchestrator 106 and interact with their associated nodes to obtain required data from the ECMP assurance nodes. In one example, this data may be obtained via a command line interface (CLI) command in the node, such as: "show ecmp{prefix|label} <value>”. The data obtained from the node can be published by the guarantee agent to any listening collector and / or guarantee orchestrator 106.
[0067] Reference now Figure 3 , Figure 3 Another example application of the system 100 is shown having a network 300 including nodes R1, R2, R3, R4, and R5 shown at 310(1)-310(5). Node R3 is an ECMP branch node that performs ECMP routing to prefixes P1 and P2. As shown in the routing table 320 of node R3, prefix P1 can be reached via node R1 through the egress interface Gig2 of node R3, or via node R2 through the egress interface Gig4 of node R3. Similarly, prefix P2 can be reached via node R5 via the egress interface Gig0 of node R3, or via node R4 via the egress interface Gig1 of node R3.
[0068] ECMP node-level metrics
[0069] Guarantee orchestrator 106 may configure a node's guarantee agent, such as guarantee agent 108(3) of node R3, to obtain ECMP node-level metrics for any prefix P with an ECMP interface, such as:
[0070] a. Prefix Uptime - Indicates the stability of the prefix.
[0071] b.Last-Change - Indicates the stability of ECMP (interface addition / removal).
[0072] c.Max_path_configured - Maximum paths configured on the node.
[0073] d.Max_path_avai1able - count of current ECMP interfaces in the table.
[0074] e. Router Information Base (RIB) consistency - Whether the RIB is consistent with the ECMP interface according to the protocol.
[0075] f. Forwarding Information Base (FIB) consistency - Based on the RIB, whether the FIB is consistent with the ECMP interface.
[0076] g. Label Forwarding Information Base (LFIB) consistency - whether the incoming label of prefix P is consistent with the ECMP interface.
[0077] h. Hardware (HW) consistency - whether the ASIC programming is consistent with the RIB / FIB.
[0078] i. Data Plane Monitoring (DPM) Enabled? - Are Operations, Administrator, and Management (OAM) features such as DPM enabled for the prefix / label?
[0079] The stability of an ECMP interface can be reflected by the time since its last change (last-change). If the last-change is a few days, it indicates good stability. If the last-change is seconds or minutes, it indicates instability.
[0080] Max_path_configured can indicate ECMP health. For example, at least 4 ECMP paths are healthy, but equal to or less than 4 ECMP paths are unhealthy. In general, up to 54 ECMP paths may be configured on a node.
[0081] RIB / FIB / LFIB consistency involves checking to ensure that the control plane is consistent with the data plane on the node. Therefore, RIB / FIB / LFIB consistency is useful for determining whether the ECMP interfaces are configured consistently in various tables, on line cards, etc.
[0082] DPM can be used to determine whether a node can forward to all ECMP paths with different entropies.
[0083] All of these ECMP node-level metrics are published on the node as ECMP Health.
[0084] ECMP flow-level metrics
[0085] For any prefix P that has an ECMP interface in a Multiprotocol Label Switching (MPLS) network, a real-time packet flow capture may be triggered for a few seconds (or some other configurable period) and statistics such as flow count (distribution percentage at packet flow level) may be displayed on each ECMP interface.
[0086] ECMP interface-level metrics
[0087] For each ECMP interface on a node, the following metrics / statistics are available:
[0088] a. Type - Physical or Virtual (Switch Virtual Interface (SVI) or PortChannel).
[0089] b. Interface uptime - indicates the stability of the interface.
[0090] c.Last-Change - Indicates the stability of the interface in ECMP (interface addition / removal).
[0091] d. Statistics - All interface counters.
[0092] e. Maximum Transmission Unit - The MTU of the interface. The MTU refers to the size (in bytes) of the largest packet that can be passed forward by a given layer of the communication protocol.
[0093] f. Switched Packets - Packets switched on an interface for a given prefix or label.
[0094] g.Bfd_enabled? - Is Bidirectional Forwarding Detection (BFD) enabled for the interface.
[0095] h.Bfd_status - Status of BFD (if enabled).
[0096] i.Egress_policy? - Are there any policies (e.g. policing) enabled on the interface, which may be useful for Software Defined Wide Area Network (SD-WAN) applications.
[0097] ECMP link-level metrics
[0098] For each virtual ECMP interface on a node, the following metrics are available:
[0099] a. Type - SVI or PortChannel
[0100] b. List of all links.
[0101] c. Uptime of each link.
[0102] d. The last modification time of each link.
[0103] e. Statistics for each link.
[0104] f. Exchanged packets.
[0105] g.Micro_Bfd enabled.
[0106] Calculating ECMP Health
[0107] The assurance orchestrator 106 (or the assurance agent for a given node) aggregates and analyzes all metrics to determine the ECMP performance health of the node. For example, checks are made to ensure that all interface characteristics match appropriate / expected values (or are within acceptable thresholds), whether there are any errors or packet drops, etc. In addition, it is determined whether there are any single points of failure on the node (e.g., all ports on the same line card). It is also determined whether there is equal load distribution between links / paths. Further, the health of the ECMP path or link is determined.
[0108] Monitoring and local statistics
[0109] In addition to all of the above local ECMP node statistics / metrics, nodes will perform DPM validation to detect flow polarization. Flow polarization is possible when the entropy keys are unreadable or the node incorrectly implements Readable Label Depth (RLD). Additionally, flow polarization is possible when the node incorrectly implements the ECMP hashing algorithm.
[0110] The entropy of a packet flow is a key value derived from different characteristics of the packet flow and may include source IP address, destination IP address, transport (eg UDP) source port, transport destination port or a combination with labels, etc. Different nodes consider different types of entropy.
[0111] The ECMP hash calculation performed by a node involves the node using a local hash value which is mixed into the calculation with an entropy value to apply a bucketing system where each egress interface is assigned a different bucket.
[0112] Sometimes nodes do not read entropy correctly (due to software bugs), and when this happens, the node may direct all flows to a single interface even if there are multiple ECMP interfaces. This is referred to as flow polarization.
[0113] RLD refers to how deep a node is able to read into a packet's label stack. A node should be able to read deep enough into the label stack in order to obtain and read the entropy required for the ECMP hash calculation. Otherwise, all packets appear identical to the node (based on labels higher in the stack), and the node will send the packet stream out the same interface.
[0114] Therefore, DPM or label switching router (LSR) self-test technology is utilized. A probe packet is generated and includes: a label stack based on the RLD to be tested; related entropy (inner / outer header); and data plane (based on the probe packet) signaling for identifying flow / path details.
[0115] For DPM, probe packets with different entropies are generated and forwarded to the previous hop node relative to the node under test, which returns the probe packet to the node under test, and then the node under test forwards the probe packet to the next hop node. If the node under test is performing ECMP correctly, the probe packets should arrive at the next hop node on different interfaces. If different probe packets arrive at the same next hop node, it indicates that RLD and ECMP are not working properly for load balancing. Publishing the result data from the probe packets enables the guarantee orchestrator 106 (or guarantee agent 108 (3)) to determine ECMP health.
[0116] This can be done using packet flow capture mechanisms such as NetFlow, or by immediately exporting the data in the in-place operations management (iOAM) header, or other in-band or out-of-band techniques.
[0117] Reference now Figure 4 . Figure 4 The system 100 is illustrated as being configured to perform flow monitoring to measure ECMP load balancing of node R3. Guarantee orchestrator 106, via guarantee agent 108(3), triggers node R3 to generate a probe packet based on its local hash algorithm. For example, when the hash algorithm is "dpi12vpn-mac", node R3 is triggered to create a probe packet with a different media access control (MAC) address in its inner header. In another example, when the hash algorithm is "dpi tunnel-ipinip", node R3 is triggered to create a different probe packet with a different IP address in the inner header.
[0118] exist Figure 4 In the example, Figure 4 As shown, node R3 is triggered to generate a probe data packet to verify the ECMP path to label 16005. Based on the local hash algorithm used by node R3, it generates different probe packets with different UDP source / destination ports, while other variables remain unchanged. When entropy labels are supported, node R3 can also insert different entropy labels in the probe packets. Therefore, for example, Figure 4 As shown, node R3 generates a first probe packet 400 having a time-to-live (TTL) value of 3 in label 402, and the entropy obtained from the inner header 404 has the following entropy:
[0119] IP source address (IP-SA) = R3
[0120] IP destination address (IP-DA) = 127.0.0.1
[0121] User Datagram Protocol Source Port (UDP-Source) = 12345
[0122] UDP destination port (UDP-Dest) = 22334
[0123] Packet 400 also includes probe content 406 .
[0124] Node R3 generates a second probe packet 410 with a TTL of 3 in label 412 and an inner header 414 with the entropy:
[0125] IP-SA=R3
[0126] IP-DA = 127.0.0.1
[0127] UDP-Source=12346
[0128] UDP-Dest=22335
[0129] Packet 410 also includes probe content 416 .
[0130] Reference now Figure 5 , Figure 5 Shows Figure 4 In the network arrangement of , node R3 has RLD 3 and will push additional labels in the stack of probe packets 400 and 410 to verify the RLD. For example, node R3 pushes labels 408 and 409 onto probe packet 400 and pushes labels 418 and 419 onto probe packet 410. Probe packets 400 and 410 are sent with real-time flow capture enabled or using iOAM with the export-immediate or loopback bits set. This will create state entries for different flows on node R3. Selective flexible NetFlow configuration can be provided to create NetFlow statistics for selective flows identified using certain parameters (based on matching of labels or source / destination IP addresses, etc.).
[0131] Node R3 can send multiple flows and check if the flows are load balanced. If the flows are load balanced on the ECMP egress interface of node R3, then the ECMP load sharing on node R3 is healthy. If not, then the ECMP load sharing on node R3 is unhealthy.
[0132] Specific use case examples
[0133] refer to Figure 6 , where ECMP on a given node is evaluated on a per-interface basis. Figure 6 A diagram 600 is shown illustrating that prefix P is reachable through 2 tunnels, Tunnel 1 and Tunnel 2. Based on cross-layer granularity, the list of actual interfaces / links is G0 / 0 / 0 / 0, G0 / 0 / 0 / 1, G0 / 0 / 0 / 2, G0 / 0 / 0 / 3, G0 / 0 / 0 / 4, G0 / 0 / 0 / 5, and G0 / 0 / 0 / 6.
[0134] Therefore, the link list for prefix P1 is:
[0135] prefix p1_link_list={G0 / 0 / 0 / 0
[0136] G0 / 0 / 0 / 1
[0137] G0 / 0 / 0 / 2
[0138] G0 / 0 / 0 / 3
[0139] G0 / 0 / 0 / 4
[0140] G0 / 0 / 0 / 5
[0141] G0 / 0 / 0 / 6
[0142] G0 / 0 / 0 / 7
[0143] }
[0144] The node has a forwarding table 610 on the node indicating that prefix P uses Tunnel 1 and Tunnel 2 as egress interfaces. The node has a first tunnel forwarding table 620 for Tunnel 1. Tunnel forwarding table 620 indicates that Tunnel 1 uses PortChannel 1 and PortChannel 2 as egress interfaces. Similarly, the node has a second tunnel forwarding table 630 indicating that Tunnel 2 uses SVI 1 and SVI 2 as egress interfaces.
[0145] The node also includes two PortChannel tables 640 and 650. Table 640 indicates that PortChannel 1 uses egress interfaces G0 / 0 / 0 / 0 and G0 / 0 / 0 / 1. Table 650 indicates that PortChannel 2 uses egress interfaces G0 / 0 / 0 / 2 and G0 / 0 / 0 / 3.
[0146] The node also includes two SVI tables 660 and 670. Table 660 indicates that SVI 1 uses egress interfaces G0 / 0 / 0 / 4 and G0 / 0 / 0 / 5. Table 670 indicates that SVI 2 uses egress interfaces G0 / 0 / 0 / 6 and G0 / 0 / 0 / 7.
[0147] Therefore, prefix P1 can be forwarded on 1 of the 8 interfaces.
[0148] Based on the link list of prefix P1 above, the node-level metrics of the prefix can be collected as follows:
[0149] prefix_p1.Uptime = {uptime of prefix P1 in the table, no changes in the listed ECMP paths}
[0150] prefix_p1.Consistency = {consistency of prefix P1 between RIB / FIB / LFIB / HW / etc.}
[0151] prefix_p1.frr = {disabled|available|no backup}
[0152] Aggregate node-level ECMP performance metrics can be calculated:
[0153] ecmp_node_metric=fn{
[0154] prefix_p1.Uptime;
[0155] prefix_p1.Consistency;
[0156] prefix_p1.frr; ...
[0158] }
[0159] The above function can be any algorithm that considers the results of each variable and calculates the indicator value.
[0160] Using the above link information, you can collect link / interface level metrics:
[0161] prefix_p1_link_list.Status = {status of all links}
[0162] prefix_p1_link_list.Errors = {Errors observed in the status of each link}
[0163] prefix_p1_link_list.Load = {load distribution of traffic on each link}
[0164] Aggregate link-level ECMP performance metrics can be calculated:
[0165] ecmp_link_metric=fn{
[0166] prefix_p1_link_list.Status;
[0167] prefix_p1_link_list.Errors;
[0168] prefix_p1_link_list.Load; ...
[0170] }
[0171] The function above can be any algorithm that considers the results of each variable and calculates the indicator value.
[0172] Existing features such as DPM / OAM / SBFD can be used to monitor the forwarding characteristics on each link (for prefix P or label L).
[0173] The aggregate forwarding ECMP performance indicator may be calculated, for example, ecmp_fwd_metric=dpm_status.
[0174] refer to Figure 7 . Figure 7 An event-triggered real-time flow capture process 700 is shown. The link loads of two links, Link1 and Link2, are provided to a calculation 710 that looks at the difference between the loads of the two links and determines whether the difference exceeds a difference threshold. When the loads of the links are within a certain threshold difference, as shown at 720, no action is required. If the difference exceeds the threshold, then at 730, an event will trigger a real-time flow capture (e.g., NetFlow, IP Flow Information Export (IPFIX), etc.) of the egress link (in the egress direction). The flow information will be used to identify flow level (not packet level) load sharing.
[0175] Reference now Figure 8 . Figure 8 Depicted are examples of operations that may be performed based on the various ECMP metrics mentioned above. Health verification expression 800 may obtain various ECMP metrics as input, such as ECMP node metrics 810, ECMP link metrics 820, ECMP forwarding metrics 830, and flow sampling data 840. Health verification expression 800 may be a Boolean expression that operates on comparisons of metrics 810, 820, and 830 to respective thresholds and intelligent factors obtained from flow sampling data 840 to determine a measure of ECMP performance health on a given node. The measures of ECMP performance health may be classified into categories such as:
[0176] 1. Healthy (displays a green indicator for the node in the GUI)
[0177] 2. Healthy but with some link failures (shows orange indicator for nodes in GUI)
[0178] 3. Unhealthy (displays a red indicator for the node in the GUI)
[0179] The calculation of the ECMP metric can be performed by a guarantee agent running on the node or by the guarantee orchestrator 106 (see Figure 1 and 2 )conduct.
[0180] Consider the following example. In the simplest form, there are two nodes that are interconnected by more than one direct link. This creates the number of parallel links as the adjacency indicator. Furthermore, there are multiple paths to a given prefix. This can be seen with the fast forwarding exact-route command. An equivalent number can be obtained, which is the number of parallel paths to a given prefix destination.
[0181] Given that these two,parallel terms exist (paths, links, tunnels), the following metrics apply to both,cases.,On a given member of an ECMP group, performance metrics are tracked,such as drops, latency, round trip time (RTT), etc. This enables,the determination of the relative health of each member (e.g.,whether one link has a lot of drops while others do not).
[0182] On a group basis, metrics can be tracked, such as the number of active members in the ECMP group, and the load of the ECMP group (active traffic divided by capacity). On a link basis, the distribution of traffic is tracked to determine, for example, if one link is 100% and the other links are 4%. In addition, the number of unique flows per group can be tracked.
[0183] Based on ECMP performance metrics, actions that the assurance orchestrator can trigger include disabling ECMP group members. For example, if an ECMP group member experiences a severe outage, this may affect the entire group, and there may be capacity that can be absorbed elsewhere. Therefore, shutting down ECMP group members, rerouting links or nodes are examples of actions that the assurance orchestrator can trigger based on the ECMP performance health determined for a node.
[0184] Steering Fig. 9 , a flow chart of a method 900 according to an example embodiment is shown. The method 900 involves determining the ECMP performance health of each node (centric to the node). At 910, the method 900 includes obtaining information indicating an equal cost multi-path (ECMP) path in a network. The network includes a plurality of nodes, the plurality of nodes including at least one branch node. At 920, the method 900 involves configuring a branch node in the network to obtain an ECMP performance indicator. At 930, the method includes obtaining an ECMP performance indicator from the branch node. At 940, the method involves analyzing the ECMP performance indicator to determine the ECMP performance health of the branch node.
[0185] As described above, the operation 930 of obtaining ECMP performance indicators may include obtaining local node indicators and obtaining monitoring indicators. The analysis operation 940 may be performed based on the local node indicators to determine a metric of forwarding performance, and the analysis operation 940 may be performed based on the local node indicators and the monitoring indicators to determine a metric of forwarding performance and a metric of load distribution performance. In one form, as described above in conjunction with Figure 5 As described, obtaining monitoring indicators may include obtaining data plane monitoring results from the detection packets sent by the branch node, and the analysis operation 940 may include analyzing the data plane monitoring results. The data plane monitoring results may indicate whether there is one or more of the following: incorrect readable label depth on the branch node, incorrect hash algorithm used by the branch node, or incorrect execution of the hash algorithm by the branch node.
[0186] For each egress interface of a branch node, the local node metric may include one or more of the following: interface status, interface error, interface load, and interface stability.
[0187] In one form, for a prefix or label with an ECMP egress interface on a branch node, the local node metrics may include one or more of the following: uptime of the prefix or label, time since last change, maximum path configured, maximum path available, consistency of the routing information base with the ECMP egress interface, consistency of the forwarding information base based on the routing information base with the ECMP egress interface, consistency of the label forwarding information base with the ECMP egress interface, consistency of hardware memory programming with the routing information base and / or forwarding information base, and data plane monitoring enabled for the prefix or label.
[0188] In another form, for a prefix or label having an ECMP egress interface on a spoke node, the local node metric comprises: real-time flow data collected over a period of time.
[0189] In yet another form, for each ECMP egress interface, the local node metrics include one or more of the following: type, physical or virtual, uptime, time since last change, counter statistics, maximum transmission unit, number of packets for prefix or label switching, whether bidirectional forwarding detection is enabled, and whether egress policy is enabled.
[0190] In yet another form, for each virtual interface configured on a branch node, the local node metrics include one or more of: the type of virtual interface, a list of all links for each virtual interface, uptime of each link for each virtual interface, statistics for each link, number of packets exchanged, and whether micro bidirectional forwarding detection is enabled.
[0191] In one example, the analyzing operation 940 may include evaluating one or more of the following: metrics associated with the egress interfaces on each branch node, error statistics, load distribution between links / paths, whether the branch node has a single point of failure.
[0192] As above combined Figure 8 The ECMP performance indicator may include an aggregated node-level ECMP performance indicator based on multiple node-level indicators for a given prefix or label, an aggregated link-level ECMP performance indicator based on multiple link-level indicators, an aggregated forwarding ECMP performance indicator based on monitoring indicators, and flow sampling data. Analysis operation 940 may include calculating a measure of ECMP performance health using an expression that combines the comparison results of the aggregated node-level ECMP performance indicator, the aggregated link-level ECMP performance indicator, and the aggregated forwarding ECMP performance indicator with corresponding thresholds and knowledge obtained from the flow sampling data.
[0193] Additionally, configuration operation 920 may also include configuring one or more transit nodes in the network to compute a list of links that are part of the ECMP in the network for monitoring ECMP performance health of layer 2 and layer 3 operations in the network.
[0194] Fig.10 The hardware block diagram of the computing device 1000 is shown. The computing device 1000 can execute the above combined Figure 1-9 The functionality of the assurance orchestrator 106 and / or assurance agent 108 described herein. It should be understood that Fig.10 This merely provides an illustration of one embodiment and does not imply any limitations with regard to the environments in which different embodiments may be implemented.Many modifications to the depicted environments may be made.
[0195] As shown, device 1000 includes bus 1012, which provides communication between computer processor 1014, memory 1016, permanent storage 1018, communication unit 1020, and input / output (I / O) interface 1022. Bus 1012 can be implemented with any architecture designed to transfer data and / or control information between processors (e.g., microprocessors, communication and network processors, etc.), system memory, peripheral devices, and any other hardware components within the system. For example, bus 1012 can be implemented with one or more buses.
[0196] Memory 1016 and persistent storage 1018 are computer-readable storage media. In the depicted embodiment, memory 1016 includes random access memory (RAM) 1024 and cache memory 1026. In general, memory 1016 may include any suitable volatile or non-volatile computer-readable storage media. Instructions of control logic 1017 for controlling and executing the operation of guarantee orchestrator 106 and / or guarantee agent 108 may be stored in memory 1016 or persistent storage 1018 for execution by processor 1014.
[0197] One or more programs may be stored in persistent storage 1018 for execution by one or more corresponding computer processors 1014 via one or more memories of memory 1016. Persistent storage 1018 may be a magnetic hard drive, a solid-state hard drive, a semiconductor memory device, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), flash memory, or any other computer-readable storage medium capable of storing program instructions or digital information.
[0198] The media used by persistent storage 1018 may also be removable. For example, a removable hard drive may be used for persistent storage 1018. Other examples include optical and magnetic disks that are inserted into a drive for transfer to another computer-readable storage medium that is also part of persistent storage 1018, thumb drives, and smart cards.
[0199] Communications unit 1020, in these examples, provides communications with other data processing systems or devices. Communications unit 1020, in these examples, includes one or more network interface cards. Communications unit 1020 may provide communications through the use of one or both of physical and wireless communications links.
[0200] I / O interface 1022 allows input and output of data with other devices that may be connected to computer device 1000. For example, I / O interface 1022 may provide a connection to external devices 1028, such as a keyboard, a keypad, a touch screen, and / or some other suitable input device. External devices 1028 may also include portable computer-readable storage media, such as database systems, thumb drives, portable optical or magnetic disks, and memory cards.
[0201] Software and data for implementing an embodiment may be stored on such portable computer-readable storage media and may be loaded into persistent storage 1018 through I / O interface 1022. I / O interface 1022 may also connect to display 1030. Display 1030 provides a mechanism for displaying data to a user and may be, for example, a computer monitor.
[0202] The programs described herein are identified based on the applications in which they are implemented in specific embodiments. However, it should be understood that any particular program nomenclature used herein is merely for convenience, and thus the embodiments should not be limited to use in any particular application identified and / or implied by such nomenclature.
[0203] Data related to the operations described herein may be stored in any conventional or other data structure (e.g., files, arrays, lists, stacks, queues, records, etc.) and may be stored in any desired storage unit (e.g., databases, data or other repositories, queues, etc.). Data transmitted between entities may include any desired format and arrangement and may include any number of fields of any size of any type to store data. The definition of any data set and the data model may indicate the overall structure in any desired manner (e.g., computer-related language, graphical representation, list, etc.).
[0204] The present embodiment may use any number of any type of user interface (e.g., graphical user interface (GUI), command line, prompt, etc.) to obtain or provide information (e.g., data related to crawling a website), wherein the interface may include any information arranged in any manner. The interface may include any number of any type of input or drive mechanisms (e.g., buttons, icons, fields, boxes, links, etc.) arranged in any location to input / display information and initiate desired actions through any suitable input device (e.g., mouse, keyboard, etc.). The interface screens may include any suitable actuators (e.g., links, tabs, etc.) to navigate between screens in any manner.
[0205] The environment of this embodiment may include any number of computers or other processing systems (e.g., client or end-user systems, server systems, etc.) and databases or other repositories arranged in any desired manner, wherein this embodiment may be applied to any desired type of computing environment (e.g., cloud computing, client-server, network computing, mainframe, stand-alone system, etc.). The computer or other processing system used in this embodiment may be implemented by any number of any personal or other type of computer or processing system (e.g., desktop, laptop, PDA, mobile device, etc.), and may include any commercially available operating system and any combination of commercial and custom software (e.g., machine learning software, etc.). These systems may include any type of monitor and input device (e.g., keyboard, mouse, voice recognition, etc.) for inputting and / or viewing information.
[0206] It should be understood that the software of the present embodiment can be implemented in any desired computer language and can be developed by a person of ordinary skill in the computer field based on the functional descriptions contained in the specification and the flow charts shown in the figures. In addition, any references herein to software that performs various functions generally refer to a computer system or processor that performs these functions under software control. The computer system of the present embodiment can alternatively be implemented by any type of hardware and / or other processing circuits.
[0207] Each element described herein can be coupled to and / or interact with each other through an interface and / or through any other suitable connection (wired or wireless) that provides a feasible communication path. The interconnections, interfaces, and variations thereof discussed herein can be used to provide connections between elements in a system and / or can be used to provide communications, interactions, operations, etc. between elements that can be directly or indirectly connected in a system. Any combination of interfaces can be provided for the elements described herein to facilitate operations as discussed for the various embodiments described herein.
[0208] The various functions of the computer or other processing system can be distributed in any manner among any number of software and / or hardware modules or units, processing or computer systems and / or circuits, wherein the computers or processing systems can be locally or remotely located with respect to each other and communicate via any suitable communication medium (e.g., LAN, WAN, intranet, Internet, hardwire, modem connection, wireless, etc.). For example, the functions of the present embodiment can be distributed in any manner among various end-user / client and server systems and / or any other intermediate processing devices. The software and / or algorithms described above and illustrated in the flow charts can be modified in any manner to achieve the functions described herein. In addition, the functions in the flow charts or descriptions can be performed in any order to achieve the desired operations.
[0209] The software of this embodiment may be made available on non-transitory computer-usable media (e.g., magnetic or optical media, magneto-optical media, floppy disks, CD-ROMs, DVDs, storage devices, etc.) for use in a fixed or portable program product device or apparatus for a stand-alone system or a system connected via a network or other communications medium.
[0210] The communication network can be implemented by any number of any type of communication networks (e.g., LAN, WAN, Internet, intranet, VPN, etc.). The computer or other processing system of the present embodiment can include any traditional or other communication equipment to communicate on the network through any traditional or other protocol. The computer or other processing system can access the network using any type of connection (e.g., wired, wireless, etc.). The local communication medium can be implemented by any suitable communication medium (e.g., local area network (LAN), hard wire, wireless link, intranet, etc.).
[0211] The system may employ any number of any conventional or other databases, data stores or storage structures (e.g., files, databases, data structures, data or other repositories, etc.) to store information. The database system may be implemented by any number of any conventional or other databases, data stores or storage structures (e.g., files, databases, data structures, data or other repositories, etc.) to store information. The database system may be included within or coupled to a server and / or client system. The database system and / or storage structure may be remote from the computer or other processing system or local, and may store any desired data.
[0212] The present embodiment may use any number of any type of user interface (e.g., graphical user interface (GUI), command line, prompt, etc.) to obtain or provide information, wherein the interface may include any information arranged in any manner. The interface may include any number of any type of input or drive mechanisms (e.g., buttons, icons, fields, boxes, links, etc.) arranged in any location to input / display information and initiate desired actions through any suitable input device (e.g., mouse, keyboard, etc.). The interface screens may include any suitable actuators (e.g., links, tabs, etc.) to navigate between screens in any manner.
[0213] The presented embodiments may take various forms, such as systems, methods and / or computer program products at any possible level of technical detail integration. The computer program product may include a computer-readable storage medium (or media) having computer-readable program instructions thereon for causing a processor to perform the aspects presented herein.
[0214] A computer-readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer-readable storage media includes the following: a portable computer floppy disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device (such as a punched card or a raised structure in a groove on which instructions are recorded) and any suitable combination of the foregoing. As used herein, a computer-readable storage medium should not be interpreted as a transient signal in itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted by a wire.
[0215] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to a corresponding computing / processing device, or downloaded to an external computer or external storage device via a network such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in a computer-readable storage medium in the corresponding computing / processing device.
[0216] The computer-readable program instructions for performing the operation of the present embodiment can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, configuration data for integrated circuits, or source code or object code written in any combination of one or more programming languages (including object-oriented programming languages, such as Python, C++, etc., and process programming languages, such as "C" programming language or similar programming languages). Computer-readable program instructions can be executed completely on a user's computer, partly on a user's computer, as an independent software package, partly on a user's computer and partly on a remote computer or completely on a remote computer or server. In the latter case, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider through the Internet). In certain embodiments, the electronic circuit including, for example, a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA) can execute computer-readable program instructions with personalized electronic circuits by utilizing the state information of computer-readable program instructions to perform aspects proposed here.
[0217] Various aspects of the present embodiment are described herein with reference to flowchart illustrations and / or block diagrams of methods, devices (systems) and computer program products according to the embodiments. It should be understood that each block of the flowchart illustration and / or block diagram, and the combination of blocks in the flowchart illustration and / or block diagram can be implemented by computer-readable program instructions.
[0218] These computer-readable program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device create a device for implementing the functions / actions specified in the flowchart and / or block diagram block or multiple blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium, which may direct the computer, programmable data processing device, and / or other device to operate in a specific manner, such that the computer-readable storage medium having the instructions stored therein includes an article of manufacture, which includes instructions for implementing aspects of the functions / actions specified in the flowchart and / or block diagram block or multiple blocks.
[0219] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus, or other device to produce a computer-implemented process, such that the instructions executed on the computer, other programmable apparatus, or other device implement the functions / actions specified in the flowchart and / or block diagram block or multiple blocks.
[0220] The flowcharts and block diagrams in the figure illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments. In this regard, each block in the flowchart or block diagram can represent a part of a module, segment or instruction, which includes one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the block may not appear in the order marked in the figure. For example, two blocks displayed in succession can actually be executed substantially at the same time, or these blocks can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block of the block diagram and / or flowchart illustration and the combination of blocks in the block diagram and / or flowchart illustration can be implemented by a dedicated hardware-based system that performs a specified function or action or performs a combination of dedicated hardware and computer instructions.
[0221] As described herein, techniques are provided for determining a metric for ECMP performance health of a node. In one form, for each monitored prefix (or label), ECMP health is monitored by: identifying a list of all ECMP interfaces based on cross-layer and cross-dimensional granularity; monitoring node-level factors for ECMP health, stability of ECMP entries (no changes), RIB / FIB / LFIB consistency, maximum paths, interface-level factors for ECMP health (including uptime and statistics from L3 interfaces (physical and virtual)), link-level factors for ECMP health (including uptime and statistics from L2 links, including the forwarding capacity of each such link). In addition, data plane monitoring (DPM), IP service level agreement (IPSLA) status are monitored. Load distribution on the ECMP path is monitored using multiple techniques. Flow sampling-based techniques (FNF / IPFIX statistics) are used for the monitored prefixes or labels. The cumulative load on each egress interface is monitored within the ECMP path, as well as the cumulative load statistics from all interfaces. All of the above information is used to calculate an ECMP health index or ECMP performance metric for the node.
[0222] In summary, this paper provides a methodology for proposing a concept for a service-aware node-centric ECMP health measurement technique. The assurance orchestrator exploits service and topology visibility to identify nodes by ECMP paths and prefixes to be monitored. The transit nodes instructed by the assurance orchestrator compute a list of links to be monitored in various layers (L2 / L3) that are part of the ECMP and measure the health of each link from different dimensions (state, forwarding capacity, load distribution, etc.). This is used to provide a holistic view of the ECMP health on a per-prefix basis and ensure that the ECMP paths are healthy and the load is distributed across the available ECMP paths. The assurance orchestrator uses the health information for end-to-end service assurance by sending configuration changes of ECMP on ECMP branch nodes.
[0223] In one form, a method is provided, comprising: obtaining information indicating equal cost multi-path (ECMP) paths in a network, the network comprising a plurality of nodes, the plurality of nodes comprising at least one branch node; configuring the branch node to obtain an ECMP performance metric; obtaining the ECMP performance metric from the branch node; and analyzing the ECMP performance metric to determine an ECMP performance health of the branch node.
[0224] In another form, an apparatus is provided, comprising: a communication interface configured to enable communication with one or more of a plurality of nodes in a network; and a processor coupled to the communication interface, wherein the processor is configured to perform operations including: obtaining information indicating equal cost multi-path (ECMP) paths in a network, the network comprising at least one branch node; configuring the branch node to obtain an ECMP performance indicator; obtaining the ECMP performance indicator from the branch node; and analyzing the ECMP performance indicator to determine the ECMP performance health of the branch node.
[0225] In yet another form, one or more non-transitory computer-readable storage media encoded with instructions, when executed by a processor, cause the processor to perform operations including: obtaining information indicating equal cost multi-path (ECMP) paths in a network, the network comprising a plurality of nodes, the plurality of nodes comprising at least one branch node; configuring the branch node to obtain an ECMP performance metric; obtaining the ECMP performance metric from the branch node; and analyzing the ECMP performance metric to determine an ECMP performance health of the branch node.
[0226] The foregoing description is intended to be exemplary only. While the technology is illustrated and described herein as embodied in one or more specific examples, it is not intended to be limited to the details shown, since various modifications and structural changes may be made within the scope and range of equivalents of the claims.< / value>
Claims
1. A method for determining the performance health of an equal-cost multi-path (ECMP) network. include: obtaining information indicating an ECMP path in a service network arranged to provide a plurality of services, the network comprising a plurality of nodes, the plurality of nodes including at least one ECMP branch node; configuring the branch node to obtain an ECMP performance indicator for a specific service among the plurality of services; Obtaining the ECMP performance indicator from the branch node; as well as analyzing the ECMP performance indicators to determine the ECMP performance health of the branch node, Obtaining the ECMP performance indicator includes obtaining a local node indicator and obtaining a monitoring indicator, wherein an analysis is performed based on the local node indicator to determine a measure of forwarding performance, and the analysis is performed based on the local node indicator and the monitoring indicator to determine a measure of forwarding performance and a measure of load distribution performance. 2 . The method according to claim 1 , wherein for each egress interface of the branch node, the local node indicator comprises one or more of the following: interface status, interface error, interface load, and interface stability.
3. The method of claim 2, wherein for a prefix or label having an ECMP egress interface on the branch node, the local node metrics include one or more of the following: uptime of the prefix or label, time since last change, maximum configured path, maximum available path, consistency of a routing information base with the ECMP egress interface, consistency of a forwarding information base based on the routing information base with the ECMP egress interface, consistency of a label forwarding information base with the ECMP egress interface, consistency of hardware memory programming with the routing information base and / or forwarding information base, and data plane monitoring enabled for the prefix or label.
4. The method of claim 2, wherein for a prefix or label having an ECMP egress interface on the branch node, the local node indicator include: Real-time streaming data collected over a period of time.
5. The method of claim 2, wherein for each ECMP egress interface, the local node metrics include one or more of the following: type, physical or virtual, uptime, time since last change, counter statistics, maximum transmission unit, number of packets for prefix or label switching, whether bidirectional forwarding detection is enabled, and whether egress policy is enabled.
6. The method of claim 2, wherein for each virtual interface configured on the branch node, the local node metrics include one or more of the following: the type of virtual interface, a list of all links for each virtual interface, uptime of each link for each virtual interface, statistics from each link, number of packets exchanged, and whether micro-bidirectional forwarding detection is enabled.
7. The method according to any one of claims 1 to 6, wherein the analysis includes evaluating one or more of the following: metrics associated with the egress interface on the branch node, error statistics, load distribution between links / paths, whether the branch node has a single point of failure.
8. The method according to any one of claims 1 to 7, in: Obtaining the monitoring indicator includes obtaining a data plane monitoring result from a detection packet sent by the branch node; and The analysis includes analyzing the data plane monitoring results.
9. The method of claim 8, wherein the data plane monitoring result indicates whether there is one or more of the following: incorrect readable label depth on the branch node, incorrect hash algorithm adopted by the branch node, or incorrect execution of the hash algorithm by the branch node.
10. The method according to any one of claims 1 to 9, wherein the ECMP performance index is include: An aggregated node-level ECMP performance indicator based on multiple node-level indicators for a given prefix or label, an aggregated link-level ECMP performance indicator based on multiple link-level indicators, an aggregated forwarding ECMP performance indicator based on the monitoring indicators, and flow sampling data, and wherein the analysis includes calculating a measure of ECMP performance health using an expression that combines the comparison results of the aggregated node-level ECMP performance indicator, the aggregated link-level ECMP performance indicator, and the aggregated forwarding ECMP performance indicator with corresponding thresholds and knowledge obtained from the flow sampling data.
11. A method according to any one of claims 1 to 10, wherein configuration includes configuring one or more transit nodes in the network to calculate a list of links that are part of the ECMP in the network for monitoring the ECMP performance health of layer 2 and layer 3 operations in the network.
12. A device for determining the health of equal cost multi-path (ECMP) performance, include: a communication interface configured to allow communication with one or more of a plurality of nodes in a service network arranged to provide a plurality of services; as well as A processor coupled to the communication interface, wherein the processor is configured to perform operations comprising: obtaining information indicating an ECMP path in a network, the network comprising at least one ECMP branch node; Configuring the branch node to obtain ECMP performance indicators; obtaining, from the branch node, the ECMP performance indicator for a specific service among the plurality of services; and analyzing the ECMP performance indicators to determine the ECMP performance health of the branch node, The processor is configured to: obtain the ECMP performance indicator, including obtaining a local node indicator and obtaining a monitoring indicator, and perform the analysis based on the local node indicator to determine a measure of forwarding performance, and perform the analysis based on the local node indicator and the monitoring indicator to determine a measure of forwarding performance and a measure of load distribution performance.
13. The apparatus of claim 12, wherein the processor is configured to perform the analysis by evaluating one or more of: metrics associated with egress interfaces on the branch node, error statistics, load distribution between links / paths, whether the branch node has a single point of failure.
14. The apparatus according to claim 12, wherein the processor is configured to: obtain the monitoring indicator by obtaining a data plane monitoring result from a detection packet sent from the branch node, and perform the analysis by analyzing the data plane monitoring result.
15. An apparatus according to any one of claims 11 to 14, wherein the processor is configured to execute configuration of one or more transit nodes in the network to calculate a list of links that are part of the ECMP in the network for monitoring ECMP performance health of layer 2 and layer 3 operations in the network.
16. One or more non-transitory computer-readable storage media encoded with instructions that, when executed by a processor, cause the processor to perform operations, the operations include: obtaining information indicative of equal cost multi-path (ECMP) paths in a service network arranged to provide a plurality of services, the network comprising a plurality of nodes, the plurality of nodes including at least one ECMP branch node; Configuring the branch node to obtain ECMP performance indicators; obtaining, from the branch node, the ECMP performance indicator for a specific service among the plurality of services; as well as analyzing the ECMP performance indicators to determine the ECMP performance health of the branch node, The instructions for obtaining include instructions for obtaining local node indicators and obtaining monitoring indicators, and the instructions for analyzing include instructions for analyzing based on the local node indicators to determine a measure of forwarding performance, and for analyzing based on the local node indicators and the monitoring indicators to determine a measure of forwarding performance and a measure of load distribution performance.
17. The non-transitory computer-readable storage medium of claim 16, wherein the instructions for analyzing include instructions for evaluating one or more of: metrics associated with egress interfaces on the branch node, error statistics, load distribution between links / paths, whether the branch node has a single point of failure.
18. An apparatus for determining the health of equal cost multi-path (ECMP) performance, include: means for obtaining information indicative of an ECMP path in a service network arranged to provide a plurality of services, the service network comprising a plurality of nodes, the plurality of nodes including at least one ECMP branch node; means for configuring the branch node to obtain ECMP performance indicators; means for obtaining, from the branch node, the ECMP performance indicator for a particular service among the plurality of services; as well as means for analyzing the ECMP performance indicators to determine the ECMP performance health of the branch node, The device for obtaining the ECMP performance indicator includes a device for obtaining a local node indicator and a device for obtaining a monitoring indicator, and the device for analyzing includes a device for analyzing based on the local node indicator to determine a measure of forwarding performance, and a device for analyzing based on the local node indicator and the monitoring indicator to determine a measure of forwarding performance and a measure of load distribution performance.
19. The apparatus according to claim 18, further comprising means for implementing the method according to any one of claims 1 to 11.
20. A computer readable medium comprising instructions which, when executed by a computer, cause the computer to perform the steps of the method according to any one of claims 1 to 11.
