04-Layer 3 Configuration Guide

HomeSupportConfigure & DeployConfiguration GuidesH3C WA Series Access Points Configuration Guides(R1507P09)-6W10104-Layer 3 Configuration Guide
03-IPv6 Static Routing Configuration
Title Size Download
03-IPv6 Static Routing Configuration 94.72 KB

Overview

Static routes are manually configured. If a network's topology is simple, you only need to configure static routes for the network to work properly.

Static routes cannot adapt to network topology changes. If a fault or a topological change occurs in the network, the network administrator has to modify the static routes manually.

Similar to IPv4 static routes, IPv6 static routes work well in simple IPv6 network environments.

Configuring IPv6 static routing 

Before you configure an IPv6 static route, complete the following tasks:

·          Configure parameters for the related interfaces.

·          Configure link layer attributes for the related interfaces.

·          Enable IPv6 packet forwarding.

·          Make sure that the neighboring nodes can reach each other.

To configure an IPv6 static route:

 

Step

Command

Remarks

1.       Enter system view.

system-view

N/A

2.       Configure an IPv6 static route.

ipv6 route-static ipv6-address prefix-length next-hop-address [ preference preference-value ]

By default, no IPv6 static route is configured.

 

Displaying and maintaining IPv6 static routes

 

Task

Command

Remarks

Display IPv6 routing table information.

display ipv6 routing-table [ verbose ] [ | { begin | exclude | include } regular-expression ]

Available in any view.

 

 

NOTE:

For information about the display ipv6 routing-table command, see Layer 3 Command Reference.

 

IPv6 static routing configuration example

Network requirements

The IPv6 addresses and prefixes of the hosts and interfaces of the switches and the AP are shown in Figure 1. Configure IPv6 static routes to ensure the IP connectivity between the host and the client.

Figure 1 Network diagram

 

Configuration procedure

1.        Configure IPv6 addresses for interfaces. (Details not shown.)

2.        Configure IPv6 static routes.

# Configure a default IPv6 static route on Switch A.

<SwitchA> system-view

[SwitchA] ipv6

[SwitchA] ipv6 route-static :: 0 4::2

# Configure an IPv6 static route on Switch B.

<SwitchB> system-view

[SwitchB] ipv6

[SwitchB] ipv6 route-static 1:: 64 4::1

# Configure a default IPv6 static route on the AP.

<AP> system-view

[AP] ipv6

[AP] ipv6 route-static :: 0 3::3

3.        Configure the gateways of the host and the client as 1::1 and 3::3, respectively. (Details not shown.)

4.        Verify the configuration.

# Display the IPv6 routing table on the AP.

<AP>display ipv6 routing-table                                         

Routing Table :                                                                

         Destinations : 5        Routes : 5                                    

                                                                               

Destination: ::/0                                        Protocol  : Static    

NextHop    : 3::3                                        Preference: 60        

Interface  : Vlan1                                       Cost      : 0         

                                                                               

Destination: ::1/128                                     Protocol  : Direct    

NextHop    : ::1                                         Preference: 0         

Interface  : InLoop0                                     Cost      : 0         

                                                                               

Destination: 3::/64                                      Protocol  : Direct    

NextHop    : 3::1                                        Preference: 0         

Interface  : Vlan1                                       Cost      : 0         

                                                                                

Destination: 3::1/128                                    Protocol  : Direct    

NextHop    : ::1                                         Preference: 0         

Interface  : InLoop0                                     Cost      : 0         

                                                                               

Destination: FE80::/10                                   Protocol  : Direct    

NextHop    : ::                                          Preference: 0         

Interface  : NULL0                                       Cost      : 0         

# Ping the client on Switch A.

<SwitchA>ping ipv6 3::2                                                             

  PING 3::2 : 56  data bytes, press CTRL_C to break                            

    Reply from 3::2                                                            

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

    Reply from 3::2                                                            

    bytes=56 Sequence=2 hop limit=63  time = 3 ms                              

    Reply from 3::2                                                            

    bytes=56 Sequence=3 hop limit=63  time = 4 ms                              

    Reply from 3::2                                                            

    bytes=56 Sequence=4 hop limit=63  time = 3 ms                              

    Reply from 3::2                                                             

    bytes=56 Sequence=5 hop limit=63  time = 3 ms                              

                                                                               

  --- 3::1 ping statistics ---                                                  

    5 packet(s) transmitted                                                    

    5 packet(s) received                                                       

    0.00% packet loss                                                           

    round-trip min/avg/max = 3/3/4 ms     

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