HP 6125G Command Reference Manual page 17

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

Advertisement

acl-number: Specifies the basic ACL number, in the range of 2000 to 2999.
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 acl to display information about routes permitted by a specified basic ACL.
For more information about routing policy, see Layer 3—IP Routing Configuration Guide.
This command is usually used together with routing policy display commands.
If the specified ACL does not exist or it has no rules configured, the entire routing table is displayed.
Examples
# Define basic ACL 2000 and set the route filtering rules.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.0.0 0.0.255.255
[Sysname-acl-basic-2000] rule deny source any
# Display brief information about active routes permitted by basic ACL 2000.
[Sysname-acl-basic-2000] display ip routing-table acl 2000
Routes Matched by Access list : 2000
Summary Count : 6
Destination/Mask
10.1.1.0/24
10.1.1.2/32
10.1.2.0/24
10.1.2.1/32
10.1.3.0/24
10.1.3.1/32
For command output, see
# Display detailed information about both active and inactive routes permitted by basic ACL 2000.
<Sysname> display ip routing-table acl 2000 verbose
Routes Matched by Access list : 2000
Summary Count: 6
Destination: 10.1.1.0/24
Protocol: Direct
Preference: 0
IpPrecedence:
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Table
1.
Process ID: 0
Cost: 0
QosLcId:
6
NextHop
Interface
10.1.1.2
Vlan1
127.0.0.1
InLoop0
10.1.2.1
Vlan12
127.0.0.1
InLoop0
10.1.3.1
Vlan11
127.0.0.1
InLoop0

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents