XG Series User's Guide Chapter 5 Command Reference
Routing Table Entry Display Commands
431
5.26 Routing Table Entry Display Commands
This section explains the commands related to routing table.

5.26.1 IPv4 Routing Table Entry Display Commands

This section explains the commands related to the IPv4 routing table counter, log, statistics, and status display commands.

5.26.1.1 show ip route

Function Display the routing table information.
Available Model XG0224 / XG0448 / XG2600
Syntax show ip route [all]
show ip route connected [all]
show ip route static [all]
show ip route destination <ip_address>/<mask> [all]
show ip route destination <ip_address>/<mask> longer-prefixes [all]
Options
N/A
Display the route information that has been registered on the routing table.
all
Display all route information including route information not registered on the routing
table.
connected
Display interface route information only.
static
Display static route information only.
destination <ip_address>/<mask>
Display only the route information whose address and mask match the specified ones.
<mask> must be a number of mask bits or a mask value. For the mask value, specify
successive 1s following the most significant bit (MSB).
destination <ip_address>/<mask> longer-prefixes
Display all route information included in the specified route information.
<mask> must be a number of mask bits or a mask value. For the mask value, specify
successive 1s following the most significant bit (MSB).
Use Mode Operation mode (user class/admin class)
Configuration mode (admin class)
Explanation Display the routing table information that routing manager registered.