Show Ip Route - Allied Telesis x310-26FT Command Reference Manual

X310 series stackable access switches for alliedware plus version 5.4.6-1.x
Table of Contents

Advertisement

R
C
OUTING
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.
show ip route [connected|ospf|rip|static|<ip-addr>|
Syntax
<ip-addr/prefix-length>]
Mode
User Exec and Privileged Exec
Example
To display the static routes in the FIB, use the command:
awplus#
To display the OSPF routes in the FIB, use the command:
awplus#
Output
Each entry in the output from this command has a code preceding it, indicating the
source of the routing entry. For example, O indicates OSPF as the origin of the
route.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:
C613-50103-01 REV A
Parameter
connected
ospf
rip
static
<ip-addr>
<ip-addr/prefix-length> Displays the routes for the specified network. Enter
show ip route static
show ip route ospf
code
a second label indicating the sub-type of the route
network or host ip address
administrative distance and metric
next hop ip address
Command Reference for x310 Series
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
Description
Displays only the routes learned from connected
interfaces.
Displays only the routes learned from OSPF.
Displays only the routes learned from RIP.
Displays only the static routes you have configured.
Displays the routes for the specified address. Enter
an IPv4 address.
an IPv4 address and prefix length.
772

Advertisement

Table of Contents
loading

This manual is also suitable for:

X310-26fpX310-50fpX310-50ft

Table of Contents