Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated note about MD5 password to specify CL 3.7.5 and earlier

...

  1. SSH into leaf01.

  2. Configure the password for the neighbor:

    Code Block
    languagetext
    cumulus@leaf01:~$ net add bgp neighbor 10.0.0.102 password mypassword
  3. Confirm the configuration has been implemented with the net show bgp summary command:

    Code Block
    languagetext
    cumulus@leaf01:~$ net show bgp summary 
    show bgp ipv4 unicast summary
    =============================
    BGP router identifier 10.0.0.11, local AS number 65011 vrf-id 0
    BGP table version 18
    RIB entries 11, using 1320 bytes of memory
    Peers 2, using 36 KiB of memory
    Peer groups 1, using 56 bytes of memory
    Neighbor        V         AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
    spine01(swp51)  4 65020   96144   96146        0    0    0 00:30:29        3
    spine02(swp52)  4 65020   96209   96217        0    0    0 1d02h44m        3
    Total number of neighbors 2
    
    show bgp ipv6 unicast summary
    =============================
    No IPv6 neighbor is configured
  4. SSH into spine01.

  5. Configure the password for the neighbor:

    Code Block
    languagetext
    cumulus@spine01:~$ net add bgp neighbor 10.0.0.101 password mypassword
  6. Confirm the configuration has been implemented with the net show bgp summary command:

    Code Block
    languagetext
    cumulus@spine01:~$ net show bgp summary 
    show bgp ipv4 unicast summary
    =============================
    BGP router identifier 10.0.0.21, local AS number 65020 vrf-id 0
    BGP table version 5
    RIB entries 9, using 1080 bytes of memory
    Peers 4, using 73 KiB of memory
    Peer groups 1, using 56 bytes of memory
    Neighbor        V         AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
    leaf01(swp1)    4 65011     782     782        0    0    0 00:12:54        2
    leaf02(swp2)    4 65012     781     781        0    0    0 00:12:53        2
    swp3            4     0       0       0        0    0    0 never    Idle       
    swp4            4     0       0       0        0    0    0 never    Idle       
    Total number of neighbors 4
    
    show bgp ipv6 unicast summary
    =============================
    No IPv6 neighbor is configured
Note

The In Cumulus Linux 3.7.5 and earlier, the MD5 password configured against a BGP listen-range peer-group (used to accept and create dynamic BGP neighbors) is not enforced. This means that connections are accepted from peers that do not specify a password.

...