< Home

display ip ipv6-prefix

Function

display ip ipv6-prefix displays the configuration of IPv6 prefix lists.

Format

display ip ipv6-prefix [ ipv6-prefix-name ]

Parameters

Parameter Description Value
ipv6-prefix-name Displays the configuration of an IP prefix list with a specified name. If ipv6-prefix-name is not specified, the configuration of all the configured IPv6 prefix lists is 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

Usage Guidelines

Usage Scenario

An IPv6 prefix list is used to filter IPv6 addresses. To achieve the following purposes, run the display ip ipv6-prefix command:
  • View detailed configuration of a configured IPv6 prefix list.
  • Check whether an IPv6 prefix list is deleted after running the undo ip ipv6-prefix command.
  • View the number of routes that do or do not match the route-policy in an IPv6 prefix list.

Precautions

The display ip ipv6-prefix command:
  • Displays the configuration of a specified IPv6 prefix list if the name of the IPv6 prefix list is specified.
  • Displays the configuration of all IPv6 prefix lists if no IPv6 prefix list name is specified.
  • Does not display information if no IPv6 prefix list exists in the system or the queried IPv6 prefix list does not exist.

Before collecting the number of routes that do or do not match the route-policy in an IPv6 prefix list within a certain period, run the reset ip ipv6-prefix command to clear existing statistics.

Example

# Display the configuration of 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              ge  1   le  128
Table 1 Description of the display ip ipv6-prefix command output

Item

Description

Prefix-list6

Name of an 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 a route-policy.

Denied

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

index

Index of the entry in the IPv6 prefix list.

permit

Contents of the entry in the IPv6 prefix list.

ge

Greater than or equal to.

le

Less than or equal to.

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