439
Predefined user roles
network-admin
Parameters
ip-address
: Specifies the next hop IP address.
public
: Specifies the public network.
vpn-instance
vpn-instance-name
: Specifies an MPLS L3VPN instance by its name, a case-sensitive string
of 1 to 31 characters.
Usage guidelines
This command cannot set a next hop for redistributed routes.
If you do not provide the
public
keyword or
vpn-instance
vpn-instance-name
option
for this command,
the next hop belongs to the public network.
Examples
# Configure node 10 in
permit
mode for 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-policy1-10] if-match as-path 1
[Sysname-route-policy-policy1-10] apply ip-address next-hop 193.1.1.8
display ip prefix-list
Use
display ip prefix-list
to display IPv4 prefix list statistics.
Syntax
display ip prefix-list
[
prefix-list-name
]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
prefix-list-name
: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters.
Without this argument, this command displays statistics for all IPv4 prefix lists.
Examples
# Display the statistics for IPv4 prefix list
abc
.
<Sysname> display ip prefix-list abc
Prefix-list: aaa
Permitted 0
Denied 0
index: 10 deny 6.6.6.0/24 ge 26 le 28