Update A Hub BGP Configuration

PUT {{baseUrl}}/networks/:networkId/appliance/vpn/bgp

Update a Hub BGP Configuration #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: enabled| boolean| Boolean value to enable or disable the BGP configuration. When BGP is enabled, the asNumber (ASN) will be autopopulated with the preconfigured ASN at other Hubs or a default value if there is no ASN configured. asNumber| integer| An Autonomous System Number (ASN) is required if you are to run BGP and peer with another BGP Speaker outside of the Auto VPN domain. This ASN will be applied to the entire Auto VPN domain. The entire 4-byte ASN range is supported. So, the ASN must be an integer between 1 and 4294967295. When absent, this field is not updated. If no value exists then it defaults to 64512. ibgpHoldTimer| integer| The IBGP holdtimer in seconds. The IBGP holdtimer must be an integer between 12 and 240. When absent, this field is not updated. If no value exists then it defaults to 240. neighbors| array| List of BGP neighbors. This list replaces the existing set of neighbors. When absent, this field is not updated.

Supports Action Batches

ResourceOperation
/networks/{networkId}/appliance/vpn/bgpupdate

Request Body

{"enabled"=>"<boolean>", "asNumber"=>"<integer>", "ibgpHoldTimer"=>"<integer>", "neighbors"=>[{"ip"=>"<string>", "remoteAsNumber"=>"<integer>", "ebgpHoldTimer"=>"<integer>", "ebgpMultihop"=>"<integer>", "receiveLimit"=>"<integer>", "allowTransit"=>"<boolean>"}, {"ip"=>"<string>", "remoteAsNumber"=>"<integer>", "ebgpHoldTimer"=>"<integer>", "ebgpMultihop"=>"<integer>", "receiveLimit"=>"<integer>", "allowTransit"=>"<boolean>"}]}

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull
Content-Typestring

RESPONSES

status: OK

{&quot;enabled&quot;:true,&quot;asNumber&quot;:64515,&quot;ibgpHoldTimer&quot;:120,&quot;neighbors&quot;:[{&quot;ip&quot;:&quot;10.10.10.22&quot;,&quot;remoteAsNumber&quot;:64343,&quot;receiveLimit&quot;:120,&quot;allowTransit&quot;:true,&quot;ebgpHoldTimer&quot;:180,&quot;ebgpMultihop&quot;:2}]}