Command Reference Guide

IP Routing Commands
CLI Command Reference
September 2014 Page 526
HP Moonshot Switch Module CLI Command Reference
ECMP Retries................................... 0
Routes with 1 Next Hop......................... 31
Routes with 2 Next Hops........................ 1
Routes with 4 Next Hops........................ 1000
clear ip route counters
The command resets to zero the IPv4 routing table counters reported in the command “show ip route
summary on page 524. The command only resets event counters. Counters that report the current state of
the routing table, such as the number of routes of each type, are not reset.
show ip route preferences
This command displays detailed information about the route preferences for each type of route. Route
preferences are used in determining the best route. Lower route preference values are preferred over higher
route preference values. A route with a preference of 255 cannot be used to forward traffic.
Example: The following shows example CLI display output for the command.
(Routing) #show ip route preferences
Local.......................................... 0
Static......................................... 1
OSPF Intra..................................... 110
OSPF Inter..................................... 110
OSPF External.................................. 110
RIP............................................ 120
Configured Default Gateway..................... 253
DHCP Default Gateway........................... 254
Format
clear ip route counters
Mode Privileged Exec
Format
show ip route preferences
Modes •Privileged EXEC
User EXEC
Term Definition
Local The local route preference value.
Static The static route preference value.
OSPF Intra The OSPF Intra route preference value.
OSPF Inter The OSPF Inter route preference value.
OSPF External The OSPF External route preference value.
RIP The RIP route preference value.
Configured Default Gateway The route preference value of the statically-configured default gateway
DHCP Default Gateway The route preference value of the default gateway learned from the DHCP
server.