C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
701
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
R
OUTING
C
OMMANDS
SHOW
IP
ROUTE
show ip route
Overview
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
Mode
User Exec and Privileged Exec
Example
To display the static routes in the FIB, use the command:
awplus#
show ip route static
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
•
next hop 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.
<ip-addr>
Displays the routes for the specified address. Enter
an IPv4 address.
<ip-addr/prefix-length>
Displays the routes for the specified network. Enter
an IPv4 address and prefix length.