H3C Technologies H3C S6800 Series Switches User Manual

Page 43

Advertising
background image

36

[MCE-Vlan-interface20] ospfv3 30 area 0.0.0.0

[MCE-Vlan-interface20] quit

# On VR 2, assign IPv6 address 2002:1::2/64 to the interface connected to the MCE,

2012::2/64 to the interface connected to VPN 2, and 102.102.10.1 to Loopback 0. (Details not
shown.)
# Enable OSPFv3 process 30, and enable OSPFv3 on VLAN-interface 20 and VLAN-interface 21.

<VR2> system-view

[VR2] ospfv3 30

[MCE-ospfv3-30] router-id 102.102.10.1

[VR2-ospfv3-30] quit

[VR2] interface vlan-interface 20

[VR2-Vlan-interface20] ospfv3 30 area 0.0.0.0

[VR2-Vlan-interface20] quit

[VR2] interface vlan-interface 21

[VR2-Vlan-interface21] ospfv3 30 area 0.0.0.0

[VR2-Vlan-interface21] quit

# On the MCE, display the routing table of VPN instance vpn1.

[MCE] display ipv6 routing-table vpn-instance vpn1

Destinations : 6 Routes : 6

Destination: ::1/128 Protocol : Direct

NextHop : ::1 Preference: 0

Interface : InLoop0 Cost : 0

Destination: 2001:1::/64 Protocol : Direct

NextHop : :: Preference: 0

Interface : Vlan10 Cost : 0

Destination: 2001:1::1/128 Protocol : Direct

NextHop : ::1 Preference: 0

Interface : InLoop0 Cost : 0

Destination: 2012:1::/64 Protocol : Static

NextHop : 2001:1::2 Preference: 60

Interface : Vlan10 Cost : 0

Destination: FE80::/10 Protocol : Direct

NextHop : :: Preference: 0

Interface : NULL0 Cost : 0

Destination: FF00::/8 Protocol : Direct

NextHop : :: Preference: 0

Interface : NULL0 Cost : 0

# On the MCE, display the routing table of VPN instance vpn2.

[MCE] display ipv6 routing-table vpn-instance vpn2

Destinations : 6 Routes : 6

Advertising