Este contenido no está disponible en el idioma seleccionado.
Chapter 10. bgp
This chapter describes the commands under the bgp
command.
10.1. bgp dragent add speaker Copiar enlaceEnlace copiado en el portapapeles!
Add a BGP speaker to a dynamic routing agent
Usage:
openstack bgp dragent add speaker [-h] <agent-id> <bgp-speaker>
openstack bgp dragent add speaker [-h] <agent-id> <bgp-speaker>
Value | Summary |
---|---|
<agent-id> | Id of the dynamic routing agent |
<bgp-speaker> | Id or name of the bgp speaker |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
10.2. bgp dragent remove speaker Copiar enlaceEnlace copiado en el portapapeles!
Removes a BGP speaker from a dynamic routing agent
Usage:
openstack bgp dragent remove speaker [-h] <agent-id> <bgp-speaker>
openstack bgp dragent remove speaker [-h] <agent-id> <bgp-speaker>
Value | Summary |
---|---|
<agent-id> | Id of the dynamic routing agent |
<bgp-speaker> | Id or name of the bgp speaker |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
10.3. bgp peer create Copiar enlaceEnlace copiado en el portapapeles!
Create a BGP peer
Usage:
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
Value | Summary |
---|---|
<name> | Name of the bgp peer to create |
Value | Summary |
---|---|
output formatter options-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--remote-as <peer-remote-as> | Peer as number. (integer in [1, 65535] is allowed) |
--auth-type <peer-auth-type> | Authentication algorithm. supported algorithms: none (default), md5 |
--peer-ip <peer-ip-address> | Peer ip address |
--project-domain <project-domain> | Domain the project belongs to (name or id). this can be used in case collisions between project names exist. |
--password <auth-password> | Authentication password |
-h, --help | Show this help message and exit |
--project <project> | Owner’s project (name or id) |
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
10.4. bgp peer delete Copiar enlaceEnlace copiado en el portapapeles!
Delete a BGP peer
Usage:
openstack bgp peer delete [-h] <bgp-peer>
openstack bgp peer delete [-h] <bgp-peer>
Value | Summary |
---|---|
<bgp-peer> | Bgp peer to delete (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
10.5. bgp peer list Copiar enlaceEnlace copiado en el portapapeles!
List BGP peers
Usage:
openstack bgp peer list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--sort-column SORT_COLUMN]
openstack bgp peer list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--fit-width] [--print-empty] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--sort-column SORT_COLUMN]
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Value | Summary |
---|---|
output formatter options-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
--sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
10.6. bgp peer set Copiar enlaceEnlace copiado en el portapapeles!
Update a BGP peer
Usage:
openstack bgp peer set [-h] [--name NAME] [--password <auth-password>] <bgp-peer>
openstack bgp peer set [-h] [--name NAME] [--password <auth-password>]
<bgp-peer>
Value | Summary |
---|---|
<bgp-peer> | Bgp peer to update (name or id) |
Value | Summary |
---|---|
--password <auth-password> | Updated authentication password |
-h, --help | Show this help message and exit |
--name NAME | Updated name of the bgp peer |
10.7. bgp peer show Copiar enlaceEnlace copiado en el portapapeles!
Show information for a BGP peer
Usage:
openstack bgp peer show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] <bgp-peer>
openstack bgp peer show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--fit-width] [--print-empty] [--noindent]
[--prefix PREFIX]
<bgp-peer>
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
Value | Summary |
---|---|
<bgp-peer> | Bgp peer to display (name or id) |
Value | Summary |
---|---|
output formatter options-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
10.8. bgp speaker add network Copiar enlaceEnlace copiado en el portapapeles!
Add a network to a BGP speaker
Usage:
openstack bgp speaker add network [-h] <bgp-speaker> <network>
openstack bgp speaker add network [-h] <bgp-speaker> <network>
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker (name or id) |
<network> | Network to add (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
10.9. bgp speaker add peer Copiar enlaceEnlace copiado en el portapapeles!
Add a peer to a BGP speaker
Usage:
openstack bgp speaker add peer [-h] <bgp-speaker> <bgp-peer>
openstack bgp speaker add peer [-h] <bgp-speaker> <bgp-peer>
Value | Summary |
---|---|
<bgp-peer> | Bgp peer to add (name or id) |
<bgp-speaker> | Bgp speaker (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
10.10. bgp speaker create Copiar enlaceEnlace copiado en el portapapeles!
Create a BGP speaker
Usage:
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
Value | Summary |
---|---|
<name> | Name of the bgp speaker to create |
Value | Summary |
---|---|
output formatter options-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--no-advertise-floating-ip-host-routes | Disable the advertisement of floating ip host routes by the BGP speaker. |
--project-domain <project-domain> | Domain the project belongs to (name or id). this can be used in case collisions between project names exist. |
--no-advertise-tenant-networks | Disable the advertisement of tenant network routes by the BGP speaker. |
--ip-version {4,6} | Ip version for the bgp speaker (default is 4) |
--advertise-floating-ip-host-routes | Enable the advertisement of floating ip host routes by the BGP speaker. (default) |
--local-as <local-as> | Local as number. (integer in [1, 65535] is allowed.) |
--advertise-tenant-networks | Enable the advertisement of tenant network routes by the BGP speaker. (default) |
-h, --help | Show this help message and exit |
--project <project> | Owner’s project (name or id) |
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
10.11. bgp speaker delete Copiar enlaceEnlace copiado en el portapapeles!
Delete a BGP speaker
Usage:
openstack bgp speaker delete [-h] <bgp-speaker>
openstack bgp speaker delete [-h] <bgp-speaker>
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker to delete (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
10.12. bgp speaker list advertised routes Copiar enlaceEnlace copiado en el portapapeles!
List routes advertised
Usage:
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker (name or id) |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Value | Summary |
---|---|
output formatter options-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
--sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
10.13. bgp speaker list Copiar enlaceEnlace copiado en el portapapeles!
List BGP speakers
Usage:
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Value | Summary |
---|---|
output formatter options-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
--sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--agent <agent-id> | List bgp speakers hosted by an agent (id only) |
10.14. bgp speaker remove network Copiar enlaceEnlace copiado en el portapapeles!
Remove a network from a BGP speaker
Usage:
openstack bgp speaker remove network [-h] <bgp-speaker> <network>
openstack bgp speaker remove network [-h] <bgp-speaker> <network>
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker (name or id) |
<network> | Network to remove (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
10.15. bgp speaker remove peer Copiar enlaceEnlace copiado en el portapapeles!
Remove a peer from a BGP speaker
Usage:
openstack bgp speaker remove peer [-h] <bgp-speaker> <bgp-peer>
openstack bgp speaker remove peer [-h] <bgp-speaker> <bgp-peer>
Value | Summary |
---|---|
<bgp-peer> | Bgp peer to remove (name or id) |
<bgp-speaker> | Bgp speaker (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
10.16. bgp speaker set Copiar enlaceEnlace copiado en el portapapeles!
Set BGP speaker properties
Usage:
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker to update (name or id) |
Value | Summary |
---|---|
--no-advertise-floating-ip-host-routes | Disable the advertisement of floating ip host routes by the BGP speaker. |
--no-advertise-tenant-networks | Disable the advertisement of tenant network routes by the BGP speaker. |
--advertise-floating-ip-host-routes | Enable the advertisement of floating ip host routes by the BGP speaker. (default) |
--name NAME | Name of the bgp speaker to update |
--advertise-tenant-networks | Enable the advertisement of tenant network routes by the BGP speaker. (default) |
-h, --help | Show this help message and exit |
10.17. bgp speaker show dragents Copiar enlaceEnlace copiado en el portapapeles!
List dynamic routing agents hosting a BGP speaker
Usage:
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
Value | Summary |
---|---|
<bgp-speaker> | Id or name of the bgp speaker |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Value | Summary |
---|---|
output formatter options-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
--sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
10.18. bgp speaker show Copiar enlaceEnlace copiado en el portapapeles!
Show a BGP speaker
Usage:
openstack bgp speaker show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] <bgp-speaker>
openstack bgp speaker show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--fit-width] [--print-empty] [--noindent]
[--prefix PREFIX]
<bgp-speaker>
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker to display (name or id) |
Value | Summary |
---|---|
output formatter options-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |