Skip to content

CLI Reference

The pan-scm-cli command-line interface is organized into a logical structure that makes it easy to manage resources in Strata Cloud Manager.

Command Structure

All commands follow this pattern:

scm-cli <action> <resource-type> <resource> [options]

Where:

  • <action>: The operation to perform (set, delete, load)
  • <resource-type>: Category of resource (objects, deployment, network, security)
  • <resource>: Specific resource type (address, address-group, zone, etc.)
  • [options]: Resource-specific parameters and global options

Available Commands

Objects

Commands for managing configuration objects:

Command Description
scm-cli set objects address Create or update an address object
scm-cli delete objects address Delete an address object
scm-cli load objects address Bulk import address objects from YAML
scm-cli set objects address-group Create or update an address group
scm-cli delete objects address-group Delete an address group
scm-cli load objects address-group Bulk import address groups from YAML

Security

Commands for managing security policies:

Command Description
scm-cli set security rule Create or update a security rule
scm-cli delete security rule Delete a security rule
scm-cli load security rule Bulk import security rules from YAML
scm-cli set security rule --move Move a security rule position

Network

Commands for managing network configurations:

Command Description
scm-cli set network security-zone Create or update a security zone
scm-cli delete network security-zone Delete a security zone
scm-cli load network security-zone Bulk import security zones from YAML

Deployment

Commands for managing deployment configurations:

Command Description
scm-cli set deployment bandwidth Create or update bandwidth allocation
scm-cli delete deployment bandwidth Delete a bandwidth allocation
scm-cli load deployment bandwidth Bulk import bandwidth allocations from YAML
scm-cli set deployment bandwidth --assign Assign bandwidth allocation to SPNs

Global Options

Options that apply to all commands:

Option Description
--help Show help message for any command
--version Show the CLI version information
--verbose Enable verbose output for additional details
--mock Run in mock mode (no actual API connections)

Working with the CLI

For more detailed examples and use cases, refer to the specific command documentation linked above or see the Getting Started guide.