HP 6125G Command Reference Manual page 22

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Default level
1: Monitor level
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string
of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed.
ip-prefix-name: Specifies the IP prefix list name, a string of 1 to 19 characters.
verbose: Displays detailed routing table information, including inactive routes. Without this argument,
the command displays only brief information about active routes.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see 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, a case-sensitive string of 1 to 256 characters.
Description
Use display ip routing-table ip-prefix to display information about routes permitted by a specified prefix
list.
This command is usually used together with routing policy display commands. If the specified prefix list
is not configured, detailed information about all routes (with the verbose keyword) or brief information
about all active routes (without the verbose keyword) is displayed.
Examples
# Configure a prefix list named test, permitting routes with a prefix of 2.2.2.0 and a mask length between
24 and 32.
<Sysname> system-view
[Sysname] ip ip-prefix test permit 2.2.2.0 24 less-equal 32
# Display brief information about active routes permitted by the prefix list test.
[Sysname] display ip routing-table ip-prefix test
Routes Matched by Prefix list : test
Summary Count : 2
Destination/Mask
2.2.2.0/24
2.2.2.1/32
For command output, see
# Display detailed information about both active and inactive routes permitted by IP prefix list test.
[Sysname] display ip routing-table ip-prefix test verbose
Routes Matched by Prefix list
Summary Count : 2
Destination: 2.2.2.0/24
Protocol: Direct
Preference: 0
IpPrecedence:
Proto
Pre
Cost
Direct
0
0
Direct
0
0
Table
1.
test :
Process ID: 0
Cost: 0
QosLcId:
NextHop
2.2.2.1
127.0.0.1
11
Interface
Vlan2
InLoop0

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents