Border Gateway Protocol IPv4 (BGPv4) | 329
Command
History
bgp non-deterministic-med
c e s
Compare MEDs of paths from different Autonomous Systems.
Syntax
bgp non-deterministic-med
To return to the default, enter no bgp non-deterministic-med.
Defaults
Disabled (that is, paths/routes for the same destination but from different ASs will not have their MEDs 
compared).
Command Modes
ROUTER BGP
Usage
Information
In non-deterministic mode, paths are compared in the order in which they arrive. This method can lead 
to FTOS choosing different best paths from a set of paths, depending on the order in which they are 
received from the neighbors since MED may or may not get compared between adjacent paths. In 
deterministic mode (no bgp non-deterministic-med), FTOS compares MED between adjacent 
paths within an AS group since all paths in the AS group are from the same AS.
When you change the path selection from deterministic to non-deterministic, the path selection for 
existing paths remains deterministic until you enter clear ip bgp ipv4 unicast soft command to clear 
existing paths.
Command
History
bgp recursive-bgp-next-hop 
c e s
Enable next-hop resolution through other routes learned by BGP.
Syntax
bgp recursive-bgp-next-hop 
To disable next-hop resolution, use the no bgp recursive-bgp-next-hop command.
Defaults
Enabled
Command Modes
ROUTER BGP
Usage
Information
This command is a knob to disable BGP next-hop resolution via BGP learned routes. During the 
next-hop resolution, only the first route that the next-hop resolves through is verified for the route’s 
protocol source and is checked if the route is learned from BGP or not.
The clear ip bgp command is required for this command to take effect and to keep the BGP database 
consistent. Execute the clear ip bgp command right after executing this command.
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced support on C-Series
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced support on C-Series