Skip to main content
Glama

configure_tier0_bgp

Configure BGP routing on Tier-0 gateways by adding or updating neighbor connections to enable network communication between different autonomous systems.

Instructions

Configure BGP on a Tier-0 gateway (add/update a BGP neighbor).

Args: tier0_id: The Tier-0 gateway ID. local_as: Local AS number. neighbor_address: BGP neighbor IP address. remote_as: Remote AS number. hold_time: Hold down time in seconds (default 180). keep_alive: Keep alive time in seconds (default 60). target: Optional NSX Manager target name from config. Uses default if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tier0_idYes
local_asYes
neighbor_addressYes
remote_asYes
hold_timeNo
keep_aliveNo
targetNo

Implementation Reference

  • The MCP tool handler for 'configure_tier0_bgp' which orchestrates the call to the underlying operation function.
    def configure_tier0_bgp(
        tier0_id: str,
        local_as: int,
        neighbor_address: str,
        remote_as: int,
        hold_time: int = 180,
        keep_alive: int = 60,
        target: str | None = None,
    ) -> dict:
        """Configure BGP on a Tier-0 gateway (add/update a BGP neighbor).
    
        Args:
            tier0_id: The Tier-0 gateway ID.
            local_as: Local AS number.
            neighbor_address: BGP neighbor IP address.
            remote_as: Remote AS number.
            hold_time: Hold down time in seconds (default 180).
            keep_alive: Keep alive time in seconds (default 60).
            target: Optional NSX Manager target name from config. Uses default if omitted.
        """
        from vmware_nsx.ops.gateway_mgmt import configure_tier0_bgp as _configure
    
        client = _get_connection(target)
        return _configure(
            client, tier0_id,
            local_as=local_as,
            neighbor_address=neighbor_address,
            remote_as=remote_as,
            hold_time=hold_time,
            keep_alive=keep_alive,
        )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zw008/VMware-NSX'

If you have feedback or need assistance with the MCP directory API, please join our Discord server