mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 20:18:54 +00:00
Merge pull request #2800 from adharkar/frr-bgp_cli
bgpd: Added local router-id to "show bgp neighbor"
This commit is contained in:
commit
9e03825743
@ -9239,8 +9239,11 @@ static void bgp_show_peer(struct vty *vty, struct peer *p, uint8_t use_json,
|
|||||||
|
|
||||||
/* BGP Version. */
|
/* BGP Version. */
|
||||||
vty_out(vty, " BGP version 4");
|
vty_out(vty, " BGP version 4");
|
||||||
vty_out(vty, ", remote router ID %s\n",
|
vty_out(vty, ", remote router ID %s",
|
||||||
inet_ntop(AF_INET, &p->remote_id, buf1, sizeof(buf1)));
|
inet_ntop(AF_INET, &p->remote_id, buf1, sizeof(buf1)));
|
||||||
|
vty_out(vty, ", local router ID %s\n",
|
||||||
|
inet_ntop(AF_INET, &bgp->router_id, buf1,
|
||||||
|
sizeof(buf1)));
|
||||||
|
|
||||||
/* Confederation */
|
/* Confederation */
|
||||||
if (CHECK_FLAG(bgp->config, BGP_CONFIG_CONFEDERATION)
|
if (CHECK_FLAG(bgp->config, BGP_CONFIG_CONFEDERATION)
|
||||||
|
Loading…
Reference in New Issue
Block a user