04-Layer 3—IP Services Command Reference

HomeSupportResource CenterSwitchesH3C S6300 Switch SeriesH3C S6300 Switch SeriesTechnical DocumentsCommandCommand ReferencesH3C S6300 Switch Series Command References-Release 243x-6W10004-Layer 3—IP Services Command Reference
12-IPv6 fast forwarding commands
Title Size Download
12-IPv6 fast forwarding commands 42.74 KB

IPv6 fast forwarding commands

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

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.

 

Related commands

ipv6 fast-forwarding aging-time

display ipv6 fast-forwarding cache

Use display ipv6 fast-forwarding cache to display IPv6 fast forwarding table information.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-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 an IRF member device by its member ID. If you do not specify this option, the command displays IPv6 fast forwarding entries on all member devices.

Usage guidelines

This command displays IPv6 fast forwarding entries. Each entry includes the following fields:

·     Source IPv6 address

·     Source port number

·     Destination IPv6 address

·     Destination port number

·     Protocol number

·     VPN instance

·     Input and output interface

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: vpn1

Input interface: XGE1/0/2

Output interface: XGE1/0/1

 

Src IP: 2001::1                                        Src port: 128

Dst IP: 2002::1                                        Dst port: 0

Protocol: 58

VPN instance: vpn2

Input interface: XGE1/0/1

Output interface: XGE1/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.

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

ipv6 fast-forwarding aging-time

Use ipv6 fast-forwarding aging-time to set the aging time of 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 of IPv6 fast forwarding entries is 30 seconds.

Views

System view

Predefined user roles

network-admin

Parameters

aging-time: Sets the aging time for IPv6 fast forwarding entries, in the range of 10 to 300 seconds.

Examples

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

<Sysname> system-view

[Sysname] ipv6 fast-forwarding aging-time 20

Related commands

display ipv6 fast-forwarding aging-time

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

Usage guidelines

IPv6 fast-forwarding load sharing enables the device to identify a data flow by using the five-tuple (source IP, source port, destination IP, destination port, and protocol). The device then forwards packets of the same flow to implement load sharing.

If IPv6 fast-forwarding load sharing is disabled, the device identifies a data flow by the five-tuple 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 IPv6 fast forwarding table information.

Syntax

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

Views

User view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify this option, the command clears the IPv6 fast forwarding table information on all member devices.

Examples

# Clear IPv6 fast forwarding table information.

<Sysname> reset ipv6 fast-forwarding cache

Related commands

display ipv6 fast-forwarding cache