Display Ip Ip-Prefix - HP 6125G Command Reference Manual

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

Advertisement

No next hop is set for IPv4 routing information by default.
This command cannot set a next hop for redistributed routes.
Examples
# Configure node 10 in permit mode of routing policy policy1 to set next hop 193.1.1.8 for routes
matching AS path list 1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply ip-address next-hop 193.1.1.8

display ip ip-prefix

Syntax
display ip ip-prefix [ ip-prefix-name ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
ip-prefix-name: IP prefix list name, a string of 1 to 19 characters.
|: 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 ip-prefix to display the statistics of an IPv4 prefix list. If no ip-prefix-name is specified,
statistics for all IPv4 prefix lists will be displayed.
Related commands: ip ip-prefix.
Examples
# Display the statistics of IPv4 prefix list abc.
<Sysname> display ip ip-prefix abc
Prefix-list abc
Permitted 0
Denied 0
index: 10
Table 80 Command output.
Field
Prefix-list
permit
1.0.0.0/11
Description
Name of the IPv4 prefix list
354
ge
22
le
32

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents