H3C Low-End Ethernet Switches Configuration Guide(V1.01)

HomeSupportSwitchesH3C S3100 Switch SeriesConfigure & DeployConfiguration ExamplesH3C Low-End Ethernet Switches Configuration Guide(V1.01)
Table of Contents
Related Documents
41-IPv6 Management Configuration Guide
Title Size Download
41-IPv6 Management Configuration Guide 63.12 KB

Configuring IPv6

An IPv6 address is required for a host to access an IPv6 network. A host can be assigned a global unicast address, a site-local address, or a link-local address.

To enable a host to access a public IPv6 network, you need to assign an IPv6 global unicast address to it.

Network Diagram

Figure 1-1 Network diagram for IPv6 applications

 

Networking and Configuration Requirements

In Figure 1-1, SWA, SWB, and SWC are three switches, among which SWA is an H3C Ethernet switch list in the table bellow, SWB and SWC are two switches supporting IPv6 forwarding. In a LAN, there is a Telnet server and a TFTP server for providing Telnet service and TFTP service to the switch respectively. It is required that you telnet to the telnet server from SWA and download files from the TFTP server.

Applicable Product Matrix

Product series

Software version

Hardware version

S5600 series

Release1602

All versions

S5100-SI/EI series

Release 2200, Release2201

All versions

S3600-SI/EI series

Release1602

All versions

S3100-EI series

Release 2104, Release 2107

All versions

S3100-C-SI series

S3100-T-SI series

Release 2107

All versions

S3100-52P

Release 1602

S3100-52P

 

Configuration Procedure

Make sure that:

l          The servers, SWB, and SWC have been configured with IPv6 addresses.

l          Routes between SWB and the servers and between SWC and the servers are reachable.

l          VLAN-interface 2 has been created on SWA.

 

1)        Configuration on SWA

# Configure a global unicast address for the interface VLAN-interface 2.

<SWA> system-view

[SWA] interface vlan-interface 2

[SWA-Vlan-interface2] ipv6 address 3003::2/64

# On SWA, configure static routes to SWC, the Telnet Server, and the TFTP Server.

[SWA-Vlan-interface2] quit

[SWA] ipv6 route-static 3002:: 64 3003::1

[SWA] ipv6 route-static 3001:: 64 3003::1

[SWA] quit

2)        Verify the configuration

# Ping SWB’s IPv6 address from SWA.

<SWA> ping ipv6 3003::1

  PING 3003::1 : 64  data bytes, press CTRL_C to break

    Reply from 3003::1

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

    Reply from 3003::1

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

    Reply from 3003::1

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

    Reply from 3003::1

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

    Reply from 3003::1

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

 

--- 3003::1 ping statistics ---

  5 packet(s) transmitted

  5 packet(s) received

  0.00% packet loss

    round-trip min/avg/max = 31/46/110 ms 

# Trace the IPv6 route from SWA to SWC.

<SWA> tracert ipv6 3002::1

 traceroute to 3002::1  30 hops max,60 bytes packet

 1  3003::1 30 ms  0 ms  0 ms

 2  3002::1 10 ms 10 ms 0 ms

# Download a file from TFTP server 3001::3.

<SWA> tftp ipv6 3001::3 get filetoget flash:/filegothere

  .

  File will be transferred in binary mode

  Downloading file from remote tftp server, please wait....

  TFTP:       13 bytes received in 1.243 second(s)

  File downloaded successfully.

# Telnet to server 3001::2.

<SWA> telnet ipv6 3001::2

Trying 3001::2...

Press CTRL+K to abort

Connected to 3001::2 ...

Telnet Server>

Complete Configuration

l          Configuration on SWA

#

interface Vlan-interface2

 ipv6 address 3003::2/64

 ipv6 route-static 3002:: 64 3003::1

 ipv6 route-static 3001:: 64 3003::1

#

Precautions

l          If IRF fabric ports are configured on an H3C S3600 switch, no IPv6 address can be configured for the switch.

l          If an IRF fabric port on an H3C S5600 switch is enabled with IRF fabric, no IPv6 address can be configured for the switch. To do so, you need to disable IRF fabric on all IRF fabric ports.

l          IPv6 unicast addresses can be configured for only one VLAN interface on an H3C low-end Ethernet switch. The total number of global unicast addresses and site-local addresses on the VLAN interface depends on the device model. For details, refer to the operation manual for your switch.

l          After an IPv6 site-local address or global unicast address is configured for an interface, a link-local address will be generated automatically. The automatically generated link-local address is the same as the one generated by using the ipv6 address auto link-local command.

l          The manual assignment takes precedence over the automatic generation. That is, if you first adopt the automatic generation and then the manual assignment, the manually assigned link-local address will overwrite the automatically generated one. If you first adopt the manual assignment and then the automatic generation, the automatically generated link-local address will not take effect and the link-local address of an interface is still the manually assigned one. If the manually assigned link-local address is deleted, the automatically generated link-local address takes effect.

  • 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 Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网