Skip to content

bgp hostname

Thomas Mangin edited this page May 30, 2026 · 3 revisions

Pre-Alpha. This page describes behavior that may change.

FQDN capability. Advertises the local hostname and fully-qualified domain name to peers in the OPEN message.

Category

Capabilities.

Configuration

plugin {
    internal hostname { use bgp-hostname }
}

system {
    host   router1;
    domain dc1.example.com;
}

bgp {
    peer upstream {
        capability {
            hostname;
        }
    }
}

The hostname and domain come from the system { host; domain; } block.

Behaviour

During OPEN negotiation, the plugin injects the Hostname capability (code 73, draft) with the local hostname and FQDN. Peers that receive the capability see the operator-chosen hostname and can surface it in their operator tools. Ze exposes received hostnames through the peer <name> capabilities command.

The capability is informational only. It does not affect routing or session behaviour.

Interactions

  • Reads system { host; domain; } at startup.
  • bgp-role, bgp-llnh, and other capability plugins can be enabled independently and compose cleanly with this one.

Source

main/internal/component/bgp/plugins/hostname/

Home

About

First Steps

Configuration

Operation

Interfaces

Plugins

Plugin Development

Chaos Testing

Blueprints

Development

Reference

Clone this wiki locally