
436
<PE1> system-view
[PE1] interface gigabitethernet 2/1/1.1
[PE1-GigabitEthernet2/1/1.1] vlan-type dot1q vid 10
[PE1-GigabitEthernet2/1/1.1] ipv6 address 2001:2::4 64
[PE1-GigabitEthernet2/1/1.1] quit
[PE1] interface gigabitethernet 2/1/1.2
[PE1-GigabitEthernet2/1/1.2] vlan-type dot1q vid 20
[PE1-GigabitEthernet2/1/1.2] ipv6 address 2002:2::4 64
[PE1-GigabitEthernet2/1/1.2] quit
# Enable IPv6 ISIS process 10 on the MCE, bind the process to VPN instance
vpn1
, and
redistribute the IPv6 static route of VPN 1.
[MCE] isis 10 vpn-instance vpn1
[MCE-isis-10] ipv6 enable
[MCE-isis-10] network 47.0001.0001.0002.00
[MCE-isis-10] import-route static
[MCE-isis-10] quit
# Enable IPv6 ISIS on interface GigabitEthernet 2/1/3.1.
[MCE] interface gigabitethernet 2/1/3.1
[MCE-GigabitEthernet2/1/3.1] isis ipv6 enable 10
[MCE-GigabitEthernet2/1/3.1] quit
# On PE 1, enable IPv6 ISIS process 10 and bind it to VPN instance
vpn1
.
[PE1] isis 10 vpn-instance vpn1
[PE1-isis-10] ipv6 enable
[PE1-isis-10] network 47.0001.0001.0003.00
[PE1-isis-10] quit
# Enable IPv6 ISIS on subinterface GigabitEthernet2/1/3.2.
[PE1-GigabitEthernet2/1/3.2] isis ipv6 enable 10
[PE1-GigabitEthernet2/1/3.2] quit
# On PE 1, display the routing table of VPN instance
vpn1
.
[PE1] display ipv6 routing-table vpn-instance vpn1
Routing Table :
Destinations : 5 Routes : 5
Destination: ::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 2001:2::/64 Protocol : Direct
NextHop : 2001:2::4 Preference: 0
Interface : GigabitEthernet2/1/1.1 Cost : 0
Destination: 2001:2::4/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 2012:1::/64 Protocol : ISISv6
NextHop : FE80::200:5EFF:FE01:1C05 Preference: 15
Interface : GigabitEthernet2/1/1.1 Cost : 10