mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed May 15 09:19:06 UTC 2024
This commit is contained in:
parent
e8259d86b1
commit
3b84182be4
193 changed files with 10091 additions and 581 deletions
|
|
@ -7,11 +7,14 @@ SYNOPSIS
|
|||
--peer-asn=PEER_ASN --peer-name=PEER_NAME
|
||||
[--advertised-route-priority=ADVERTISED_ROUTE_PRIORITY]
|
||||
[--advertisement-mode=MODE] [--async]
|
||||
[--custom-learned-route-priority=PRIORITY] [--[no-]enable-ipv6]
|
||||
[--[no-]enabled] [--instance=INSTANCE] [--instance-zone=INSTANCE_ZONE]
|
||||
[--custom-learned-route-priority=PRIORITY] [--[no-]enable-ipv4]
|
||||
[--[no-]enable-ipv6] [--[no-]enabled] [--instance=INSTANCE]
|
||||
[--instance-zone=INSTANCE_ZONE]
|
||||
[--ipv4-nexthop-address=IPV4_NEXTHOP_ADDRESS]
|
||||
[--ipv6-nexthop-address=IPV6_NEXTHOP_ADDRESS]
|
||||
[--md5-authentication-key=MD5_AUTHENTICATION_KEY]
|
||||
[--peer-ip-address=PEER_IP_ADDRESS]
|
||||
[--peer-ipv4-nexthop-address=PEER_IPV4_NEXTHOP_ADDRESS]
|
||||
[--peer-ipv6-nexthop-address=PEER_IPV6_NEXTHOP_ADDRESS]
|
||||
[--region=REGION] [--set-advertisement-groups=[GROUP,...]]
|
||||
[--set-advertisement-ranges=[CIDR_RANGE=DESC,...]]
|
||||
|
|
@ -66,6 +69,12 @@ OPTIONAL FLAGS
|
|||
Google-managed priority value of 100 is used. The routes with the
|
||||
lowest priority value win.
|
||||
|
||||
--[no-]enable-ipv4
|
||||
If IPv4 is enabled, the peer connection can be established with IPv4
|
||||
route exchange. If disabled, no IPv4 route exchange is allowed on any
|
||||
active session. By default enabled for IPv4-based BGP sessions. Use
|
||||
--enable-ipv4 to enable and --no-enable-ipv4 to disable.
|
||||
|
||||
--[no-]enable-ipv6
|
||||
If IPv6 is enabled, the peer connection can be established with IPv6
|
||||
route exchange. If disabled, no IPv6 route exchange is allowed on any
|
||||
|
|
@ -105,22 +114,37 @@ OPTIONAL FLAGS
|
|||
Alternatively, the zone can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_ZONE.
|
||||
|
||||
--ipv4-nexthop-address=IPV4_NEXTHOP_ADDRESS
|
||||
If IPv4 route exchange is enabled for IPv6-based BGP, the IPv4 next hop
|
||||
address of the Cloud Router interface for this BGP peer. Ignored
|
||||
otherwise. Must be a Google owned link-local IPv4 address in the range
|
||||
169.254.0.0/16 and must belong to the same subnet as the interface
|
||||
address of the peer router.
|
||||
|
||||
--ipv6-nexthop-address=IPV6_NEXTHOP_ADDRESS
|
||||
The IPv6 next hop address of the Cloud Router interface for this BGP
|
||||
peer. Must be a Google owned global unicast IPv6 address belonging to
|
||||
the range 2600:2d00:0:2:0:0:0:0/64 or 2600:2d00:0:3:0:0:0:0/64 and must
|
||||
belong to same subnet as the interface address of the peer router.
|
||||
If IPv6 route exchange is enabled for IPv4-based BGP, the IPv6 next hop
|
||||
address of the Cloud Router interface for this BGP peer. Ignored
|
||||
otherwise. Must be a Google owned global unicast IPv6 address belonging
|
||||
to the range 2600:2d00:0:2:0:0:0:0/64 or 2600:2d00:0:3:0:0:0:0/64 and
|
||||
must belong to same subnet as the interface address of the peer router.
|
||||
|
||||
--md5-authentication-key=MD5_AUTHENTICATION_KEY
|
||||
The MD5 authentication key for this BGP peer. Maximum length is 80
|
||||
characters. Can contain only printable ASCII characters.
|
||||
|
||||
--peer-ip-address=PEER_IP_ADDRESS
|
||||
The link-local address of the peer router. Must be a link-local IPv4
|
||||
address belonging to the range 169.254.0.0/16.
|
||||
The address of the peer router. Must be a link-local IPv4 address in
|
||||
the range 169.254.0.0/16 or an ULA IPv6 address in the range
|
||||
fdff:1::/64.
|
||||
|
||||
--peer-ipv4-nexthop-address=PEER_IPV4_NEXTHOP_ADDRESS
|
||||
If IPv4 route exchange is enabled for IPv6-based BGP, the IPv4 next hop
|
||||
address of the peer router. Ignored otherwise. Must be a Google owned
|
||||
link-local IPv4 address in the range 169.254.0.0/16.
|
||||
|
||||
--peer-ipv6-nexthop-address=PEER_IPV6_NEXTHOP_ADDRESS
|
||||
The IPv6 next hop address of the peer router. Must be a Google owned
|
||||
If IPv6 route exchange is enabled for IPv4-based BGP, the IPv6 next hop
|
||||
address of the peer router. Ignored otherwise. Must be a Google owned
|
||||
global unicast IPv6 address belonging to the range
|
||||
2600:2d00:0:2:0:0:0:0/64 or 2600:2d00:0:3:0:0:0:0/64.
|
||||
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ SYNOPSIS
|
|||
--interconnect-attachment-region=INTERCONNECT_ATTACHMENT_REGION
|
||||
| --subnetwork=SUBNETWORK --subnetwork-region=SUBNETWORK_REGION
|
||||
| --vpn-tunnel=VPN_TUNNEL --vpn-tunnel-region=VPN_TUNNEL_REGION)
|
||||
[--ip-address=IP_ADDRESS] [--mask-length=MASK_LENGTH]
|
||||
[--redundant-interface=REDUNDANT_INTERFACE] [--region=REGION]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
[--ip-address=IP_ADDRESS] [--ip-version=IP_VERSION]
|
||||
[--mask-length=MASK_LENGTH] [--redundant-interface=REDUNDANT_INTERFACE]
|
||||
[--region=REGION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
gcloud compute routers add-interface is used to add an interface to a
|
||||
|
|
@ -58,12 +58,22 @@ REQUIRED FLAGS
|
|||
|
||||
OPTIONAL FLAGS
|
||||
--ip-address=IP_ADDRESS
|
||||
The link local address of the router for this interface.
|
||||
The link local (IPv4) or ULA (IPv6) address of the router for this
|
||||
interface.
|
||||
|
||||
--ip-version=IP_VERSION
|
||||
IP version of the interface. Possible values are IPV4 and IPV6.
|
||||
Defaults to IPV4. IP_VERSION must be one of:
|
||||
|
||||
IPV4
|
||||
Interface with IPv4-based BGP.
|
||||
IPV6
|
||||
Interface with IPv6-based BGP.
|
||||
|
||||
--mask-length=MASK_LENGTH
|
||||
The subnet mask for the link-local IP range of the interface. The
|
||||
interface IP address and BGP peer IP address must be selected from the
|
||||
subnet defined by this link-local range.
|
||||
The subnet mask for the IP range of the interface. The interface IP
|
||||
address and BGP peer IP address must be selected from the subnet
|
||||
defined by this range.
|
||||
|
||||
--redundant-interface=REDUNDANT_INTERFACE
|
||||
The interface that is redundant to the current interface.
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud compute routers create NAME --network=NETWORK
|
||||
[--advertisement-mode=MODE] [--asn=ASN] [--async]
|
||||
[--bgp-identifier-range=BGP_IDENTIFIER_RANGE]
|
||||
[--description=DESCRIPTION] [--encrypted-interconnect-router]
|
||||
[--keepalive-interval=KEEPALIVE_INTERVAL] [--region=REGION]
|
||||
[--set-advertisement-groups=[GROUP,...]]
|
||||
|
|
@ -40,6 +41,13 @@ OPTIONAL FLAGS
|
|||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--bgp-identifier-range=BGP_IDENTIFIER_RANGE
|
||||
The range of valid BGP Identifiers for this Router. Must be a
|
||||
link-local IPv4 range from 169.254.0.0/16, of size at least /30, even
|
||||
if the BGP sessions are over IPv6. It must not overlap with any IPv4
|
||||
BGP session ranges. This is commonly called "router ID" by other
|
||||
vendors.
|
||||
|
||||
--description=DESCRIPTION
|
||||
An optional description of this router.
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud compute routers update NAME [--advertisement-mode=MODE] [--asn=ASN]
|
||||
[--async] [--keepalive-interval=KEEPALIVE_INTERVAL] [--region=REGION]
|
||||
[--async] [--bgp-identifier-range=BGP_IDENTIFIER_RANGE]
|
||||
[--keepalive-interval=KEEPALIVE_INTERVAL] [--region=REGION]
|
||||
[--set-advertisement-groups=[GROUP,...]]
|
||||
[--set-advertisement-ranges=[CIDR_RANGE=DESC,...]]
|
||||
[--add-advertisement-groups=[GROUP,...]
|
||||
|
|
@ -37,6 +38,13 @@ FLAGS
|
|||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--bgp-identifier-range=BGP_IDENTIFIER_RANGE
|
||||
The range of valid BGP Identifiers for this Router. Must be a
|
||||
link-local IPv4 range from 169.254.0.0/16, of size at least /30, even
|
||||
if the BGP sessions are over IPv6. It must not overlap with any IPv4
|
||||
BGP session ranges. This is commonly called "router ID" by other
|
||||
vendors.
|
||||
|
||||
--keepalive-interval=KEEPALIVE_INTERVAL
|
||||
The interval between BGP keepalive messages that are sent to the peer.
|
||||
If set, this value must be between 20 and 60 seconds. The default is 20
|
||||
|
|
|
|||
|
|
@ -6,11 +6,13 @@ SYNOPSIS
|
|||
gcloud compute routers update-bgp-peer NAME --peer-name=PEER_NAME
|
||||
[--advertised-route-priority=ADVERTISED_ROUTE_PRIORITY]
|
||||
[--advertisement-mode=MODE] [--async] [--clear-md5-authentication-key]
|
||||
[--custom-learned-route-priority=PRIORITY] [--[no-]enable-ipv6]
|
||||
[--[no-]enabled] [--interface=INTERFACE] [--ip-address=IP_ADDRESS]
|
||||
[--custom-learned-route-priority=PRIORITY] [--[no-]enable-ipv4]
|
||||
[--[no-]enable-ipv6] [--[no-]enabled] [--interface=INTERFACE]
|
||||
[--ip-address=IP_ADDRESS] [--ipv4-nexthop-address=IPV4_NEXTHOP_ADDRESS]
|
||||
[--ipv6-nexthop-address=IPV6_NEXTHOP_ADDRESS]
|
||||
[--md5-authentication-key=MD5_AUTHENTICATION_KEY] [--peer-asn=PEER_ASN]
|
||||
[--peer-ip-address=PEER_IP_ADDRESS]
|
||||
[--peer-ipv4-nexthop-address=PEER_IPV4_NEXTHOP_ADDRESS]
|
||||
[--peer-ipv6-nexthop-address=PEER_IPV6_NEXTHOP_ADDRESS]
|
||||
[--region=REGION] [--set-advertisement-groups=[GROUP,...]]
|
||||
[--set-advertisement-ranges=[CIDR_RANGE=DESC,...]]
|
||||
|
|
@ -67,6 +69,12 @@ OPTIONAL FLAGS
|
|||
Google-managed priority value of 100 is used. The routes with the
|
||||
lowest priority value win.
|
||||
|
||||
--[no-]enable-ipv4
|
||||
If IPv4 is enabled, the peer connection can be established with IPv4
|
||||
route exchange. If disabled, no IPv4 route exchange is allowed on any
|
||||
active session. Use --enable-ipv4 to enable and --no-enable-ipv4 to
|
||||
disable.
|
||||
|
||||
--[no-]enable-ipv6
|
||||
If IPv6 is enabled, the peer connection can be established with IPv6
|
||||
route exchange. If disabled, no IPv6 route exchange is allowed on any
|
||||
|
|
@ -83,16 +91,24 @@ OPTIONAL FLAGS
|
|||
The name of the interface for this BGP peer.
|
||||
|
||||
--ip-address=IP_ADDRESS
|
||||
The link-local address of the Cloud Router interface for this BGP peer.
|
||||
Must be a link-local IPv4 address belonging to the range 169.254.0.0/16
|
||||
and must belong to same subnet as the interface address of the peer
|
||||
router.
|
||||
The address of the Cloud Router interface for this BGP peer. Must be a
|
||||
link-local IPv4 address in the range 169.254.0.0/16 or an ULA IPv6
|
||||
address in the range fdff:1::/64. It must also be in the same subnet as
|
||||
the interface address of the peer router.
|
||||
|
||||
--ipv4-nexthop-address=IPV4_NEXTHOP_ADDRESS
|
||||
If IPv4 route exchange is enabled for IPv6-based BGP, the IPv4 next hop
|
||||
address of the Cloud Router interface for this BGP peer. Ignored
|
||||
otherwise. Must be a Google owned link-local IPv4 address in the range
|
||||
169.254.0.0/16 and must belong to the same subnet as the interface
|
||||
address of the peer router.
|
||||
|
||||
--ipv6-nexthop-address=IPV6_NEXTHOP_ADDRESS
|
||||
The IPv6 next hop address of the Cloud Router interface for this BGP
|
||||
peer. Must be a Google owned global unicast IPv6 address belonging to
|
||||
the range 2600:2d00:0:2:0:0:0:0/64 or 2600:2d00:0:3:0:0:0:0/64 and must
|
||||
belong to same subnet as the interface address of the peer router.
|
||||
If IPv6 route exchange is enabled for IPv4-based BGP, the IPv6 next hop
|
||||
address of the Cloud Router interface for this BGP peer. Ignored
|
||||
otherwise. Must be a Google owned global unicast IPv6 address belonging
|
||||
to the range 2600:2d00:0:2:0:0:0:0/64 or 2600:2d00:0:3:0:0:0:0/64 and
|
||||
must belong to same subnet as the interface address of the peer router.
|
||||
|
||||
--md5-authentication-key=MD5_AUTHENTICATION_KEY
|
||||
The MD5 authentication key for this BGP peer. Maximum length is 80
|
||||
|
|
@ -104,11 +120,18 @@ OPTIONAL FLAGS
|
|||
https://tools.ietf.org/html/rfc6996, for example --asn=64512.
|
||||
|
||||
--peer-ip-address=PEER_IP_ADDRESS
|
||||
The link-local address of the peer router. Must be a link-local IPv4
|
||||
address belonging to the range 169.254.0.0/16.
|
||||
The address of the peer router. Must be a link-local IPv4 address in
|
||||
the range 169.254.0.0/16 or an ULA IPv6 address in the range
|
||||
fdff:1::/64.
|
||||
|
||||
--peer-ipv4-nexthop-address=PEER_IPV4_NEXTHOP_ADDRESS
|
||||
If IPv4 route exchange is enabled for IPv6-based BGP, the IPv4 next hop
|
||||
address of the peer router. Ignored otherwise. Must be a Google owned
|
||||
link-local IPv4 address in the range 169.254.0.0/16.
|
||||
|
||||
--peer-ipv6-nexthop-address=PEER_IPV6_NEXTHOP_ADDRESS
|
||||
The IPv6 next hop address of the peer router. Must be a Google owned
|
||||
If IPv6 route exchange is enabled for IPv4-based BGP, the IPv6 next hop
|
||||
address of the peer router. Ignored otherwise. Must be a Google owned
|
||||
global unicast IPv6 address belonging to the range
|
||||
2600:2d00:0:2:0:0:0:0/64 or 2600:2d00:0:3:0:0:0:0/64.
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud compute routers update-interface NAME
|
||||
--interface-name=INTERFACE_NAME [--ip-address=IP_ADDRESS]
|
||||
[--mask-length=MASK_LENGTH] [--region=REGION]
|
||||
[--ip-version=IP_VERSION] [--mask-length=MASK_LENGTH] [--region=REGION]
|
||||
[--interconnect-attachment=INTERCONNECT_ATTACHMENT
|
||||
| --interconnect-attachment-region=INTERCONNECT_ATTACHMENT_REGION
|
||||
| --vpn-tunnel=VPN_TUNNEL | --vpn-tunnel-region=VPN_TUNNEL_REGION]
|
||||
|
|
@ -25,12 +25,22 @@ REQUIRED FLAGS
|
|||
|
||||
OPTIONAL FLAGS
|
||||
--ip-address=IP_ADDRESS
|
||||
The link local address of the router for this interface.
|
||||
The link local (IPv4) or ULA (IPv6) address of the router for this
|
||||
interface.
|
||||
|
||||
--ip-version=IP_VERSION
|
||||
IP version of the interface. Possible values are IPV4 and IPV6.
|
||||
Defaults to IPV4. IP_VERSION must be one of:
|
||||
|
||||
IPV4
|
||||
Interface with IPv4-based BGP.
|
||||
IPV6
|
||||
Interface with IPv6-based BGP.
|
||||
|
||||
--mask-length=MASK_LENGTH
|
||||
The subnet mask for the link-local IP range of the interface. The
|
||||
interface IP address and BGP peer IP address must be selected from the
|
||||
subnet defined by this link-local range.
|
||||
The subnet mask for the IP range of the interface. The interface IP
|
||||
address and BGP peer IP address must be selected from the subnet
|
||||
defined by this range.
|
||||
|
||||
--region=REGION
|
||||
Region of the router to update. If not specified, you might be prompted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue