BGP 对等体¶
BGP 对等体创建¶
usage: neutron bgp-peer-create [-h]
[-f {html,json,json,shell,table,value,yaml,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--request-format {json}]
[--tenant-id TENANT_ID] --peer-ip
PEER_IP_ADDRESS --remote-as PEER_REMOTE_AS
[--auth-type PEER_AUTH_TYPE]
[--password AUTH_PASSWORD]
NAME
创建 BGP 对等体。
位置参数
NAME要创建的 BGP 对等体的名称
--peer-ip PEER_IP_ADDRESS对等体 IP 地址。
--remote-as PEER_REMOTE_AS对等体 AS 号。(允许的整数范围为 [1, 65535])
可选参数
-h, --help显示此帮助消息并退出
--auth-type PEER_AUTH_TYPE认证算法。支持的算法:none(默认), md5
--password AUTH_PASSWORD认证密码。
BGP 对等体列表¶
usage: neutron bgp-peer-list [-h]
[-f {csv,html,json,json,table,value,yaml,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--request-format {json}] [-D] [-F FIELD]
[-P SIZE] [--sort-key FIELD]
[--sort-dir {asc,desc}]
列出 BGP 对等体。
可选参数
-h, --help显示此帮助消息并退出
-D, --show-details显示详细信息。
-F FIELD, --field FIELD指定服务器返回的字段。可以重复此选项。
BGP 对等体显示¶
usage: neutron bgp-peer-show [-h]
[-f {html,json,json,shell,table,value,yaml,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--request-format {json}] [-D]
[-F FIELD]
BGP_PEER
显示给定 BGP 对等体的信息。
位置参数
BGP_PEER要查找的 BGP 对等体的 ID 或名称。
可选参数
-h, --help显示此帮助消息并退出
-D, --show-details显示详细信息。
-F FIELD, --field FIELD指定服务器返回的字段。可以重复此选项。
BGP 对等体删除¶
usage: neutron bgp-peer-delete [-h] [--request-format {json}] BGP_PEER
删除 BGP 对等体。
位置参数
BGP_PEER要删除的 BGP 对等体的 ID 或名称。
可选参数
-h, --help显示此帮助消息并退出
BGP 对等体更新¶
usage: neutron bgp-peer-update [-h] [--request-format {json}] [--name NAME]
[--password AUTH_PASSWORD]
BGP_PEER
更新 BGP 对等体的信息。
位置参数
BGP_PEER要更新的 BGP 对等体的 ID 或名称。
可选参数
-h, --help显示此帮助消息并退出
--name NAME更新后的 BGP 对等体名称。
--password AUTH_PASSWORD更新后的认证密码。
将对等体添加到 BGP 扬声器¶
usage: neutron bgp-speaker-peer-add [-h] [--request-format {json}]
BGP_SPEAKER BGP_PEER
将对等体添加到 BGP 扬声器。
位置参数
BGP_SPEAKERBGP 扬声器的 ID 或名称。
BGP_PEER要添加的 BGP 对等体的 ID 或名称。
可选参数
-h, --help显示此帮助消息并退出
从 BGP 扬声器删除对等体¶
usage: neutron bgp-speaker-peer-remove [-h] [--request-format {json}]
BGP_SPEAKER BGP_PEER
从 BGP 扬声器移除对等体。
位置参数
BGP_SPEAKERBGP 扬声器的 ID 或名称。
BGP_PEER要移除的 BGP 对等体的 ID 或名称。
可选参数
-h, --help显示此帮助消息并退出