Layer 3 Routing Commands 1261Exampleconsole(config-router)#maximum-paths ibgp 5maximum-paths ibgp (IPv6 Address FamilyConfiguration)Use this command to limit the number of ECMP next hops in IPv6 routesfrom internal peers.Syntaxmaximum-paths ibgp number-of-pathsno maximum-paths ibgp• number-of-paths—The maximum number of next hops in a BGP router.The range is from 1 to 32 unless the platform or SDM template furtherrestricts the range.Default ConfigurationBGP uses a single next hop by default.Command ModeIPv6 Address Family Configuration modeUser GuidelinesPaths are considered for ECMP when their attributes are the same (localpreference, AS path, origin, MED, and IGP distance) and the paths arereceived from different routers.When BGP uses multiple paths in an ECMProute, BGP still selects one path as the best path and advertises only that pathto its peers.The following ranges are supported in the default SDM template:• N40xx 1-4• N30xx 1-4• N20xx 1-1Configure the data-center version of the desired SDM template to increasethe ECMP paths.