> ## Documentation Index
> Fetch the complete documentation index at: https://docs.megaport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating MVE Connections to Any Endpoint with Palo Alto VM-Series

> This help topic describes how to create a VXC from an MVE to Cloud Partners and integrate the connection with Palo Alto VM-Series.

export const Image = ({src, alt = '', caption, width, height, shadow}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Image -';
  if (typeof src !== 'string') {
    src = String(src);
  }
  if (!src || src === 'undefined') {
    console.error(`${errorPrefix} \`src\` is required — rendering an empty string instead`);
    return <></>;
  }
  const img = <img className={['mega-image-style', shadow ? 'shadow' : ''].join(' ')} src={src} alt={alt} width={width} height={height} style={{
    display: 'block'
  }} />;
  return caption ? <figure>
      {img}
      <figcaption style={{
    textAlign: 'center',
    width
  }}>{caption}</figcaption>
    </figure> : img;
};

This topic describes the general steps to configure and deploy a Megaport VXC connection in the Megaport Portal and integrate it with an MVE in Palo Alto VM-Series. The VXC can connect to a Cloud Service Provider, a Port, or an MCR.

#### Step 1 -- Create an MVE

* Create an MVE in the Megaport Portal.\
  For more information, see [Creating an MVE](/mve/palo-alto/creating-mve).
  The MVE needs to be in the active state.

#### Step 2 -- Create a VXC from the MVE

1. In the Megaport Portal, select the MVE created in Step 1.
2. Create a VXC to another MVE, a Port, or Cloud Service Provider.\
   For more information, see [Creating a VXC](/connections/overview#create_vxc).
   Ensure both ends of the connection are active and have BGP configured.
3. In the connection details, note the A-End VLAN.

#### Step 3 -- Collect these values for the connection

* MVE IP address
* MVE VLAN (A-End)
* MVE ASN
* Cloud/B-End IP address
* B-End ASN
* MD5 Password

#### Step 4 -- Create an interface in VM-Series

1. Log in to VM-Series.

2. Choose Network > Interfaces.

3. Click **Add Subinterface**.

4. Provide these details:
   * **Interface Name** -- Specify a meaningful name for the interface.
   * **Comment** -- Enter an alternate name.
   * **Tag** -- Specify the A-End inner VLAN value for the connection.
   * **Virtual Router** -- Select a virtual router to the interface, as required by your network.
   * **Type** -- Choose VLAN.

5. Select the **IPv4** tab.

6. Select **Static** as the Type.

7. Click **+Add** to add a new IP address.

8. Enter the IPv4 address and netmask for the MVE.

9. Click **OK**.

10. Click **Commit** in the top right corner.
    <Image src="/images/mve/palo-alto/pa-commit-btn.png" alt="Commit button" shadow={true} width={300} />

11. Review the changes and click **Commit**.
    <Image src="/images/mve/palo-alto/pa-commit.png" alt="Commit changes" shadow={true} width={500} />
    The new VLAN interface appears with your physical interface.

Next, you will create a security zone so the interface can route traffic.

**To create a security zone**

1. Select the `ethernet1/1.1010` subinterface.
2. Select New Zone from the Security Zone drop-down list.
3. Specify a name for the security zone.
   <Image src="/images/mve/palo-alto/sec-zone-connect-mves.png" alt="Security zone settings" shadow={true} width={500} />
4. Click **+Add** under Interfaces and add `ethernet1/1.1010` to the security zone.
5. Specify any additional details as required for your network security.
6. Select New Zone Protection Profile from the Zone Protection Profile drop-down list.
7. Specify any details as required for your network security. This example uses all the defaults.
   <Image src="/images/mve/palo-alto/zone-protect-profile-connecting.png" alt="Zone Protection profile" shadow={true} width={500} />
8. Click **OK**.
9. Click **OK** in the Layer3 Subinterface screen.
10. Click **Commit** in the top right corner.
    <Image src="/images/mve/palo-alto/pa-commit-btn.png" alt="Commit button" shadow={true} width={300} />
11. Review the changes and click **Commit**.
    <Image src="/images/mve/palo-alto/pa-commit.png" alt="Commit changes" shadow={true} width={500} />

#### Step 5 -- Configure BGP

**To create the BGP session**

1. In VM-Series, choose Network > Virtual Routers.
2. Select the virtual router.
   <Image src="/images/cloud/mve/palo-alto/aws/select-virtual-router.png" alt="Select virtual router" shadow={true} width={900} />
3. In the left pane, select BGP.
4. Provide the following BGP details:
   * **Enable** -- Select this check box to start the BGP session after committing these changes.
   * **Router ID** -- Enter the B-End IP address (cloud provider, port, or other MVE).
   * **AS Number** -- Provide the ASN for the MVE connection.
   <Image src="/images/cloud/mve/palo-alto/bgp-details.png" alt="BGP details" shadow={true} width={600} />
5. Click **+Add** under Auth Profiles.
6. Specify a Profile Name.
   <Image src="/images/cloud/mve/palo-alto/profile-name.png" alt="Profile name" shadow={true} width={500} />
7. Enter and confirm the auth password.
8. Click **OK**.
9. Select the **Peer Group** tab.
   <Image src="/images/cloud/mve/palo-alto/peer-group-tab.png" alt="Peer Group tab" shadow={true} width={500} />
10. Click **+Add** to add a peer group.
11. Specify a name for the peer group.
12. Specify eBGP as the session type.
13. Specify any additional details as required for your network.
14. Click **+Add** to add a new peer.
15. Specify the details for the peer:
    * **Name** -- Specify a name for the peer.
    * **Peer AS** -- Specify the B-End autonomous system number (ASN).
    * **Local Address** -- Select the proper subinterface and IP address from the drop-down list.
    * **Peer Address** -- Enter the B-End IPv4 address.
    <Image src="/images/cloud/mve/palo-alto/bgp-peer-group.png" alt="BGP Peer Group screen" shadow={true} width={400} />
16. Select the **Connection Options** tab.
    <Image src="/images/cloud/mve/palo-alto/aws/conn-options-tab.png" alt="Connection Options tab" shadow={true} width={400} />
17. Select the previously created Auth Profile.
18. Click **OK** in the Peer Group - Peer screen.
19. Click **OK** in the BGP - Peer Group/Peer screen.
20. Click **OK** in the Virtual Router screen.
21. Click **Commit** in the top right corner.
22. Review the changes and click **Commit**.

#### Step 6 -- Validating your connection

**To check the connection status**

1. Choose Network > Virtual Routers.
2. Locate your virtual router (default).
3. Click **More Runtime Stats** in the Runtime Stats column on the right.
   <Image src="/images/cloud/mve/palo-alto/runtime-stats.png" alt="Runtime stats" shadow={true} width={1000} />
4. Select the **BGP** tab, and then select the **Peer** tab.
5. Verify that the peer status is *Established*.
   <Image src="/images/cloud/mve/palo-alto/aws/pa-established.png" alt="Established status" shadow={true} width={500} />
