beautypg.com

Configuring ospfv3 route redistribution, Network requirements, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 319

background image

9-24

Configuring OSPFv3 Route Redistribution

Network requirements

z

Switch A, Switch B, and Switch C are in Area 2.

z

OSPFv3 process 1 and OSPFv3 process 2 are enabled on Switch B. Switch B communicates with

Switch A and Switch C through OSPFv3 process 1 and OSPFv3 process 2 respectively.

z

Configure OSPFv3 process 2 to redistribute direct routes and the routes from OSPFv3 process 1

on Switch B and set the default metric for redistributed routes to 3. Thus, Switch C can learn the

routes destined for 1::0/64 and 2::0/64, while Switch A cannot learn the routes destined for 3::0/64

or 4::0/64.

Figure 9-4 Network diagram for OSPFv3 route redistribution

Configuration procedure

1) Configure IPv6 addresses for interfaces (omitted)

2) Configure OSPFv3 basic functions

# Enable OSPFv3 process 1 on Switch A.

system-view

[SwitchA] ipv6

[SwitchA] ospfv3 1

[SwitchA-ospfv3-1] router-id 1.1.1.1

[SwitchA-ospfv3-1] quit

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] ospfv3 1 area 2

[SwitchA-Vlan-interface100] quit

[SwitchA] interface vlan-interface 200

[SwitchA-Vlan-interface200] ospfv3 1 area 2

[SwitchA-Vlan-interface200] quit

# Enable OSPFv3 process 1 and OSPFv3 process 2 on Switch B.

system-view

[SwitchB] ipv6

[SwitchB] ospfv3 1

[SwitchB-ospfv3-1] router-id 2.2.2.2

[SwitchB-ospfv3-1] quit

[SwitchB] interface vlan-interface 100

[SwitchB-Vlan-interface100] ospfv3 1 area 2

[SwitchB-Vlan-interface100] quit

[SwitchB] ospfv3 2

[SwitchB-ospfv3-2] router-id 3.3.3.3