Abstract:
A method for sending a multicast packet and a switch. A first switch receives a multicast packet from a first customer edge or a second customer edge, where the first customer edge is connected to the first switch in a single-homed manner, and the second customer edge is connected, in an all-active manner, to N switches that include the first switch; the first switch determines a specified multicast tree of the first switch; the first switch encapsulate the multicast packet, where a destination switch unique identification address in a header of the encapsulated multicast packet is a unique identification address of a root of the specified multicast tree of the first switch; and the first switch forwards the encapsulated multicast packet to a network side using the specified multicast tree of the first switch.
Abstract:
A port number extension method and a switch are provided. A first switch determines bits for identifying the first switch in a Media Access Control (MAC) address in an identifier (ID) of a specified bridge; calculates a bit for port number extension according to the bits for identifying the first switch; and combines the bit for port number extension and original bits for specifying a port, to obtain new bits for specifying a port. In this way, a problem that Spanning Tree Protocol (STP) port numbers are insufficient in a super virtual fabric with a massive quantity of ports is resolved.
Abstract:
A method for implementing operation, administration and maintenance (OAM), a routing bridge (RB) and a Transparent Interconnection of Lots of Links (TRILL) network are described. A designated virtual local area network identifier (DVLAN ID) of a TRILL network is designated to be used for TRILL OAM, so that an inner virtual local area network identifier (VLAN ID) and an outer VLAN ID of a TRILL OAM packet are both a DVLAN ID, thereby ensuring availability of a TRILL OAM function.
Abstract:
A gateway receives a link state packet (LSP) that includes a network identifier of a Layer 2 virtual network and a multicast address and that is sent by each routing bridge (RB) that is on the Transparent Interconnection of Lots of Links (TRILL) network; separately performs calculation on the network identifier and the multicast address that are in each LSP, to obtain a calculation result corresponding to each combination of the network identifier and the multicast address; if the gateway determines that information preconfigured on the gateway matches a calculation result corresponding to a combination of the network identifier and the multicast address, sends a notification message including the network identifier and the multicast address that are in the matched combination to each RB; receives from at least one RB, a multicast packet corresponding to the multicast address in the matched combination, and forwards the multicast packet.
Abstract:
A Transparent Interconnection of Lots of Links (TRILL) network establishing method, node, and system. The TRILL network establishing method includes: receiving, by a first node, a Link Layer Discovery Protocol (LLDP) packet, where an optional type-length-value (TLV) field of the LLDP packet includes TRILL capability information of a second node that sends the LLDP packet; and if it is determined, according to the TRILL capability information, that the second node has a TRILL capability, and the first node itself also has the TRILL capability, configuring, by the first node, a port, through which the LLDP packet is received, of the first node, to have a TRILL function enabled. The node in embodiments of the present invention can automatically enable or disable the TRILL function, so as to implement automatic establishment of a TRILL network.
Abstract:
A route priority configuration method, a device, and a controller. The controller receives an interface creation request for creating a layer 3 interface on a target device, where the interface creation request carries an IP address and a subnet mask. The controller generates a direct route of the layer 3 interface based on the interface creation request; allocates a route priority to the direct route according to a preset allocation rule; and sends the direct route and the route priority corresponding to the direct route to the target device. According to the embodiments, direct routes generated based on a same IP address can correspond to different route priorities, to avoid a case in which direct routes advertised by different distributed gateways form ECMP, and improve route priority configuration efficiency.
Abstract:
A method for packet forwarding based on equal-cost multi-path and a network device, in order to resolve problems that are caused by inconsistent forwarding paths for packets in two directions of a same service flow in an equal-cost multi-path scenario. A first network device performs calculation on characteristic information in a packet using a hash algorithm to obtain a hash value, determines, according to a correspondence between hash values and path identifiers that is acquired in advance, a path identifier corresponding to the hash value, and forwards the packet to a second network device through a path that corresponds to the path identifier, where the path is one of the N equal-cost paths. There exist N equal-cost paths for packet forwarding between the first network device and the second network device. The same hash algorithm is configured on the two network devices respectively.
Abstract:
A Transparent Interconnection of Lots of Links (TRILL) network establishing method, node, and system. The TRILL network establishing method includes: receiving, by a first node, a Link Layer Discovery Protocol (LLDP) packet, where an optional type-length-value (TLV) field of the LLDP packet includes TRILL capability information of a second node that sends the LLDP packet; and if it is determined, according to the TRILL capability information, that the second node has a TRILL capability, and the first node itself also has the TRILL capability, configuring, by the first node, a port, through which the LLDP packet is received, of the first node, to have a TRILL function enabled. The node in embodiments of the present invention can automatically enable or disable the TRILL function, so as to implement automatic establishment of a TRILL network.
Abstract:
A method for sending a multicast packet and a switch. A first switch receives a multicast packet from a first customer edge or a second customer edge, where the first customer edge is connected to the first switch in a single-homed manner, and the second customer edge is connected, in an all-active manner, to N switches that include the first switch; the first switch determines a specified multicast tree of the first switch; the first switch encapsulate the multicast packet, where a destination switch unique identification address in a header of the encapsulated multicast packet is a unique identification address of a root of the specified multicast tree of the first switch; and the first switch forwards the encapsulated multicast packet to a network side using the specified multicast tree of the first switch.
Abstract:
A route priority configuration method, a device, and a controller. The controller receives an interface creation request for creating a layer 3 interface on a target device, where the interface creation request carries an IP address and a subnet mask. The controller generates a direct route of the layer 3 interface based on the interface creation request; allocates a route priority to the direct route according to a preset allocation rule; and sends the direct route and the route priority corresponding to the direct route to the target device. According to the embodiments, direct routes generated based on a same IP address can correspond to different route priorities, to avoid a case in which direct routes advertised by different distributed gateways form ECMP, and improve route priority configuration efficiency.