Abstract:
Embodiments of the present invention relate to the field of communications technologies, and disclose a performance-based routing method and device, which can implement exchange of a performance route by expanding a BGP protocol. A first PCR receives first performance routing information sent by a second PCR. The first performance routing information includes a first performance parameter attribute. It is determined whether a performance route corresponding to the first performance routing information exists in an adjacent routing information base-in Adj-RIB-in of the first PCR. The performance route is added to the Adj-RIB-in when the performance route does not exist in the Adj-RIB-in.
Abstract:
Embodiments of the present disclosure provide a method and a device for storing and sending a MAC address entry, and a system. The method includes: sending, by a PE, a first packet to an RR, so that the RR determines a MAC address entry required by the PE according to the first packet, where the RR pre-stores a MAC address table, and the MAC address table includes the required MAC address entry; and receiving, by the PE, a packet which includes the required MAC address entry and is sent by the RR, and storing the required MAC address entry. Through the embodiments of the present disclosure, it may be implemented that the PE stores the MAC address entry according to need.
Abstract:
A method and network device for distributing Multi-Protocol Label Switching (MPLS) labels are provided by the present invention. The method for distributing the MPLS labels includes: a first device receives a Border Gateway Protocol (BGP) protocol message transmitted from a second device, wherein the BGP protocol message carries a service identifier of the second device; the first device establishes, according to the service identifier of the first device and the service identifier of the second device, a corresponding relationship between the first device and the second device; the first device distributes a MPLS label for the corresponding relationship. The present invention realizes that the MPLS labels are distributed for some type of the specific logical relationship between the two nodes in the BGP protocol, so that the network devices running the BGP protocol can efficiently obtain the MPLS label corresponding to the specific logical relationship.
Abstract:
The present application provides a packet sending method and a network device. The packet sending method includes: receiving, by a network device, a first data packet; and if a MAC entry matching a destination MAC address of the first data packet is not found in a media access control MAC address table of the network device, sending, by the network device, the first data packet according to a forwarding behavior in a MAC default entry of the MAC address table. When the MAC entry matching the destination MAC address of the first data packet is not found, the network device does not need to flood the first data packet on all interfaces, but directly sends the first data packet according to the MAC default entry in the own MAC address table, thereby reducing a need for MAC address capacity in the network device, and not increasing unnecessary network traffic.
Abstract:
Embodiments of the present invention relate to the field of communications technologies, and disclose a performance-based routing method and device, which can implement exchange of a performance route by expanding a BGP protocol. A first PCR receives first performance routing information sent by a second PCR. The first performance routing information includes a first performance parameter attribute. It is determined whether a performance route corresponding to the first performance routing information exists in an adjacent routing information base-in Adj-RIB-in of the first PCR. The performance route is added to the Adj-RIB-in when the performance route does not exist in the Adj-RIB-in.
Abstract:
The present invention provides a packet sending method and a network device. The packet sending method includes: receiving, by a network device, a first data packet; and if a MAC entry matching a destination MAC address of the first data packet is not found in a media access control MAC address table of the network device, sending, by the network device, the first data packet according to a forwarding behavior in a MAC default entry of the MAC address table. When the MAC entry matching the destination MAC address of the first data packet is not found, the network device does not need to flood the first data packet on all interfaces, but directly sends the first data packet according to the MAC default entry in the own MAC address table, thereby reducing a need for MAC address capacity in the network device, and not increasing unnecessary network traffic.
Abstract:
A method and network device for distributing Multi-Protocol Label Switching (MPLS) labels are provided by the present invention. The method for distributing the MPLS labels includes: a first device receives a Border Gateway Protocol (BGP) protocol message transmitted from a second device, wherein the BGP protocol message carries a service identifier of the second device; the first device establishes, according to the service identifier of the first device and the service identifier of the second device, a corresponding relationship between the first device and the second device; the first device distributes a MPLS label for the corresponding relationship. The present invention realizes that the MPLS labels are distributed for some type of the specific logical relationship between the two nodes in the BGP protocol, so that the network devices running the BGP protocol can efficiently obtain the MPLS label corresponding to the specific logical relationship.
Abstract:
Embodiments of the present disclosure provide a method and a device for storing and sending a MAC address entry, and a system. The method includes: sending, by a PE, a first packet to an RR, so that the RR determines a MAC address entry required by the PE according to the first packet, where the RR pre-stores a MAC address table, and the MAC address table includes the required MAC address entry; and receiving, by the PE, a packet which includes the required MAC address entry and is sent by the RR, and storing the required MAC address entry.
Abstract:
Embodiments of the present disclosure provide a method and a device for storing and sending a MAC address entry, and a system. The method includes: sending, by a PE, a first packet to an RR, so that the RR determines a MAC address entry required by the PE according to the first packet, where the RR pre-stores a MAC address table, and the MAC address table includes the required MAC address entry; and receiving, by the PE, a packet which includes the required MAC address entry and is sent by the RR, and storing the required MAC address entry.
Abstract:
Embodiments of the present disclosure provide a method and a device for storing and sending a MAC address entry, and a system. The method includes: sending, by a PE, a first packet to an RR, so that the RR determines a MAC address entry required by the PE according to the first packet, where the RR pre-stores a MAC address table, and the MAC address table includes the required MAC address entry; and receiving, by the PE, a packet which includes the required MAC address entry and is sent by the RR, and storing the required MAC address entry.