< Home

reset ip ipv6-prefix

Function

The reset ip ipv6-prefix command resets the statistics of the specified IPv6 prefix list.

Format

reset ip ipv6-prefix [ ipv6-prefix-name ]

Parameters

Parameter Description Value
ipv6-prefix-name Specifies the name of the IPv6 prefix list. If ipv6-prefix-name is not specified, you can reset the statistics of all the IPv6 prefix lists. 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

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The IPv6 prefix list can be used to filter IPv6 addresses. When filtering IPv6 addresses, the system records the numbers of prefixes that are permitted and denied by the IPv6 prefix list. You can run the display ip ipv6-prefix command to view the numbers.

To view the number of IPv6 prefixes that are permitted and denied by the IPv6 prefix list, run the reset ip ipv6-prefix command to clear statistics about permitted and denied routes in the IPv6 prefix list, and then run the display ip ipv6-prefix command to display the number of IPv6 prefixes since the previous operation.

Configuration Impact

The reset ip ipv6-prefix command clears statistics about the IPv6 prefix list. After that, the previous statistics cannot be shown.

Precautions

The reset ip ipv6-prefix command:
  • Clears statistics in a specified IPv6 prefix list, if the name of the IPv6 prefix list is specified using ipv6-prefix-name.

  • Clears statistics in all IPv6 prefix lists, if the name of the IPv6 prefix list is not specified using ipv6-prefix-name.

Example

# Reset the statistics of the specified IPv6 prefix list.

<sysname> reset ip ipv6-prefix abc
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >