Show ip route – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 720

Routing Commands
Software Reference for x310 Series Switches
29.6
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
show ip route
Use this command to display routing entries in the FIB (Forwarding Information Base). The
FIB contains the best routes to a destination, and your device uses these routes when
forwarding traffic. You can display a subset of the entries in the FIB based on protocol.
To modify the lines displayed, use the | (output modifier token); to save the output to a
file, use the > output redirection token.
Syntax
show ip route [connected|static|
Mode
User Exec and Privileged Exec
Example
To display the static routes in the FIB, use the command:
Output
Each entry in the output from this command has a code preceding it, indicating the source
of the routing entry. The first few lines of the output list the possible codes that may be
seen with the route entries.
Typically, route entries are composed of the following elements:
■
code
■
a second label indicating the sub-type of the route
■
network or host ip address
■
administrative distance and metric
■
nexthop ip address
■
outgoing interface name
■
time since route entry was added
Parameter
Description
connected
Displays only the routes learned from connected
interfaces.
static
Displays only the static routes you have configured.
Displays the routes for the specified address. Enter
an IPv4 address.
Displays the routes for the specified network. Enter
an IPv4 address and prefix length.
awplus#
show ip route static