display ip ipv6-prefix

Function

The display ip ipv6-prefix command displays the IPv6 prefix list.

Format

display ip ipv6-prefix [ pf6name ]

Parameters

Parameter Description Value
pf6name

Specifies the name of the IPv6 prefix list. If ipv6-prefix-name is not specified, all the configured IPv6 prefix lists are displayed.

The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
route-base read

Usage Guidelines

Usage Scenario

To view details of the IPv6 prefix list, the number of routes that match the route-policy, and the number of routes that do not match the route-policy, run the display ip ipv6-prefix command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display all the IPv6 prefix lists.
<HUAWEI> display ip ipv6-prefix
Prefix-list6 abc
Description prefixok
Permitted 0
Denied 0
index:   10             permit  ::/0
index:   20             permit  ::/1  match-nework ge  1   le  128
Table 1 Description of the display ip ipv6-prefix command output
Item Description
Prefix-list6

Name of the IPv6 prefix list.

Description

Description of an IPv6 prefix list. This field is displayed only after a description is configured using the ip ipv6-prefix ipv6-prefix-name description text command.

Permitted

Number of routes that match the route-policy.

Denied

Number of routes that do not match the route-policy.

permit

Contents of the entry in the IPv6 prefix list.

ge

Greater than or equal to.

le

Less than or equal to.

index

Index of the entry in the IPv6 prefix list.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >