Displaying Ip Routes - 3Com 3CRWX120695A, 3CRWX440095A Configuration Manual

Wireless lan switch and controller
Table of Contents

Advertisement

80
C
4: C
HAPTER
ONFIGURING AND

Displaying IP Routes

WX1200# display ip route
Router table for IPv4
Destination/Mask
__________________ _______ ______ _______ _______________ _______________
M
IP I
ANAGING
NTERFACES AND
A destination can be a subnet or network. If two static routes specify a
destination, the more specific route is always chosen (longest prefix
match). For example, if you have a static route with a destination of
10.10.1.0/24, and another static route with a destination of
10.10.0.0/16, the first static route is chosen to reach 10.10.1.15, because
it has the longer prefix match.
If the IP route table contains an explicit route for a given destination, MSS
uses the route. Otherwise, MSS uses a default route. For example, if the
route table does not have a route to host 192.168.1.10, the WX switch
uses the default route to forward a packet addressed to that host. 3Com
recommends that you configure at least one default route.
You can configure a maximum of four routes per destination. This
includes default routes, which have destination 0.0.0.0/0. Each route to a
given destination must have a unique gateway address. When the route
table contains multiple default routes or multiple explicit routes to the
same destination, MSS uses the route with the lowest metric (cost for
using the route). If two or more routes to the same destination have the
lowest cost, MSS selects the first route in the route table.
MSS can use a route only if the route is resolved by a direct route on one
of the WX switch's VLANs.
Before you add a static route, use the display interface command to
verify that the switch has an IP interface in the same subnet as the route's
gateway router. MSS requires the routes for the interface to resolve the
static route. If the switch does not have an interface in the gateway's
subnet, the static route cannot be resolved and the VLAN:Interface field
of the display ip route command output shows that the static route is
down.
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:
Proto
Metric NH-Type Gateway
S
ERVICES
VLAN:Interface

Advertisement

Table of Contents
loading

Table of Contents