CPC H04L 45/50 (2013.01) [H04L 12/4633 (2013.01); H04L 12/4675 (2013.01); H04L 45/741 (2013.01)] | 20 Claims |
1. A method for installing routes, the method comprising:
receiving, by a first network device, a virtual private network (VPN) route from a controller, wherein the route specifies: (1) a route target, (2) a next hop for the route, and (3) a Multiprotocol Label Switching (MPLS) label, wherein the first network device does not comprise any MPLS tunnel definitions in a default virtual routing and forwarding (VRF) instance;
determining that the first network device is configured to skip the VPN next hop verification in the default VRF instance; and
in response to the determining that the first network device is configured to skip a VPN next hop verification in the default VRF:
identifying a VRF instance that comprises an import route target that matches the route target of the received VPN route;
resolving the next hop of the route using a unicast routing information base (RIB) of the identified VRF instance; and
in response to the resolving, installing the route in the identified VRF instance.
|