05-Layer 3 - IP Services Command Reference

HomeSupportSwitchesH3C S12500 Switch SeriesReference GuidesCommand ReferencesH3C S12500 Command Reference-Release7128-6W71005-Layer 3 - IP Services Command Reference
11-IPv6 fast forwarding commands
Title Size Download
11-IPv6 fast forwarding commands 68.53 KB

display ipv6 fast-forwarding aging-time

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

Syntax

display ipv6 fast-forwarding aging-time

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Examples

# Display the aging time for IPv6 fast forwarding entries.

<Sysname> display ipv6 fast-forwarding aging-time

Aging time: 30s

Table 1 Command output

Field

Description

Aging time

Aging time for 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

In standalone mode:

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

In IRF mode:

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

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

ipv6-address: Specifies an IPv6 address.

slot slot-number: Specifies a card by the slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number specifies the number of the slot where the card resides. (In IRF mode.)

Usage guidelines

This command displays IPv6 fast forwarding entries. Each entry includes the source IPv6 address, source port number, destination IPv6 address, destination port number, protocol number, VPN instance, and input and output interface of a data flow.

If you do not specify the ip-address argument, this command displays all IPv6 fast forwarding entries. If you specify this argument, this command displays the IPv6 fast forwarding entries for the specified IPv6 address.

If you do not specify the slot slot-number option, this command displays IPv6 fast forwarding entries for the main processing unit (MPU). If you specify this option, this command displays IPv6 fast forwarding entries for the specified card. (In standalone mode.)

If you do not specify the chassis chassis-number slot slot-number option, this command displays IPv6 fast forwarding entries for the MPU on the master device. If you specify this option, this command displays fast forwarding entries for the specified card on the IRF member device. (In IRF mode.)

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: GE3/0/2

Output interface: GE3/0/1

 

Src IP: 2001::1                                        Src port: 128

Dst IP: 2002::1                                        Dst port: 0

Protocol: 58

VPN instance: vpn2

Input interface: GE3/0/1

Output interface: GE3/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 of the packet.

Output interface

Output interface of the packet.

 

Related commands

·           ipv6 fast-forwarding

·           reset ipv6 fast-forwarding cache

ipv6 fast-forwarding

Use ipv6 fast-forwarding to enable IPv6 fast forwarding.

Use undo ipv6 fast-forwarding to disable IPv6 fast forwarding and remove all IPv6 fast forwarding entries.

Syntax

ipv6 fast-forwarding

undo ipv6 fast-forwarding

Default

IPv6 fast forwarding is enabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

Fast forwarding reduces route lookup time and improves forwarding efficiency. It creates an entry for a data flow after the first packet of the flow is forwarded through the routing table and uses the entry to forward subsequent packets of the flow.

Examples

# Enable IPv6 fast forwarding.

<Sysname> system-view

[Sysname] ipv6 fast-forwarding

Related commands

·           display ipv6 fast-forwarding cache

·           reset ipv6 fast-forwarding cache

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 for IPv6 fast forwarding entries is 30 seconds.

Views

System view

Predefined user roles

network-admin

mdc-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 20s.

<Sysname> system-view

[Sysname] ipv6 fast-forwarding aging-time 20

Related commands

display ipv6 fast-forwarding aging-time

reset ipv6 fast-forwarding cache

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

Syntax

In standalone mode:

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

In IRF mode:

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

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

slot slot-number: Specifies a card by the slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number specifies the number of the slot where the card resides. (In IRF mode.)

Usage guidelines

If you do not specify the slot slot-number option, this command clears the IPv6 fast forwarding table information for all cards. If you specify this option, this command clears the IPv6 fast forwarding table for the specified card. (In standalone mode.)

If you do not specify the chassis chassis-number slot slot-number option, this command clears the IPv6 fast forwarding table information for all cards. If you specify this option, this command clears the IPv6 fast forwarding table information for the specified card on the IRF member device. (In IRF mode.)

Examples

# Clear IPv6 fast forwarding table information.

<Sysname> reset ipv6 fast-forwarding cache

Related commands

·           display ipv6 fast-forwarding cache

·           ipv6 fast-forwarding

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
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
新华三官网