[SwitchC] interface vlan-interface 300
[SwitchC-Vlan-interface300] ospfv3 2 area 2
[SwitchC-Vlan-interface300] quit
[SwitchC] interface vlan-interface 400
[SwitchC-Vlan-interface400] ospfv3 2 area 2
[SwitchC-Vlan-interface400] quit
# Display the routing table of Switch C.
[SwitchC] display ipv6 routing-table
Routing Table :
Destinations : 6
Destination: ::1/128
NextHop
: ::1
Interface
: InLoop0
Destination: 3::/64
NextHop
: 3::2
Interface
: Vlan300
Destination: 3::2/128
NextHop
: ::1
Interface
: InLoop0
Destination: 4::/64
NextHop
: 4::1
Interface
: Vlan400
Destination: 4::1/128
NextHop
: ::1
Interface
: InLoop0
Destination: FE80::/10
NextHop
: ::
Interface
: NULL0
Configure OSPFv3 route redistribution:
3.
# Configure OSPFv3 process 2 to redistribute direct routes and the routes from OSPFv3 process 1
on Switch B.
[SwitchB] ospfv3 2
[SwitchB-ospfv3-2] default cost 3
[SwitchB-ospfv3-2] import-route ospfv3 1
[SwitchB-ospfv3-2] import-route direct
[SwitchB-ospfv3-2] quit
# Display the routing table of Switch C.
[SwitchC] display ipv6 routing-table
Routing Table :
Destinations : 8
Destination: ::1/128
Routes : 6
Routes : 8
299
Protocol
: Direct
Preference: 0
Cost
: 0
Protocol
: Direct
Preference: 0
Cost
: 0
Protocol
: Direct
Preference: 0
Cost
: 0
Protocol
: Direct
Preference: 0
Cost
: 0
Protocol
: Direct
Preference: 0
Cost
: 0
Protocol
: Direct
Preference: 0
Cost
: 0
Protocol
: Direct