Open as PDF
110 CHAPTER 6: CONFIGURING AND MANAGING IP INTERFACES AND SERVICES
Displaying IP Routes To display IP routes, use the following command:
display ip route [destination]
The destination parameter specifies a destination IP address.
To display the IP route table, type the following command:
WX1200# display 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 vlan:1:ip
0.0.0.0/ 0 Static 2 Router 10.0.2.17 vlan:2:ip
10.0.1.1/24 IP 0 Direct vlan:1:ip
10.0.1.1/32 IP 0 Local vlan:1:ip:10.0.1.1/24
10.0.1.255/32 IP 0 Local vlan:1:ip:10.0.1.1/24
10.0.2.1/24 IP 0 Direct vlan:2:ip
10.0.2.1/32 IP 0 Local vlan:2:ip:10.0.1.1/24
10.0.2.255/32 IP 0 Local vlan:2:ip:10.0.1.1/24
126.96.36.199/ 4 IP 0 Local MULTICAST
This example shows dynamic routes added by MSS for two VLAN
interfaces, 10.0.1.1/24 on VLAN 1 and 10.0.2.1/24 on VLAN 2.
This example also shows two static routes, which have a next-hop type
(NH-Type) value of Router. Static routes have a default router, listed in the
Gateway field. The 0.0.0.0 destination represents a default route. Here,
default router 10.0.1.17 is reachable through the subnet on VLAN 1.
Route 10.0.1.1/24 resolves the static route that uses the default router.
Default router 10.0.2.17 is reachable through the subnet on VLAN 2 and
route 10.0.2.1/24 resolves the static route to that gateway.
MSS adds routes with next-hop types Direct and Local when you add an
IP interface to a VLAN, when the VLAN is up. Direct routes are for the
locally attached subnets that the switch’s IP addresses are in. Local routes
are for destination interfaces configured on the WX switch itself.
MSS automatically adds the 188.8.131.52 route to support the IGMP