The peer next-hop-invariable command has the following functions:
- When the BGP speaker advertises routes to EBGP peers, the BGP speaker does not change the Next_Hop.
- When the BGP speaker advertises labeled routes to IBGP peers, the BGP speaker does not change the Next_Hop.
- When the BGP speaker advertises imported IGP routes to IBGP peers, the BGP speaker changes the Next_Hop to the Next_Hops of the IGP routes.
The undo peer next-hop-invariable command restores the default configuration.
By default: