Hub/Switch Reference Guide
164 IP Services Commands
NN47250-100 (Version 02.51)
Usage
When you add an IP interface to a VLAN that is up, WSS Software adds direct and local
routes for the interface to the route table. If the VLAN is down, WSS Software does not add the
routes. If you add an interface to a VLAN but the routes for that interface do not appear in the route
table, use the show vlan config command to check the VLAN state.
If you add a static route and the route’s state is shown as Down, use the show interface command to verify
that the WSS has an IP interface in the default router’s (gateway’s) subnet. WSS Software cannot resolve a
static route unless one of the switch’s VLANs has an interface in the default router’s subnet. If the switch has
such an interface but the static route is still down, use the show vlan config command to check the state of the
VLAN’s ports.
Examples
The following command shows all routes in a WSS’s IP route table:
WSS# 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 25 describes the fields in this display.
Table 9: Output for show ip route
Field Description
Destination/Mask IP address and subnet mask of the route destination.
The 244.0.0.0 route is automatically added by WSS Software and
supports the IGMP snooping feature.
Proto Protocol that added the route to the IP route table. The protocol
can be one of the following:
• IP—WSS Software added the route.
• Static—An administrator added the route.
Metric Cost for using the route.
NH-Type Next-hop type:
• Local—Route is for a local interface. WSS
Software adds the route when you configure an IP
address on the WSS.
• Direct—Route is for a locally attached subnet.
WSS Software adds the route when you add an
interface in the same subnet to the WSS.
• Router—Route is for a remote destination. A
WSS forwards traffic for the destination to the
default router (gateway).










