11-Layer 3—IP Services Command Reference

HomeSupportReference GuidesCommand ReferencesH3C SecPath M9000 Command Reference(V7)(E9X71)-6W70011-Layer 3—IP Services Command Reference
12-IPv6 fast forwarding commands
Title Size Download
12-IPv6 fast forwarding commands 71.69 KB

IPv6 fast forwarding commands

Non-default vSystems do not support some of the IPv6 fast forwarding commands. For information about vSystem support for a command, see the usage guidelines on that command. For information about vSystem, see Virtual Technologies Configuration Guide.

display ipv6 fast-forwarding aging-time

Use display ipv6 fast-forwarding aging-time to display the aging time of IPv6 fast forwarding entries.

Syntax

display ipv6 fast-forwarding aging-time

Views

Any view

Predefined user roles

network-admin

network-operator

context-admin

context-operator

vsys-admin

vsys-operator

Examples

# Display the aging time of IPv6 fast forwarding entries.

<Sysname> display ipv6 fast-forwarding aging-time

Aging time: 30s

Table 1 Command output

Field

Description

Aging time

Aging time of IPv6 fast forwarding entries, in seconds.

 

Related commands

ipv6 fast-forwarding aging-time

display ipv6 fast-forwarding cache

Use display ipv6 fast-forwarding cache to display IPv6 fast forwarding entries.

Syntax

In standalone mode:

display ipv6 fast-forwarding cache [ ipv6-address ] [ slot slot-number [ cpu cpu-number ] ]

In IRF mode:

display ipv6 fast-forwarding cache [ ipv6-address ] [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

context-admin

context-operator

vsys-admin

vsys-operator

Parameters

ipv6-address: Specifies an IPv6 address. If you do not specify an IPv6 address, this command displays all IPv6 fast forwarding entries.

slot slot-number: Specifies a card by the slot number. If you do not specify a card, this command displays IPv6 fast forwarding entries for all cards. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays IPv6 fast forwarding entries for all cards. (In IRF mode.)

cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot.

Examples

# Display all IPv6 fast forwarding entries.

<Sysname> display ipv6 fast-forwarding cache

Total number of IPv6 fast-forwarding items: 2

Src IP: 2002::1                                        Src port: 129

Dst IP: 2001::1                                        Dst port: 65535

Protocol: 58

VPN instance: N/A

Input interface: GE1/0/2

Output interface: GE1/0/1

 

Src IP: 2001::1                                        Src port: 128

Dst IP: 2002::1                                        Dst port: 0

Protocol: 58

VPN instance: N/A

Input interface: GE1/0/1

Output interface: GE1/0/2

Table 2 Command output

Field

Description

Total number of IPv6 fast-forwarding items

Number of IPv6 fast forwarding entries.

Src IP

Source IPv6 address.

Src port

Source port number.

Dst IP

Destination IPv6 address.

Dst Port

Destination port number.

Protocol

Protocol number.

VPN instance

VPN instance. If the entry does not belong to any VPN instance, this field displays N/A.

Input interface

Input interface type and number.

If no interface is involved in fast forwarding, this field displays N/A.

If the input interface does not exist, this field displays a hyphen (-).

Output interface

Output interface type and number.

If no interface is involved in fast forwarding, this field displays N/A.

If the output interface does not exist, this field displays a hyphen (-).

 

Related commands

reset ipv6 fast-forwarding cache

display ipv6 fast-forwarding fragcache

Use display ipv6 fast-forwarding fragcache to display IPv6 fast forwarding entries for fragmented datagrams.

Syntax

In standalone mode:

display ipv6 fast-forwarding fragcache [ ipv6-address ] [ slot slot-number [ cpu cpu-number ] ]

In IRF mode:

display ipv6 fast-forwarding fragcache [ ipv6-address ] [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

context-admin

context-operator

Parameters

ipv6-address: Specifies an IPv6 address. If you do not specify this argument, this command displays IPv6 fast forwarding entries for all fragmented datagrams.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays IPv6 fast forwarding entries for fragmented datagrams on all cards. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number represents the slot number of the card. If you do not specify a card, this command displays IPv6 fast forwarding entries for fragmented datagrams on all cards. (In IRF mode.)

cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot.

 Examples

# Display IPv6 fast forwarding entries for all fragmented datagrams.

<Sysname> display ipv6 fast-forwarding fragcache

Total number of fragment fast-forwarding entries: 2

Src IP: 18::18                   Src Port: 0

Dst IP: 14::38                   Dst Port: 0

Protocol: 58

Input interface: N/A

ID: 736

Relay flag: 1

 

Src IP: 14::38                   Src Port: 51389

Dst IP: 18::18                    Dst Port: 32768

Protocol: 58

Input interface: XGE2/5/0/29

ID: 774

Relay flag: 0

Table 3 Command output

Field

Description

Total number of fragment fast-forwarding entries

Number of IPv6 fast forwarding entries for fragmented datagrams.

Src IP

Source IPv6 address.

Src port

Source port number.

Dst IP

Destination IPv6 address.

Dst Port

Destination port number.

Protocol

Protocol number.

Input interface

Input interface type and number.

If no interface is involved in fast forwarding, this field displays N/A.

If the input interface does not exist, this field displays a hyphen (-).

ID

Fragment ID.

Relay_flag

Fragment pass-through flag:

·     0—Not pass through.

·     1—Pass through.

ipv6 fast-forwarding aging-time

Use ipv6 fast-forwarding aging-time to set the aging time for IPv6 fast forwarding entries.

Use undo ipv6 fast-forwarding aging-time to restore the default.

Syntax

ipv6 fast-forwarding aging-time aging-time

undo ipv6 fast-forwarding aging-time

Default

The aging time is 30 seconds.

Views

System view

Predefined user roles

network-admin

context-admin

Parameters

aging-time: Sets the aging time in the range of 10 to 300 seconds.

Usage guidelines

Non-default vSystems do not support this command.

Examples

# Set the aging time to 20 seconds for IPv6 fast forwarding entries.

<Sysname> system-view

[Sysname] ipv6 fast-forwarding aging-time 20

Related commands

display ipv6 fast-forwarding aging-time

ipv6 fast-forwarding enable

Use ipv6 fast-forwarding enable to enable IPv6 fast forwarding.

Use undo ipv6 fast-forwarding enable to disable IPv6 fast forwarding.

Syntax

ipv6 fast-forwarding enable

undo ipv6 fast-forwarding enable

 

 

Default

IPv6 fast forwarding is enabled.

Views

System view

Predefined user roles

network-admin

context-admin

Usage guidelines

The IPv6 fast forwarding feature will create fast forwarding entries for the device to speed up packet forwarding. When the traffic volume is high, the device will generate a large number of fast forwarding entries. These entries will cause high memory usage, which eventually leads to memory allocation failure for other services. In this case, you can disable this feature temporarily to free up device memory.

Do not disable IPv6 fast forwarding if the device runs services that are based on sessions. Disabling fast forwarding will make these services become ineffective:

·     NAT.

·     ASPF.

·     Attack detection and prevention.

Examples

# Disable IPv6 fast forwarding.

<Sysname> system-view

[Sysname] undo ipv6 fast-forwarding enable

Related commands

display ipv6 fast-forwarding cache

reset ipv6 fast-forwarding cache

ipv6 fast-forwarding load-sharing

Use ipv6 fast-forwarding load-sharing to enable IPv6 fast forwarding load sharing.

Use undo ipv6 fast-forwarding load-sharing to disable IPv6 fast forwarding load sharing.

Syntax

ipv6 fast-forwarding load-sharing

undo ipv6 fast-forwarding load-sharing

Default

IPv6 fast forwarding load sharing is enabled.

Views

System view

Predefined user roles

network-admin

context-admin

Usage guidelines

Non-default vSystems do not support this command.

IPv6 fast forwarding load sharing enables the device to load share packets of the same flow. This feature identifies a data flow by using the packet information.

If IPv6 fast forwarding load sharing is disabled, the device identifies a data flow by the packet information and the input interface. No load sharing is implemented.

Examples

# Enable IPv6 fast forwarding load sharing.

<Sysname> system-Views

[Sysname] ipv6 fast-forwarding load-sharing

reset ipv6 fast-forwarding cache

Use reset ipv6 fast-forwarding cache to clear the IPv6 fast forwarding table.

Syntax

In standalone mode:

reset ipv6 fast-forwarding cache [ slot slot-number [ cpu cpu-number ] ]

In IRF mode:

reset ipv6 fast-forwarding cache [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]

Views

User view

Predefined user roles

network-admin

context-admin

vsys-admin

Parameters

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command clears the IPv6 fast forwarding table for all cards. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command clears the IPv6 fast forwarding table for all cards. (In IRF mode.)

cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot.

Examples

# Clear the IPv6 fast forwarding table.

<Sysname> reset ipv6 fast-forwarding cache

Related commands

display ipv6 fast-forwarding cache

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网