The following configurations are performed on the MCE device. The configurations on the PE device are similar. For details, see the user manual of the PE device.
Perform the following configurations on the MCE device.
Action |
Command |
Description |
---|---|---|
Enter the system view. |
system-view |
- |
Configure a IPv6 static route to the PE device. |
ipv6 route-static vpn-instance vpn-instance-name dest-ipv6-address prefix-length vpn-instance vpn-destination-name nexthop-ipv6-address [ preference preference | tag tag ] * [ description text ] |
- |
Action |
Command |
Description |
---|---|---|
Enter the system view. |
system-view |
- |
Create a RIPng process running between the MCE and PE devices and enter the RIPng view. |
ripng process-id vpn-instance vpn-instance-name |
A RIPng process can be bound to only one VPN instance. If a RIPng process is not bound to any VPN instance before it is started, this process becomes a public network process and can no longer be bound to a VPN instance. |
(Optional) Import VPN routes of the site into the RIPng routing table. |
import-route { { ripng | isis | ospfv3 } [ process-id ] | bgp [ permit-ibgp ] | unr | direct | static } [ [ cost cost | inherit-cost ] | route-policy route-policy-name ] * |
Perform this step if another routing protocol is running between the MCE device and VPN sites in the VPN instance. |
Return to system view. |
quit |
- |
Enter the view of the interface to which the VPN instance is bound. |
interface interface-type interface-number |
- |
Enable RIPng on the interface. |
ripng process-id enable |
- |
Perform the following configurations on the MCE device.
Action |
Command |
Description |
---|---|---|
Enter the system view. |
system-view |
- |
Create an OSPFv3 process running between the MCE and PE devices and enter the OSPFv3 view. |
ospfv3 [ process-id ] [ vpn-instance vpn-instance-name ] |
- |
Configure the OSPFv3 router ID. |
router-id router-id |
- |
(Optional) Import VPN routes of the site into the OSPF routing table. |
import-route { bgp [ permit-ibgp ] | unr | direct | ripng help-process-id | static | isis help-process-id | ospfv3 help-process-id } [ { cost cost | inherit-cost } | type type | tag tag | route-policy route-policy-name ]* |
Perform this step if another routing protocol is running between the MCE device and VPN sites in the VPN instance. |
Return to system view. |
quit |
- |
Enter the view of the interface to which the VPN instance is bound. |
interface interface-type interface-number |
- |
Enable OSPFv3 on the interface which the VPN instance is bound. |
ospfv3 process-id area area-id [ instance instance-id ] |
- |
Perform the following configurations on the MCE device.
Action |
Command |
Description |
---|---|---|
Enter the system view. |
system-view |
- |
Create an IS-IS process running between the MCE and PE devices and enter the IS-IS view. |
isis process-id vpn-instance vpn-instance-name |
An IS-IS process can be bound to only one VPN instance. If an IS-IS process is not bound to any VPN instance before it is started, this process becomes a public network process and can no longer be bound to a VPN instance. |
Set a network entity title (NET) for the IS-IS process. |
network-entity net |
A NET specifies the current IS-IS area address and the system ID of the switch. A maximum of three NETs can be configured for one process on each switch. |
Enable IPv6 for the IS-IS process. |
ipv6 enable [ topology { compatible [ enable-mt-spf ] | ipv6 | standard } ] |
- |
(Optional) Import VPN routes of the site into the IS-IS routing table. |
Use either of the following commands:
|
Perform this step if another routing protocol is running between the MCE device and VPN sites in the VPN instance. |
Return to system view. |
quit |
- |
Enter the view of the interface to which the VPN instance is bound. |
interface interface-type interface-number |
- |
Enable IS-IS IPv6 on the interface. |
isis ipv6 enable [ process-id ] |
- |
Action |
Command |
Description |
---|---|---|
Enter the system view. |
system-view |
- |
Enter the BGP view. |
bgp { as-number-plain | as-number-dot } |
- |
Enter the BGP-VPN instance IPv6 address family view. |
ipv6-family vpn-instance vpn-instance-name |
- |
Configure the PE device as the EBGP peer of the MCE device. |
peer ipv6-address as-number as-number |
- |
(Optional) Import VPN routes of the site into the BGP routing table. |
import-route protocol [ process-id ] [ med med | route-policy route-policy-name ] * |
Perform this step if another routing protocol is running between the MCE device and VPN sites in the VPN instance. |