このコンテンツは選択した言語では利用できません。

8.50. neutron firewall-rule-create


usage: neutron firewall-rule-create [-h] [-f {json,shell,table,value,yaml}]
                                    [-c COLUMN] [--max-width <integer>]
                                    [--noindent] [--prefix PREFIX]
                                    [--request-format {json}]
                                    [--tenant-id TENANT_ID] [--shared]
                                    [--name NAME] [--description DESCRIPTION]
                                    [--source-ip-address SOURCE_IP_ADDRESS]
                                    [--destination-ip-address DESTINATION_IP_ADDRESS]
                                    [--source-port SOURCE_PORT]
                                    [--destination-port DESTINATION_PORT]
                                    [--enabled {True,False}] --protocol
                                    {tcp,udp,icmp,any} --action
                                    {allow,deny,reject} [--ip-version {4,6}]
Copy to Clipboard Toggle word wrap
Create a firewall rule.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--tenant-id TENANT_ID


      The owner tenant ID.

--shared


        Set shared flag for the firewall rule.

--name NAME


        Name for the firewall rule.

--description DESCRIPTION


      Description for the firewall rule.

--source-ip-address SOURCE_IP_ADDRESS


      Source IP address or subnet.

--destination-ip-address DESTINATION_IP_ADDRESS


      Destination IP address or subnet.

--source-port SOURCE_PORT


      Source port (integer in [1, 65535] or range in a:b).

--destination-port DESTINATION_PORT


      Destination port (integer in [1, 65535] or range in
      a:b).

--enabled {True,False}


      Whether to enable or disable this rule.

--protocol {tcp,udp,icmp,any}


      Protocol for the firewall rule.

--action {allow,deny,reject}


      Action for the firewall rule.

--ip-version {4,6} IP


        version for the firewall rule (default is 4).

トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat