H3C S5120-EI Series Configuration Commands page 14

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

Advertisement

verbose: Displays detailed routing table information. With this argument absent, the command displays
brief routing table information.
|: 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 protocol command to display routing information of a specified routing
protocol.
Examples
# Display brief information about direct routes.
<Sysname> display ip routing-table protocol direct
Public Routing Table : Direct
Summary Count : 6
Direct Routing table Status : < Active>
Summary Count :
Destination/Mask
2.2.2.0/24
2.2.2.2/32
127.0.0.0/8
127.0.0.1/32
192.168.80.0/24
192.168.80.10/32
Direct Routing table Status : < Inactive>
Summary Count : 0
# Display brief information about static routes.
<Sysname> display ip routing-table protocol static
Public Routing Table : Static
Summary Count : 2
Static Routing table Status : < Active>
Summary Count :
Static Routing table Status : < Inactive>
Summary Count : 2
Destination/Mask
1.2.3.0/24
3.0.0.0/8
For detailed description of the output, see
6
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
0
Proto
Pre
Cost
Static
60
0
Static
60
0
Table
NextHop
2.2.2.1
127.0.0.1
127.0.0.1
127.0.0.1
192.168.80.10
127.0.0.1
NextHop
1.2.4.5
2.2.2.2
2.
8
Interface
Vlan2
InLoop0
InLoop0
InLoop0
Vlan1
InLoop0
Interface
Vlan10
Vlan1

Advertisement

Table of Contents
loading

Table of Contents