Specifications

7-82 IP Services Commands
show ip route
DisplaystheIProutetable.
Syntax
show ip route [destination]
Parameters
Defaults
None.
Mode
All.
Usage
WhenyouaddanIPinterfacetoaVLANthatisup,MSSaddsdirectandlocalroutesforthe
interfacetotheroutetable.IftheVLANisdown,MSSdoesnotaddtheroutes.Ifyouaddan
interfacetoaVLANbuttheroutesforthatinterfacedo
notappearintheroutetable,usetheshow
vlanconfigcommandtochecktheVLANstate.
Ifyouaddastaticrouteandtheroute’sstateisshownasDown,usetheshowinterfacecommand
toverifythattheRoa mAboutswitchhasanIPinterfaceinthedefaultrouters
subnet.MSScannot
resolveastaticrouteunlessoneoftheswitch’sVLANshasaninterfaceinthedefaultrouters
subnet.Iftheswitchhassuchaninterfacebutthestaticrouteisstilldown,usetheshowvlan
configcommandtocheckthestateoftheVLAN’sports.
Example
ThefollowingcommandshowsallroutesinaRoamAboutswitch’sIProutetable:
RBT-8100# show ip route
Router table for IPv4
Destination/Mask Proto Metric NH-Type Gateway VLAN:Interface
__________________ _______ ______ _______ _______________ _______________
0.0.0.0/ 0 Static 1 Router 10.0.1.17 Down
0.0.0.0/ 0 Static 2 Router 10.0.2.17 vlan:2:ip
10.0.2.1/24 IP 0 Direct vlan:2:ip
10.0.2.1/32 IP 0 Direct vlan:2:ip:10.0.1.1/24
10.0.2.255/32 IP 0 Direct vlan:2:ip:10.0.1.1/24
224.0.0.0/ 4 IP 0 Local MULTICAST
Table 79describesthefieldsinthisdisplay.
destination RoutedestinationIPaddress,indotteddecimalnotation.