stratumctl dhcp-option-sets
Manage DHCP option sets
stratumctl dhcp-option-sets [flags]Aliases: dhcp-options, dopt, dopts
Subcommands
Section titled “Subcommands”stratumctl dhcp-option-sets associate: Associate a DHCP option set with a VPC (–reset returns the VPC to defaults)stratumctl dhcp-option-sets create: Create an immutable DHCP option setstratumctl dhcp-option-sets delete: Delete a DHCP option set (must be unassociated)stratumctl dhcp-option-sets get: Describe a DHCP option setstratumctl dhcp-option-sets list: List DHCP option sets in a project
stratumctl dhcp-option-sets associate
Section titled “stratumctl dhcp-option-sets associate”Associate a DHCP option set with a VPC (–reset returns the VPC to defaults)
stratumctl dhcp-option-sets associate [<dopt-id>] [flags]Examples
Section titled “Examples”stratumctl dhcp-option-sets associate dopt-2k8m4x7q --project p-team-a --vpc vpc-9k2m4x7qstratumctl dhcp-option-sets associate --project p-team-a --vpc vpc-9k2m4x7q --reset| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) | |
--reset |
bool | false |
Reset the VPC to the built-in DHCP defaults |
--vpc |
string | VPC to associate (required) |
stratumctl dhcp-option-sets create
Section titled “stratumctl dhcp-option-sets create”Create an immutable DHCP option set
stratumctl dhcp-option-sets create [flags]Examples
Section titled “Examples”stratumctl dhcp-option-sets create --project p-team-a --name corp-dns --dns-servers 10.0.0.2,10.0.0.3 --domain-name corp.example.comstratumctl dhcp-option-sets create --project p-team-a --ntp-servers 10.0.0.10| Flag | Type | Default | Description |
|---|---|---|---|
--dns-servers |
stringSlice | DHCP option 6 (max 4; REPLACES the managed.3 resolver) | |
--domain-name |
string | DHCP option 15 search domain | |
--name |
string | Option set name (defaults to the generated ID) | |
--ntp-servers |
stringSlice | DHCP option 42 (max 4) | |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl dhcp-option-sets delete
Section titled “stratumctl dhcp-option-sets delete”Delete a DHCP option set (must be unassociated)
stratumctl dhcp-option-sets delete <dopt-id> [flags]Examples
Section titled “Examples”stratumctl dhcp-option-sets delete dopt-2k8m4x7q| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl dhcp-option-sets get
Section titled “stratumctl dhcp-option-sets get”Describe a DHCP option set
stratumctl dhcp-option-sets get <dopt-id> [flags]Examples
Section titled “Examples”stratumctl dhcp-option-sets get dopt-2k8m4x7qstratumctl dhcp-option-sets get dopt-2k8m4x7q --output json| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl dhcp-option-sets list
Section titled “stratumctl dhcp-option-sets list”List DHCP option sets in a project
stratumctl dhcp-option-sets list [flags]Examples
Section titled “Examples”stratumctl dhcp-option-sets liststratumctl dhcp-option-sets list --output json| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
