Fortinet white logo
Fortinet white logo

Administration Guide

BGP neighbor naming support New

BGP neighbor naming support New

BGP neighbors can now be assigned a name that appears alongside their IP address in the GUI and logs. This improves readability and simplifies peer identification in large or multi-tenant environments.

The config neighbor command includes a new option:

config neighbor
    edit <neighbor ID>
        set name <string>
        ...
    next
end

Option

Description

name <string>

Name of BGP neighbor.

The GUI includes a new Name field.

To create a BGP neighbor with a name in the GUI:
  1. Go to Network > BGP.

  2. Under Neighbors, click Create New.

    The new Name field is available.

  3. Enter a name for the BGP neighbor, set the remaining options as desired, and click OK.

    The name of the BGP neighbor (hub1 and hub1v6) and its IP address is displayed in the GUI.

To create a BGP neighbor in the CLI:
config neighbor
    edit "10.200.1.1"
        set name "hub1"
        ...
    next
    edit "2001::10:200:1:1"
        set name "hub1v6"
        ...
    next
end

BGP neighbor names are included in some commands, such as:

# diagnose ip router command show-vrf vd2 show run | grep "router bgp" -A50

... ...
 bgp ignore-unknown-optional-capability
 neighbor 10.200.1.1 name "hub1"
 neighbor 10.200.1.1 remote-as 65100
 neighbor 10.200.1.1 update-source vd2-lo1
 neighbor 10.200.1.1 advertisement-interval 1
 neighbor 10.200.1.1 timers connect 10
 neighbor 10.200.1.1 capability dynamic
 neighbor 10.200.1.1 soft-reconfiguration inbound
 no neighbor 10.200.1.1 additional-path
 neighbor 10.200.1.1 capability graceful-restart
 neighbor 10.200.1.1 route-map tagvd2 in
 neighbor 2001::10:200:1:1 name "hub1v6"
 neighbor 2001::10:200:1:1 remote-as 65100
 neighbor 2001::10:200:1:1 update-source vd2-lo1
 neighbor 2001::10:200:1:1 advertisement-interval 1
 neighbor 2001::10:200:1:1 timers connect 10
 neighbor 2001::10:200:1:1 capability dynamic
 no neighbor 2001::10:200:1:1 activate
 no neighbor 2001::10:200:1:1 additional-path

Log files also include the names of BGP neighbors, for example:

date=2025-08-14 time=11:20:27 eventtime=1755195627191151900 tz="-0700" logid="0103020300" type="event" subtype="router" level="warning" vd="vd2" logdesc="BGP neighbor status changed" msg="BGP: %BGP-5-ADJCHANGE: VRF 0 neighbor 10.200.1.1(\"hub1\") Down BGP Notification FSM-ERR"
date=2025-08-14 time=11:20:27 eventtime=1755195626192462532 tz="-0700" logid="0103020300" type="event" subtype="router" level="warning" vd="vd2" logdesc="BGP neighbor status changed" msg="BGP: %BGP-5-ADJCHANGE: VRF 0 neighbor 10.200.1.1(\"hub1\") Up "
date=2025-08-14 time=11:20:22 eventtime=1755195621411138773 tz="-0700" logid="0103020300" type="event" subtype="router" level="warning" vd="vd2" logdesc="BGP neighbor status changed" msg="BGP: %BGP-5-ADJCHANGE: VRF 0 neighbor 10.200.1.1(\"hub1\") Down BGP Notification FSM-ERR"
date=2025-08-14 time=11:20:22 eventtime=1755195621411132437 tz="-0700" logid="0103020304" type="event" subtype="router" level="warning" vd="vd2" logdesc="Routing log warning" msg="BGP: %BGP-3-NOTIFICATION: received from 10.200.1.1 6/2 (Cease/Administratively Shutdown.) 0 data-bytes []"

BGP neighbor naming support New

BGP neighbor naming support New

BGP neighbors can now be assigned a name that appears alongside their IP address in the GUI and logs. This improves readability and simplifies peer identification in large or multi-tenant environments.

The config neighbor command includes a new option:

config neighbor
    edit <neighbor ID>
        set name <string>
        ...
    next
end

Option

Description

name <string>

Name of BGP neighbor.

The GUI includes a new Name field.

To create a BGP neighbor with a name in the GUI:
  1. Go to Network > BGP.

  2. Under Neighbors, click Create New.

    The new Name field is available.

  3. Enter a name for the BGP neighbor, set the remaining options as desired, and click OK.

    The name of the BGP neighbor (hub1 and hub1v6) and its IP address is displayed in the GUI.

To create a BGP neighbor in the CLI:
config neighbor
    edit "10.200.1.1"
        set name "hub1"
        ...
    next
    edit "2001::10:200:1:1"
        set name "hub1v6"
        ...
    next
end

BGP neighbor names are included in some commands, such as:

# diagnose ip router command show-vrf vd2 show run | grep "router bgp" -A50

... ...
 bgp ignore-unknown-optional-capability
 neighbor 10.200.1.1 name "hub1"
 neighbor 10.200.1.1 remote-as 65100
 neighbor 10.200.1.1 update-source vd2-lo1
 neighbor 10.200.1.1 advertisement-interval 1
 neighbor 10.200.1.1 timers connect 10
 neighbor 10.200.1.1 capability dynamic
 neighbor 10.200.1.1 soft-reconfiguration inbound
 no neighbor 10.200.1.1 additional-path
 neighbor 10.200.1.1 capability graceful-restart
 neighbor 10.200.1.1 route-map tagvd2 in
 neighbor 2001::10:200:1:1 name "hub1v6"
 neighbor 2001::10:200:1:1 remote-as 65100
 neighbor 2001::10:200:1:1 update-source vd2-lo1
 neighbor 2001::10:200:1:1 advertisement-interval 1
 neighbor 2001::10:200:1:1 timers connect 10
 neighbor 2001::10:200:1:1 capability dynamic
 no neighbor 2001::10:200:1:1 activate
 no neighbor 2001::10:200:1:1 additional-path

Log files also include the names of BGP neighbors, for example:

date=2025-08-14 time=11:20:27 eventtime=1755195627191151900 tz="-0700" logid="0103020300" type="event" subtype="router" level="warning" vd="vd2" logdesc="BGP neighbor status changed" msg="BGP: %BGP-5-ADJCHANGE: VRF 0 neighbor 10.200.1.1(\"hub1\") Down BGP Notification FSM-ERR"
date=2025-08-14 time=11:20:27 eventtime=1755195626192462532 tz="-0700" logid="0103020300" type="event" subtype="router" level="warning" vd="vd2" logdesc="BGP neighbor status changed" msg="BGP: %BGP-5-ADJCHANGE: VRF 0 neighbor 10.200.1.1(\"hub1\") Up "
date=2025-08-14 time=11:20:22 eventtime=1755195621411138773 tz="-0700" logid="0103020300" type="event" subtype="router" level="warning" vd="vd2" logdesc="BGP neighbor status changed" msg="BGP: %BGP-5-ADJCHANGE: VRF 0 neighbor 10.200.1.1(\"hub1\") Down BGP Notification FSM-ERR"
date=2025-08-14 time=11:20:22 eventtime=1755195621411132437 tz="-0700" logid="0103020304" type="event" subtype="router" level="warning" vd="vd2" logdesc="Routing log warning" msg="BGP: %BGP-3-NOTIFICATION: received from 10.200.1.1 6/2 (Cease/Administratively Shutdown.) 0 data-bytes []"