05-Layer 3 - IP Services Configuration Guide

HomeSupportSwitchesH3C S12500 Switch SeriesConfigure & DeployConfiguration GuidesH3C S12500 Configuration Guide-Release7128-6W71005-Layer 3 - IP Services Configuration Guide
11-IPv6 fast forwarding configuration
Title Size Download
11-IPv6 fast forwarding configuration 77.51 KB

The device operates in IRF or standalone (the default) mode. For information about IRF mode, see IRF Configuration Guide.

Overview

Fast forwarding reduces route lookup time and improves packet forwarding efficiency by using a high-speed cache and data-flow-based technology. It uses a six-tuple (source IPv6 address, destination IPv6 address, source port number, destination port number, protocol number, and VPN instance name) to identify a data flow. After the first packet of a flow is forwarded through the routing table, fast forwarding creates an entry for the flow and uses the entry to forward subsequent packets of the flow.

Configuration procedure

To configure IPv6 fast forwarding:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enable IPv6 fast forwarding.

ipv6 fast-forwarding

By default, IPv6 fast forwarding is enabled.

3.     Set the aging time of IPv6 fast forwarding entries.

ipv6 fast-forwarding aging-time aging-time

By default, the aging time of IPv6 fast forwarding entries is 30 seconds.

 

Displaying and maintaining IPv6 fast forwarding

Execute display commands in any view and reset commands in user view.

 

Task

Command

Display IPv6 fast forwarding table information (in standalone mode).

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

Display IPv6 fast forwarding table information (in IRF mode).

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

Display the aging time of the IPv6 fast forwarding entry.

display ipv6 fast-forwarding aging-time

Clear IPv6 fast forwarding table information (in standalone mode).

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

Clear IPv6 fast forwarding table information (in IRF mode).

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

 

IPv6 fast forwarding configuration example

By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring the interface up by executing the undo shutdown command.

Network requirements

As shown in Figure 1, enable IPv6 fast forwarding on Switch B.

Figure 1 Network diagram

 

Configuration procedure

1.      Configure Switch A:

# Configure the IPv6 address of interface VLAN-interface 100.

<SwitchA> system-view

[SwitchA] interface Vlan-interface100

[SwitchA-Vlan-interface100] ipv6 address 2002::1 64

[SwitchA-Vlan-interface100] quit

# Configure a static route.

[SwitchA] ipv6 route-static 2001:: 64 2002::2

2.      Configure Switch C:

# Configure the IPv6 address of VLAN-interface 101.

<SwitchC> system-view

[SwitchC] interface Vlan-interface101

[SwitchC-Vlan-interface101] ipv6 address 2001::1 64

[SwitchC-Vlan-interface101] quit

# Configure a static route.

[SwitchC] ipv6 route-static 2002:: 64 2001::2

3.      Configure Switch B:

# Enable IPv6 fast forwarding.

<SwitchB> system-view

[SwitchB] ipv6 fast-forwarding

# Configure the IPv6 address of VLAN-interface 100.

[SwitchB] interface Vlan-interface100

[SwitchB-Vlan-interface100] ipv6 address 2002::2 64

[SwitchB-Vlan-interface100] quit

# Configure the IPv6 address of VLAN-interface 101.

[SwitchB] interface Vlan-interface101

[SwitchB-Vlan-interface101] ipv6 address 2001::2 64

[SwitchB-Vlan-interface101] quit

Verifying the configuration

# Display the IPv6 fast forwarding table on Switch B.

[SwitchB] display ipv6 fast-forwarding cache

The output shows that no IPv6 fast forwarding entry exists.

# Ping the IPv6 address of VLAN-interface 101 of Switch C from Switch A. Reply packets can be received.

[SwitchA] ping ipv6 2001::1

  PING 2001::1 : 56  data bytes, press CTRL_C to break

    Reply from 2001::1

    bytes=56 Sequence=1 hop limit=64  time = 69 ms

    Reply from 2001::1

    bytes=56 Sequence=2 hop limit=64  time = 1 ms

    Reply from 2001::1

    bytes=56 Sequence=3 hop limit=64  time = 1 ms

    Reply from 2001::1

    bytes=56 Sequence=4 hop limit=64  time = 1 ms

    Reply from 2001::1

    bytes=56 Sequence=5 hop limit=64  time = 1 ms

 

  --- 2001::1 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 1/14/69 ms

# Display the IPv6 fast forwarding table on Switch B.

[SwitchB] 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: 0

Protocol: 58

VPN instance: N/A

Input interface: Vlan-interface100

Output interface: Vlan-interface101

 

Src IP: 2001::1                                        Src port: 128

Dst IP: 2002::1                                        Dst port: 0

Protocol: 58

VPN instance: N/A

Input interface: Vlan-interface101

Output interface: Vlan-interface100

The output shows that IPv6 fast forwarding entries have been created.

  • 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
新华三官网