Skip to main content

Forwarding Profile Destination

Forwarding profile destinations define FQDN and IP address targets that GlobalProtect forwarding rules match against in Strata Cloud Manager. The scm CLI provides commands to create, update, delete, show, backup, and load destinations.

Overview

The forwarding-profile-destination commands allow you to:

  • Create destinations with FQDN entries (wildcards supported) and IP address entries (wildcards and CIDR supported)
  • Update existing destination configurations
  • Delete destinations by name or UUID
  • Show a destination by name or UUID, or list all destinations
  • Bulk import destinations from YAML files
  • Export destinations for backup or migration
note

Destinations only support the Mobile Users folder. The API addresses individual destinations by UUID; the CLI resolves the NAME argument to the UUID for you, or you can pass --id directly.

Entry Formats

EntryFormatExamples
FQDNhost or host:port; wildcards allowedapp.internal, *.example.com:8080
IP addressip, ip/prefix, or ip:port; wildcards allowed10.0.0.0/8, 192.168.1.1:443, 10.*.*.*

Ports must be between 1 and 65535.

Set Forwarding Profile Destination

Create or update a destination.

Syntax

scm set mobile-agent forwarding-profile-destination NAME [OPTIONS]

Arguments

ArgumentDescriptionRequired
NAMEName of the destinationYes

Options

OptionDescriptionRequired
--folder TEXTFolder location (must be Mobile Users)Yes
--description TEXTDescriptionNo
--fqdn TEXTFQDN entry as host[:port] (repeatable)No
--ip-address TEXTIP entry as ip[/prefix][:port] (repeatable)No

Examples

$ scm set mobile-agent forwarding-profile-destination "internal-apps" \
--folder "Mobile Users" \
--fqdn "*.example.com:8080" \
--fqdn "app.internal" \
--ip-address "10.0.0.0/8"
Created forwarding profile destination: internal-apps

Show Forwarding Profile Destination

Display destinations.

Syntax

scm show mobile-agent forwarding-profile-destination [NAME] [OPTIONS]

Arguments

ArgumentDescriptionRequired
NAMEName of the destination to show; omit to list allNo

Options

OptionDescriptionRequired
--folder TEXTFolder locationNo (defaults to Mobile Users)
--id TEXTUUID of the destination to showNo
--output, -o [table|json|yaml]Output format (default: table)No
--max-results INTEGERMaximum number of results to displayNo

Examples

# List all destinations
$ scm show mobile-agent forwarding-profile-destination --folder "Mobile Users"

# Show by name
$ scm show mobile-agent forwarding-profile-destination "internal-apps" --folder "Mobile Users"

# Show by UUID
$ scm show mobile-agent forwarding-profile-destination --id "123e4567-e89b-12d3-a456-426655440000"

Delete Forwarding Profile Destination

Delete a destination by name or UUID.

Syntax

scm delete mobile-agent forwarding-profile-destination [NAME] [OPTIONS]

Arguments

ArgumentDescriptionRequired
NAMEName of the destination to delete (omit when using --id)No

Options

OptionDescriptionRequired
--folder TEXTFolder locationNo (defaults to Mobile Users)
--id TEXTUUID of the destination to deleteNo
--forceSkip confirmation promptNo

Examples

$ scm delete mobile-agent forwarding-profile-destination "internal-apps" --folder "Mobile Users" --force
Deleted forwarding profile destination: internal-apps

Load Forwarding Profile Destination

Bulk import destinations from a YAML file.

Syntax

scm load mobile-agent forwarding-profile-destination --file FILE [OPTIONS]

Options

OptionDescriptionRequired
--file PATHYAML file to load fromYes
--dry-runPreview without applyingNo
--folder TEXTOverride folder for all objectsNo

YAML Format

forwarding_profile_destinations:
- name: internal-apps
folder: "Mobile Users"
description: Internal applications
fqdn:
- name: app.internal
port: 443
- name: "*.example.com"
- name: corp-ranges
folder: "Mobile Users"
ip_addresses:
- name: 10.0.0.0/8
- name: 192.168.1.1
port: 443

Backup Forwarding Profile Destination

Export all destinations in a folder to a YAML file (re-loadable via scm load).

Syntax

scm backup mobile-agent forwarding-profile-destination [OPTIONS]

Options

OptionDescriptionRequired
--folder TEXTFolder to backup fromNo (defaults to Mobile Users)
--file PATHOutput file (defaults to forwarding-profile-destination-{folder}.yaml)No

Examples

$ scm backup mobile-agent forwarding-profile-destination --folder "Mobile Users"
Successfully backed up 2 forwarding profile destinations to forwarding-profile-destination-mobile-users.yaml