371
[SwitchC-GigabitEthernet1/0/3] undo ndp enable
[SwitchC-GigabitEthernet1/0/3] undo lldp enable
[SwitchC-GigabitEthernet1/0/3] port service-loopback group 1
[SwitchC-GigabitEthernet1/0/3] quit
# Create interface Tunnel 0 on Switch C, assign an IPv6 address and prefix length to this
interface, and reference service loopback group 1 on this interface.
[SwitchC] interface tunnel 0
[SwitchC-Tunnel0] ipv6 address 5001::2 64
[SwitchC-Tunnel0] service-loopback-group 1
# Specify the tunnel encapsulation mode as GRE over IPv6 for interface Tunnel 0 on Switch C,
and specify its source and destination addresses.
[SwitchC-Tunnel0] tunnel-protocol gre ipv6
[SwitchC-Tunnel0] source 3001::2
[SwitchC-Tunnel0] destination 2001::1
[SwitchC-Tunnel0] quit
3.
Configure OSPFv3:
# Configure OSPFv3 on Switch A.
[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 0
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ospfv3 1 area 0
[SwitchA-Vlan-interface101] quit
[SwitchA] interface tunnel 0
[SwitchA-Tunnel0] ospfv3 1 area 0
[SwitchA-Tunnel0] quit
# Configure OSPFv3 on Switch B.
<SwitchB> system-view
[SwitchB] ospfv3 1
[SwitchB-ospfv3-1] router-id 2.2.2.2
[SwitchB-ospfv3-1] quit
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] ospfv3 1 area 0
[SwitchB-Vlan-interface101] quit
[SwitchB] interface vlan-interface 102
[SwitchB-Vlan-interface102] ospfv3 1 area 0
[SwitchB-Vlan-interface102] quit
# Configure OSPFv3 on Switch C.
[SwitchC] ospfv3 1
[SwitchC-ospfv3-1] router-id 3.3.3.3
[SwitchC-ospfv3-1] quit
[SwitchC] interface vlan-interface 200
[SwitchC-Vlan-interface200] ospfv3 1 area 0
[SwitchC-Vlan-interface200] quit
[SwitchC] interface vlan-interface 102