Ip Routing Basics Configuration Commands; Display Ip Routing-Table - H3C S5120-EI Series Configuration Commands

Layer 3 - ip routing command reference
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

IP routing basics configuration commands

NOTE:
router
The term
IP routing basics configuration commands

display ip routing-table

Syntax
display ip routing-table [ verbose ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
verbose: Displays detailed routing table information, including that for inactive routes. With this keyword
absent, the command displays only brief information about active routes.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display ip routing-table command to display brief information about active routes in the routing
table.
This command displays brief information about a routing table, with a routing entry contained in one line.
The information displayed includes destination IP address/mask length, protocol, priority, cost, next hop
and outbound interface. This command displays only the optimal routes in use.
Use the display ip routing-table verbose command to display detailed information about all routes in the
routing table.
This command displays detailed information about all active and inactive routes, including the statistics
of the entire routing table and information for each route.
Examples
# Display brief information about active routes in the routing table.
<Sysname> display ip routing-table
in this document refers to both routers and Layer 3 switches.
1

Advertisement

Table of Contents
loading

Table of Contents