Importing ASN

Import your ASN to OCI and use your existing ASN within the OCI environment.

    1. Confirm you're viewing the region and compartment you're interested in.
    2. Open the navigation menu and click Networking. Under IP management, click BYOASN.
    3. Click Import your ASN.
    4. On the Import your ASN page, enter a name for the ASN, select the compartment, and enter the ASN you intend to bring to your tenancy. Avoid entering confidential information.
    5. Click Import your ASN. The details page for that ASN import request appears.
    6. In the Next Steps section, make a copy of the validation token.
    7. Add the validation token to the RIR account information associated with your ASN. Each RIR uses a slightly different method:
      • ARIN: Add the token string in the "Public Comments" section associated with your address range.
      • RIPE NCC: Add the token string as a new "descr" field associated with your address range.
      • APNIC: Add the token string to the "remarks" field for your address range by emailing it to helpdesk@apnic.net. The email must be sent from the APNIC authorized contact account for the IP address range.
      Note

      The validation token must be associated with the ASN information. Don't add it to the information for the organization that owns the ASN.

      Note

      The BYOASN workflow takes up to 10 business days to complete, during which Oracle validates your ASN and IP Prefix combinations with service providers. To speed up the process, ensure to let your Oracle Account team know which IP prefix you plan to link to the ASN.

    8. Wait until the token registration is complete before you click the Finish import button.
    9. Return to the details page for the BYOASN request and click Finish import. A confirmation screen appears.
    10. Click Finish import, confirming that you would like to validate the BYOASN request. View the work requests to see the status.
      Note

      If you plan to advertise your IP Prefix using your own ASN, imported through BYOASN, you must create a Route Origin Authorization (ROA) with your RIR, using Oracle ASN (31898) and your own ASN. Set an expiry date at least 6 months in the future. Follow the instructions appropriate for your RIR:
  • Use the network byoasn create command and required parameters to import an ASN within the OCI environment:

    oci network byoasn create --asn ASN --compartment-id Compartment ID OCID --display-name ASN Display name

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreateByoasn operation to import an ASN.

    Run the ValidateByoasn operation to validate the imported ASN.