Routing Commands
191
ProSAFE M7100 Managed Switches
show ip route ecmp-groups
This command reports all current ECMP groups in the IPv4 routing table. An ECMP group is a set
of two or more next hops used in one or more routes. The groups are numbered arbitrarily from
1 to n. The output indicates the number of next hops in the group and the number of routes that
use the set of next hops. The output lists the IPv4 address and outgoing interface of each next
hop in each group.
Example:
(switch) #show ip route ecmp-groups
ECMP Group 1 with 2 next hops (used by 1 route)
172.20.33.100 on interface 2/33
172.20.34.100 on interface 2/34
ECMP Group 2 with 3 next hops (used by 1 route)
172.20.32.100 on interface 2/32
172.20.33.100 on interface 2/33
172.20.34.100 on interface 2/34
ECMP Group 3 with 4 next hops (used by 1 route)
172.20.31.100 on interface 2/31
172.20.32.100 on interface 2/32
172.20.33.100 on interface 2/33
172.20.34.100 on interface 2/34
show ip route summary
Use this command to display the routing table summary. Use the optional all parameter to show
the number of all routes, including best and non-best routes. To include only the number of best
routes, do not use the optional parameter.
When the optional keyword all is given, some s
tatistics, such as the number of routes from each
source, include counts for alternate routes. An alternate route is a route that is not the most
preferred route to its destination and therefore is not installed in the forwarding table. When this
keyword is not given, the output reports only for the best routes.
Format show ip route ecmp-groups
Mode Privileged EXEC
Format show ip route summary [all]
Modes • Privileged EXEC
• User EXEC