Connecting a Fabric to an external network

NOTE:

You can only configure this connection using the HPE Composable Fabric Manager UI.

Prerequisites
  • Connect external devices such as router or switch to border switches.

    For example, port 1/1/56 from both border leaf switches are connected to an external switch on 1/0/31 and 1/0/32 interfaces.

  • Configure IP for the port and eBGP on the external devices.

    For example, the following IP addresses are used for point to point configuration between border leaf and external switches.

    XX.XX.XX.XX/30 Borderleaf-1 1/1/56 XX.XX.XX.XX/30 External switch port 1/0/31
    XX.XX.XX.XX/30 Borderleaf-2 1/1/56 XX.XX.XX.XX/30 External switch port 1/0/32
    AS 65002 AS 65199
  • Remove the port that is connected to the external switch/router from the default VPC and add that port to the VPC created by the customer.

Procedure
  1. Remove the Routed Port Interface (RPI) from the default VPC. These ports are connected to an external router or switch. For example, port 1/1/56 from both border leaf switches.
    1. In Composable Fabric Manager, select Configuration > Routing > Virtual Private Clouds.
    2. Open the IP Interfaces tab by doing one of the following:
      • Click the Expand icon next to desired VPC0 and select IP Interfaces.

      • Select the desired VPC0 and then select Actions > IP Interfaces.

    3. On the IP Interfaces tab, click the button next to the desired IP interface (that is, RPI for 1/1/56) to delete, then select Actions > Delete.
    4. In the confirmation pop-up box, click OK to delete the IP interface.
  2. Add RPI to the customer VPC (Master_Worker_Storage_zone) by configuring the IP address in the same subnet with the connected port of the external switch.
    1. In Composable Fabric Manager, select Configuration > Routing > Virtual Private Clouds.
    2. Open the IP Interfaces tab by doing one of the following:
      • Click the Expand icon next to the desired VPC (Master_Worker_Storage_zone) and select IP Interfaces.

      • Select the desired VPC (Master_Worker_Storage_zone) and then select Actions > IP Interfaces.

    3. On the IP Interfaces tab, select Actions > Add.

      The IP Interface wizard opens.

    4. On the Interface Type page, select the following IP interface options and VLANs and click Next:
      For borderleaf-1:
      1. Select Enable this IP Interface.

      2. Select Routed as the type.

      3. Select <Borderleaf1-Switch> as the switch.

      4. Select 1/1/56 as the Port/LAG.

      For borderleaf-2:
      1. Select Enable this IP Interface.

      2. Select Routed as the type.

      3. Select <Borderleaf2-Switch> as the switch.

      4. Select 1/1/56 as the Port/LAG.

    5. In the IPv4 Addresses Page, enter an optional Primary and Secondary Network Address with Primary IPv4 Network Address as <BorderLeaf1's interface>, and click Next.
    6. Verify the configured parameters and their values in the Summary page.
    7. Click Apply to save the IP interface.
  3. Repeat Step 1 and Step 2 for the other borderleaf switch.
  4. Add a BGP neighbor configuration for an exterior BGP neighbor.
    1. In Composable Fabric Manager, select Configuration > Routing > BGP.
    2. Click the Expand icon to the left of VPC (Master_Worker_Storage_zone) and select Switches.

      The Switches tab opens.

    3. For a switch, click the Expand icon to the left of the BGP switch configuration and select Neighbors.

      The BGP Neighbors tab opens, listing the current BGP neighbor configurations.

    4. Add a new BGP switch neighbor configuration, select Actions > Add.
    5. In the BGP Switch Neighbor Configuration wizard, specify the following BGP neighbor settings and click Next.
    6. Enter a name and description for the exterior BGP neighbor and click Next.
    7. Verify the configured parameters and their values in the Summary page.
      For example, the summary for Borderleaf-1:
      Name - 5950-1/0/31
      AS Number - 65199
      IP Address - XX.XX.XX.XX
      Enable Admin State 
      
      The summary for Borderleaf-2:
      Name - 5950-1/0/32
      AS Number - 65199
      IP Address - XX.XX.XX.XX
      Enable Admin State
    8. Click Apply to save the BGP neighbor configuration.
  5. Repeat Step 4 for the other borderleaf switch.
  6. Configure BGP on the external switch.
    1. Configure IP interface on the connected interface of the border leaf switch.

      In this example, 1/0/31 and 1/0/32 are connected with the border leaf switches.

      interface HundredGigE1/0/31
       port link-mode route 
       ip address XX.XX.XX.XX XX.XX.XX.XX
      #
      interface HundredGigE1/0/32
       port link-mode route 
       ip address XX.XX.XX.XX XX.XX.XX.XX
      #
    2. Configure BGP.
      bgp 65199
       router-id XX.XX.XX.XX
       peer XX.XX.XX.XX as-number 65002
       peer XX.XX.XX.XX as-number 65002
       #
       address-family ipv4 unicast
        balance 4
        import-route direct
        import-route static
        network 0.0.0.0 0.0.0.0
        peer XX.XX.XX.XX enable
        peer XX.XX.XX.XX enable