https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/ec2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/ec2/create-dhcp-options.rst
**To create a set of DHCP options**

The following ``create-dhcp-options`` example creates a set of DHCP options that specifies the domain name, the domain name servers, and the NetBIOS node type. ::

    aws ec2 create-dhcp-options \
        --dhcp-configuration \
            "Key=domain-name-servers,Values=10.2.5.1,10.2.5.2" \
            "Key=domain-name,Values=example.com" \
            "Key=netbios-node-type,Values=2"

Output::

    {
        "DhcpOptions": {
            "DhcpConfigurations": [
                {
                    "Key": "domain-name",
                    "Values": [
                        {
                            "Value": "example.com"
                        }
                    ]
                },
                {
                    "Key": "domain-name-servers",
                    "Values": [
                        {
                            "Value": "10.2.5.1"
                        },
                        {
                            "Value": "10.2.5.2"
                        }
                    ]
                },
                {
                    "Key": "netbios-node-type",
                    "Values": [
                        {
                            "Value": "2"
                        }
                    ]
                }
            ],
            "DhcpOptionsId": "dopt-06d52773eff4c55f3"
        }
    }

https://t.me/RX1948 - 2025