show ip route Reviewing IP Traffic and Configuring Routes
Enterasys Matrix DFE-Gold Series Configuration Guide 16-25
Example
ThisexampleshowshowtoclearallIPtrafficcounters:
Matrix>Router#clear ip stats
show ip route
UsethiscommandtodisplayinformationaboutIProutes.
Syntax
show ip route [destination prefix destination prefix mask longer-prefixes |
connected | ospf | rip | static | summary]
Parameters
Defaults
Ifnoparametersarespecified,allIProuteinformationwillbedisplayed.
Mode
Routercommand,Anyroutermode.
Usage
WhenthereismorethanoneroutingmoduleconfiguredinanEnterasysMatrixchassis,each
modulewillcreateandmaintainitsownroutetables.
RoutesaremanagedbytheRTM(RouteTableManager),andarecontainedintheRIB(Route
InformationBase).Thisdatabasecontainsalltheactivestaticroutes,all
theRIProutes,andupto
threebestroutestoeachnetworkasdeterminedbyOSPF.
TheRTMselectsuptothreeofthebestroutestoeachnetworkandinstallstheseroutesintheFIB
(ForwardingInformationBase).TheroutesintheFIBaredistributedtoeverymoduleforuse
by
therouterʹsdistributedforwardingengineontheingressmoduleasframesarereceived.
destinationprefix
destinationprefixmask
longer‐prefixes
(Optional)Convertsthespecifiedaddressandmaskintoaprefixand
displaysanyroutesthatmatchtheprefix.
connected (Optional)Displaysconnectedroutes.
ospf (Optional)DisplaysroutesconfiguredfortheOSPF
routingprotocol.
FordetailsonconfiguringOSPF,referto“ConfiguringOSPF”on
page 21 ‐19.
rip (Optional)DisplaysroutesconfiguredfortheRIProutingprotocol.For
detailsonconfiguringRIP,referto“ConfiguringRIP”onpage 21‐1.
static (Optional)Displaysstaticroutes.
summary (Optional)DisplaysasummaryoftheIProutingtable.