download
>

Table of Contents

15-IPv6 Routing Configuration Guide

Download

Table of Contents

Chapter 1 IPv6 Routing Configuration Guide. 1-1

1.1 Configuring an IPv6 Static Route. 1-1

1.1.1 Network Diagram.. 1-1

1.1.2 Networking and Configuration Requirements. 1-1

1.1.3 Applicable Product Matrix. 1-1

1.1.4 Configuration Procedure. 1-2

1.1.5 Complete Configuration. 1-4

1.1.6 Configuration Guidelines. 1-4

1.2 Configuring IPv6 RIPng. 1-4

1.2.1 Network Diagram.. 1-5

1.2.2 Networking and Configuration Requirements. 1-5

1.2.3 Applicable Product Matrix. 1-5

1.2.4 Configuration Procedure. 1-5

1.2.5 Complete Configuration. 1-8

1.2.6 Configuration Guidelines. 1-9

1.3 Configuring RIPng Route Redistribution. 1-10

1.3.1 Network Diagram.. 1-10

1.3.2 Networking and Configuration Requirements. 1-10

1.3.3 Applicable Product Matrix. 1-10

1.3.4 Configuration Procedure. 1-10

1.3.5 Complete Configuration. 1-13

1.3.6 Configuration Guidelines. 1-14

1.4 Configuring IPv6 RIPng over IPv4 Tunnel 1-15

1.4.1 Network Diagram.. 1-15

1.4.2 Networking and Configuration Requirements. 1-15

1.4.3 Applicable Product Matrix. 1-15

1.4.4 Configuration Procedure. 1-15

1.4.5 Complete Configuration. 1-17

1.4.6 Configuration Guidelines. 1-19

1.5 Configuring an OSPFv3 Area. 1-19

1.5.1 Network Diagram.. 1-20

1.5.2 Networking and Configuration Requirements. 1-20

1.5.3 Applicable Product Matrix. 1-20

1.5.4 Configuration Procedure. 1-20

1.5.5 Complete Configuration. 1-24

1.5.6 Configuration Guidelines. 1-26

1.6 Configuring OSPFv3 Route Redistribution. 1-27

1.6.1 Network Diagram.. 1-27

1.6.2 Networking and Configuration Requirements. 1-27

1.6.3 Applicable Product Matrix. 1-27

1.6.4 Configuration Procedure. 1-27

1.6.5 Complete Configuration. 1-30

1.6.6 Configuration Guidelines. 1-32

1.7 Configure OSPFv3 DR Election. 1-32

1.7.1 Network Diagram.. 1-32

1.7.2 Networking and Configuration Requirements. 1-32

1.7.3 Applicable Product Matrix. 1-33

1.7.4 Configuration Procedure. 1-33

1.7.5 Complete Configuration. 1-36

1.7.6 Configuration Guidelines. 1-37

1.8 Configuring IPv6 IS-IS. 1-37

1.8.1 Network Diagram.. 1-38

1.8.2 Networking and Configuration Requirements. 1-38

1.8.3 Applicable Product Matrix. 1-38

1.8.4 Configuration Procedure. 1-38

1.8.5 Complete Configuration. 1-40

1.8.6 Configuration Guidelines. 1-42

1.9 Configuring IPv6 BGP. 1-42

1.9.1 Network Diagram.. 1-42

1.9.2 Networking and Configuration Requirements. 1-42

1.9.3 Applicable Product Matrix. 1-43

1.9.4 Configuration Procedure. 1-43

1.9.5 Complete Configuration. 1-45

1.9.6 Configuration Guidelines. 1-47

1.10 Configuring IPv6 BGP Route Reflector 1-47

1.10.1 Network Diagram.. 1-47

1.10.2 Networking and Configuration Requirements. 1-47

1.10.3 Applicable Product Matrix. 1-48

1.10.4 Configuration Procedure. 1-48

1.10.5 Complete Configuration. 1-49

1.10.6 Configuration Guidelines. 1-51

1.11 Configuring Route Policy Application in IPv6 Route Redistribution. 1-51

1.11.1 Network Diagram.. 1-51

1.11.2 Networking and Configuration Requirements. 1-52

1.11.3 Applicable Product Matrix. 1-52

1.11.4 Configuration Procedure. 1-52

1.11.5 Complete Configuration. 1-53

1.11.6 Configuration Guidelines. 1-54

 


Chapter 1  IPv6 Routing Configuration Guide

1.1  Configuring an IPv6 Static Route

Static routes are manually configured. They work well in simple networks. Configuring and using them properly can improve the performance of networks and guarantee enough bandwidth for important applications.

However, static routes also have shortcomings: any topology changes could result in unavailable routes, requiring the network administrator to manually configure and modify the static routes.

1.1.1  Network Diagram

Figure 1-1 Network diagram for IPv6 static route configuration

1.1.2  Networking and Configuration Requirements

With IPv6 static routes configured, all hosts and switches can communicate with each other.

1.1.3  Applicable Product Matrix

Product series

Software version

Hardware version

S3610 Series Ethernet Switches

Release 5301

All versions

S5510 Series Ethernet Switches

Release 5301

All versions

S5500-SI Series Ethernet Switches

Release 1207

All versions, except S5500-20TP-SI

Release 1301

S5500-20TP-SI

S5500-EI Series Ethernet Switches

Release 2102

All versions

S7500E Series Ethernet Switches

Release 6100

All versions

 

1.1.4  Configuration Procedure

1)         Configure the IPv6 addresses of all VLAN interfaces (omitted)

2)         Configure IPv6 static routes.

# Configure the default IPv6 static route on Switch A.

<SwitchA> system-view

[SwitchA] ipv6

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

# Configure two IPv6 static routes on Switch B.

<SwitchB> system-view

[SwitchB] ipv6

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

[SwitchB] ipv6 route-static 3:: 64 5::1

# Configure the default IPv6 static route on Switch C.

<SwitchC> system-view

[SwitchC] ipv6

[SwitchC] ipv6 route-static :: 0 5::2

3)         Configure the IPv6 addresses of hosts and gateways.

Configure the IPv6 addresses of all the hosts based upon the network diagram, configure the default gateway of Host A as 1::1, that of Host B as 2::1, and that of Host C as 3::1.

4)         Display configuration information

# Display the IPv6 routing table of Switch A.

[SwitchA] display ipv6 routing-table

Routing Table :

         Destinations : 7        Routes : 7

 

Destination: ::/0                                        Protocol  : Static

NextHop    : 4::2                                        Preference: 60

Interface  : Vlan200                                     Cost      : 0

 

Destination: ::1/128                                     Protocol  : Direct

NextHop    : ::1                                         Preference: 0

Interface  : InLoop0                                     Cost      : 0

 

Destination: 1::/64                                      Protocol  : Direct

NextHop    : 1::1                                        Preference: 0

Interface  : Vlan100                                     Cost      : 0

 

Destination: 1::1/128                                    Protocol  : Direct

NextHop    : ::1                                         Preference: 0

Interface  : InLoop0                                     Cost      : 0

 

Destination: 4::/64                                      Protocol  : Direct

NextHop    : 4::1                                        Preference: 0

Interface  : Vlan200                                     Cost      : 0

 

Destination: 4::1/128                                    Protocol  : Direct

NextHop    : ::1                                         Preference: 0

Interface  : InLoop0                                     Cost      : 0

 

Destination: FE80::/10                                   Protocol  : Direct

NextHop    : ::                                          Preference: 0

Interface  : NULL0                                       Cost      : 0 

# Verify the connectivity with the ping command.

[SwitchA] ping ipv6 3::1

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

    Reply from 3::1

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

    Reply from 3::1

    bytes=56 Sequence=2 hop limit=254  time = 62 ms

    Reply from 3::1

    bytes=56 Sequence=3 hop limit=254  time = 62 ms

    Reply from 3::1

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

    Reply from 3::1

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

 

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

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 62/62/63 ms

1.1.5  Complete Configuration

l           Configure Switch A.

#

 ipv6

#

 ipv6 route-static :: 0 4::2

l           Configure Switch B.

#

 ipv6

#

 ipv6 route-static 1:: 64 4::1

 ipv6 route-static 3:: 64 5::1

#

l           Configure Switch C.

#

 ipv6

#

 ipv6 route-static :: 0 5::2

#

1.1.6  Configuration Guidelines

When configuring a static route, you can specify the output interface. If the output interface is a VLAN interface, the next hop address must be specified.

1.2  Configuring IPv6 RIPng

RIP next generation (RIPng) is an extension of RIP-2 for IPv4. Most RIP concepts are applicable in RIPng.

RIPng for IPv6 made the following changes to RIP:

l           UDP port number: RIPng uses UDP port 521 for sending and receiving routing information.

l           Multicast address: RIPng uses FF02:9 as the link-local multicast address.

l           Destination Prefix: 128-bit destination address prefix.

l           Next hop: 128-bit IPv6 address.

l           Source address: RIPng uses FE80::/10 as the link-local source address

1.2.1  Network Diagram

Figure 1-2 Network diagram for RIPng configuration

1.2.2  Networking and Configuration Requirements

As shown in the figure above, all switches run RIPng. Configure Switch B to filter the route (3::/64) learned from Switch C so that the route will not be added to the routing table of Switch B and Switch B will not forward it to Switch A.

1.2.3  Applicable Product Matrix

Product series

Software version

Hardware version

S3610 Series Ethernet Switches

Release 5301

All versions

S5510 Series Ethernet Switches

Release 5301

All versions

S5500-SI Series Ethernet Switches

Release 1207

All versions, except S5500-20TP-SI

Release 1301

S5500-20TP-SI

S5500-EI Series Ethernet Switches

Release 2102

All versions

S7500E Series Ethernet Switches

Release 6100

All versions

 

1.2.4  Configuration Procedure

1)         Configure the IPv6 address for each interface (omitted)

2)         Configure basic RIPng functions.

# Configure Switch A.

<SwitchA> system-view

[SwitchA] ipv6

[SwitchA] ripng 1

[SwitchA-ripng-1] quit

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] ripng 1 enable

[SwitchA-Vlan-interface100] quit

[SwitchA] interface vlan-interface 400

[SwitchA-Vlan-interface400] ripng 1 enable

[SwitchA-Vlan-interface400] quit

# Configure Switch B.

<SwitchB> system-view

[SwitchB] ipv6

[SwitchB] ripng 1

[SwitchB-ripng-1] quit

[SwitchB] interface vlan-interface 200

[SwitchB-Vlan-interface200] ripng 1 enable

[SwitchB-Vlan-interface200] quit

[SwitchB] interface vlan-interface 100

[SwitchB-Vlan-interface100] ripng 1 enable

[SwitchB-Vlan-interface100] quit

# Configure Switch C.

<SwitchC> system-view

[SwitchC] ipv6

[SwitchC] ripng 1

[SwitchC-ripng-1] quit

[SwitchC] interface vlan-interface 200

[SwitchC-Vlan-interface200] ripng 1 enable

[SwitchC-Vlan-interface200] quit

[SwitchC] interface vlan-interface 500

[SwitchC-Vlan-interface500] ripng 1 enable

[SwitchC-Vlan-interface500] quit

[SwitchC] interface vlan-interface 600

[SwitchC-Vlan-interface600] ripng 1 enable

[SwitchC-Vlan-interface600] quit

# Display the routing table of Switch B.

[SwitchB] display ripng 1 route

   Route Flags: A - Aging, S - Suppressed, G - Garbage-collect

 ----------------------------------------------------------------

 

 Peer FE80::20F:E2FF:FE23:82F5  on Vlan-interface100

 Dest 1::/64,

     via FE80::20F:E2FF:FE23:82F5, cost  1, tag 0, A, 6 Sec

 Dest 2::/64,

     via FE80::20F:E2FF:FE23:82F5, cost  1, tag 0, A, 6 Sec

 

 Peer FE80::20F:E2FF:FE00:100  on Vlan-interface200

 Dest 3::/64,

     via FE80::20F:E2FF:FE00:100, cost  1, tag 0, A, 11 Sec

 Dest 4::/64,

     via FE80::20F:E2FF:FE00:100, cost  1, tag 0, A, 11 Sec

 Dest 5::/64,

     via FE80::20F:E2FF:FE00:100, cost  1, tag 0, A, 11 Sec

# Display the RIPng routing table of Switch A.

[SwitchA] display ripng 1 route

   Route Flags: A - Aging, S - Suppressed, G - Garbage-collect

 ----------------------------------------------------------------

 

 Peer FE80::200:2FF:FE64:8904  on Vlan-interface100

 Dest 1::/64,

     via FE80::200:2FF:FE64:8904, cost  1, tag 0, A, 31 Sec

 Dest 4::/64,

     via FE80::200:2FF:FE64:8904, cost  2, tag 0, A, 31 Sec

 Dest 5::/64,

     via FE80::200:2FF:FE64:8904, cost  2, tag 0, A, 31 Sec

 Dest 3::/64,

     via FE80::200:2FF:FE64:8904, cost  1, tag 0, A, 31 Sec

3)         Configure Switch B to filter incoming and outgoing routes.

[SwitchB] acl ipv6 number 2000

[SwitchB-acl6-basic-2000] rule deny source 3::/64

[SwitchB-acl6-basic-2000] rule permit

[SwitchB-acl6-basic-2000] quit

[SwitchB] ripng 1

[SwitchB-ripng-1] filter-policy 2000 import

[SwitchB-ripng-1] filter-policy 2000 export

[SwitchB-ripng-1] quit

# Display RIPng routing tables of Switch B and Switch A.

[SwitchB] display ripng 1 route

   Route Flags: A - Aging, S - Suppressed, G - Garbage-collect

 ----------------------------------------------------------------

 

 Peer FE80::20F:E2FF:FE23:82F5  on Vlan-interface100

 Dest 1::/64,

     via FE80::20F:E2FF:FE23:82F5, cost  1, tag 0, A, 2 Sec

 Dest 2::/64,

     via FE80::20F:E2FF:FE23:82F5, cost  1, tag 0, A, 2 Sec

 

 Peer FE80::20F:E2FF:FE00:100  on Vlan-interface200

 Dest 4::/64,

     via FE80::20F:E2FF:FE00:100, cost  1, tag 0, A, 5 Sec

 Dest 5::/64,

     via FE80::20F:E2FF:FE00:100, cost  1, tag 0, A, 5 Sec

[SwitchA] display ripng 1 route

   Route Flags: A - Aging, S - Suppressed, G - Garbage-collect

 ----------------------------------------------------------------

 

 Peer FE80::20F:E2FF:FE00:1235  on Vlan-interface100

 Dest 1::/64,

     via FE80::20F:E2FF:FE00:1235, cost  1, tag 0, A, 2 Sec

 Dest 4::/64,

     via FE80::20F:E2FF:FE00:1235, cost  2, tag 0, A, 2 Sec

 Dest 5::/64,

     via FE80::20F:E2FF:FE00:1235, cost  2, tag 0, A, 2 Sec   

1.2.5  Complete Configuration

l           Configure Switch A.

#

 ipv6

#

vlan 100

#

vlan 400

#

interface Vlan-interface100

 ipv6 address 1::1/64

 ripng 1 enable

#

interface Vlan-interface400

 ipv6 address 2::1/64

 ripng 1 enable

#

ripng 1

#

l           Configure Switch B.

#

 ipv6

#

vlan 100

#

vlan 200

#

acl ipv6 number 2000

 rule 0 deny source 3::/64

 rule 5 permit

#

interface Vlan-interface100

 ipv6 address 1::2/64

 ripng 1 enable

#

interface Vlan-interface200

 ipv6 address 3::1/64

 ripng 1 enable

#

ripng 1

 filter-policy 2000 import

 filter-policy 2000 export

#

l           Configure Switch C.

#

 ipv6

#

vlan 200

#

vlan 500

#

vlan 600

#

interface Vlan-interface200

 ipv6 address 3::2/64

 ripng 1 enable

#

interface Vlan-interface500

 ipv6 address 5::1/64

 ripng 1 enable

#

interface Vlan-interface600

 ipv6 address 4::1/64

 ripng 1 enable

#

ripng 1

#

1.2.6  Configuration Guidelines

If RIPng is not enabled on an interface, the interface will not send and receive any RIPng route.

1.3  Configuring RIPng Route Redistribution

1.3.1  Network Diagram

Figure 1-3 Network diagram for RIPng route redistribution

1.3.2  Networking and Configuration Requirements

As shown in Figure 1-3, two RIPng processes are running on Switch B, which communicates with Switch A through RIPng 100 and with Switch C through RIPng 200.

Configure route redistribution on Switch B, letting the two RIPng processes redistribute routes from each other. Set the default cost of redistributed routes from RIPng 200 to 3.

1.3.3  Applicable Product Matrix

Product series

Software version

Hardware version

S3610 Series Ethernet Switches

Release 5301

All versions

S5510 Series Ethernet Switches

Release 5301

All versions

S7500E Series Ethernet Switches

Release 6100

All versions

 

1.3.4  Configuration Procedure

1)         Configure IPv6 addresses for the interfaces (omitted).

# Enable RIPng 100 on Switch A.

<SwitchA> system-view

[SwitchA] ripng 100

[SwitchA-ripng-100] quit

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] ripng 100 enable

[SwitchA-Vlan-interface100] quit

[SwitchA] interface vlan-interface 200

[SwitchA-Vlan-interface200] ripng 100 enable

# Enable RIP 100 and RIP 200 on Switch B.

<SwitchB> system-view

[SwitchB] ripng 100

[SwitchB-ripng-100] quit

[SwitchB] interface vlan-interface 100

[SwitchB-Vlan-interface100] ripng 100 enable

[SwitchB-Vlan-interface100] quit

[SwitchB] ripng 200

[SwitchB-ripng-200] quit

[SwitchB] interface vlan-interface 300

[SwitchA-Vlan-interface300] ripng 200 enable

# Enable RIPng 200 on Switch C.

<SwitchC> system-view

[SwitchC] ripng 200

[SwitchC] interface vlan-interface 300

[SwitchC-Vlan-interface300] ripng 200 enable

[SwitchC-Vlan-interface300] quit

[SwitchC] interface vlan-interface 400

[SwitchC-Vlan-interface400] ripng 200 enable

[SwitchC-Vlan-interface400] quit

# # Display the IPv6 routing table of Switch A.

[SwitchA] display ipv6 routing-table

Routing Table :

         Destinations : 6        Routes : 6

 

Destination: ::1/128                                     Protocol  : Direct

NextHop    : ::1                                         Preference: 0

Interface  : InLoop0                                     Cost      : 0

 

Destination: 1::/64                                      Protocol  : Direct

NextHop    : 1::1                                        Preference: 0

Interface  : Vlan100                                     Cost      : 0

 

Destination: 1::1/128                                    Protocol  : Direct

NextHop    : ::1                                         Preference: 0

Interface  : InLoop0                                     Cost      : 0

 

Destination: 2::/64                                      Protocol  : Direct

NextHop    : 2::1                                        Preference: 0

Interface  : Vlan200                                     Cost      : 0

 

Destination: 2::1/128                                    Protocol  : Direct

NextHop    : ::1                                         Preference: 0

Interface  : InLoop0                                     Cost      : 0

 

Destination: FE80::/10                                   Protocol  : Direct

NextHop    : ::                                          Preference: 0

Interface  : NULL0                                       Cost      : 0

2)         Configure RIPng route redistribution.

# Configure route redistribution between the two RIPng processes on Switch B.

[SwitchB] ripng 100

[SwitchB-ripng-100] default cost 3

[SwitchB-ripng-100] import-route ripng 200

[SwitchB-ripng-100] quit

[SwitchB] ripng 200

[SwitchB-ripng-200] import-route ripng 100

[SwitchB-ripng-200] quit

# Display the IPv6 routing table of Switch A.

[SwitchA] display ipv6 routing-table

Routing Table :

         Destinations : 7        Routes : 7

 

Destination: ::1/128                                     Protocol  : Direct

NextHop    : ::1                                         Preference: 0

Interface  : InLoop0                                     Cost      : 0

 

Destination: 1::/64                                      Protocol  : Direct

NextHop    : 1::1                                        Preference: 0

Interface  : Vlan100                                     Cost      : 0