XG Series User's Guide
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
Available Model
Syntax
Options
Use Mode
Explanation
Display the routing table information.
XG0224 / XG0448 / XG0440DC / XG0440DCR / XG2600
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]
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).
Operation mode (user class/admin class)
Configuration mode (admin class)
Display the routing table information that routing manager registered.
447
Chapter 5 Command Reference
Routing Table Entry Display Commands