L'intéret est de comprendre l'architecture.
Des AS privés, un routage BGP interne sont utilisés pour le routage.
pine01 login: cumulus
Password:
Last login: Wed Aug 25 09:45:59 PDT 2021 from 192.168.200.1 on pts/0
Linux spine01 4.19.0-cl-1-amd64 #1 SMP Debian 4.19.176-1+cl4.4.0u1 (2021-06-25) x86_64
#########################################################
Successfully logged in to: spine01
#########################################################
cumulus@spine01:mgmt:~$ net show bgp
<ipv4/prefixlen> : An IPv4 address and prefix length
<ipv4> : an IPv4 address
<ipv6/prefixlen> : An IPv6 address and prefix length
<ipv6> : An IPv6 address
evpn : Ethernet VPN
ipv4 : Internet Protocol version 4
ipv6 : Internet Protocol version 6
json : Print output in json
l2vpn : Layer-2 VPN
large-community-info : add help text
neighbor : A BGP, OSPF, PIM, etc neighbor
nexthop : BGP nexthops
summary : Summary
update-groups : BGP update groups
vrf : Virtual routing and forwarding
<ENTER>
cumulus@spine01:mgmt:~$ net show bgp ne
neighbor : A BGP, OSPF, PIM, etc neighbor
nexthop : BGP nexthops
cumulus@spine01:mgmt:~$ net show bgp neighbor
BGP neighbor on swp1: fe80::4638:39ff:fe00:2, remote AS 65101, local AS 65100, external link
Hostname: leaf01
Member of peer-group underlay for session parameters
BGP version 4, remote router ID 10.10.10.1, local router ID 10.10.10.101
BGP state = Established, up for 06:26:23
Last read 00:00:01, Last write 00:00:02
Hold time is 9, keepalive interval is 3 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
AddPath:
IPv4 Unicast: RX advertised IPv4 Unicast and received
L2VPN EVPN: RX advertised L2VPN EVPN and received
Extended nexthop: advertised and received
Address families by peer:
IPv4 Unicast
Route refresh: advertised and received(old & new)
Address Family IPv4 Unicast: advertised and received
Address Family L2VPN EVPN: advertised and received
Hostname Capability: advertised (name: spine01,domain name: n/a) received (name: leaf01,domain name: n/a)
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast, L2VPN EVPN
End-of-RIB received: IPv4 Unicast, L2VPN EVPN
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: False
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: No
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 270 250
Keepalives: 7727 7726
Route Refresh: 0 0
Capability: 0 0
Total: 7998 7977
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
underlay peer-group member
Update group 1, subgroup 1
Packet Queue length 0
Community attribute sent to this neighbor(all)
3 accepted prefixes
For address family: L2VPN EVPN
underlay peer-group member
Update group 2, subgroup 2
Packet Queue length 0
NEXT_HOP is propagated unchanged to this neighbor
Community attribute sent to this neighbor(all)
21 accepted prefixes
Connections established 1; dropped 0
Last reset 06:26:24, Waiting for peer OPEN
Local host: fe80::4638:39ff:fe00:1, Local port: 54564
Foreign host: fe80::4638:39ff:fe00:2, Foreign port: 179
Nexthop: 10.10.10.101
Nexthop global: fe80::4638:39ff:fe00:1
Nexthop local: fe80::4638:39ff:fe00:1
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 10
Read thread: on Write thread: on FD used: 27
BGP neighbor on swp2: fe80::4638:39ff:fe00:a, remote AS 65102, local AS 65100, external link
Hostname: leaf02
Member of peer-group underlay for session parameters
BGP version 4, remote router ID 10.10.10.2, local router ID 10.10.10.101
BGP state = Established, up for 06:26:23
Last read 00:00:02, Last write 00:00:02
Hold time is 9, keepalive interval is 3 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
AddPath:
IPv4 Unicast: RX advertised IPv4 Unicast and received
L2VPN EVPN: RX advertised L2VPN EVPN and received
Extended nexthop: advertised and received
Address families by peer:
IPv4 Unicast
Route refresh: advertised and received(old & new)
Address Family IPv4 Unicast: advertised and received
Address Family L2VPN EVPN: advertised and received
Hostname Capability: advertised (name: spine01,domain name: n/a) received (name: leaf02,domain name: n/a)
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast, L2VPN EVPN
End-of-RIB received: IPv4 Unicast, L2VPN EVPN
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: False
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: No
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 270 254
Keepalives: 7727 7726
Route Refresh: 0 0
Capability: 0 0
Total: 7998 7981
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
underlay peer-group member
Update group 1, subgroup 1
Packet Queue length 0
Community attribute sent to this neighbor(all)
3 accepted prefixes
For address family: L2VPN EVPN
underlay peer-group member
Update group 2, subgroup 2
Packet Queue length 0
NEXT_HOP is propagated unchanged to this neighbor
Community attribute sent to this neighbor(all)
21 accepted prefixes
Connections established 1; dropped 0
Last reset 06:26:24, Waiting for peer OPEN
Local host: fe80::4638:39ff:fe00:9, Local port: 51518
Foreign host: fe80::4638:39ff:fe00:a, Foreign port: 179
Nexthop: 10.10.10.101
Nexthop global: fe80::4638:39ff:fe00:9
Nexthop local: fe80::4638:39ff:fe00:9
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 10
Read thread: on Write thread: on FD used: 24
BGP neighbor on swp3: fe80::4638:39ff:fe00:12, remote AS 65103, local AS 65100, external link
Hostname: leaf03
Member of peer-group underlay for session parameters
BGP version 4, remote router ID 10.10.10.3, local router ID 10.10.10.101
BGP state = Established, up for 06:26:23
Last read 00:00:01, Last write 00:00:02
Hold time is 9, keepalive interval is 3 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
AddPath:
IPv4 Unicast: RX advertised IPv4 Unicast and received
L2VPN EVPN: RX advertised L2VPN EVPN and received
Extended nexthop: advertised and received
Address families by peer:
IPv4 Unicast
Route refresh: advertised and received(old & new)
Address Family IPv4 Unicast: advertised and received
Address Family L2VPN EVPN: advertised and received
Hostname Capability: advertised (name: spine01,domain name: n/a) received (name: leaf03,domain name: n/a)
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast, L2VPN EVPN
End-of-RIB received: IPv4 Unicast, L2VPN EVPN
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: False
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: No
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 270 247
Keepalives: 7727 7727
Route Refresh: 0 0
Capability: 0 0
Total: 7998 7975
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
underlay peer-group member
Update group 1, subgroup 1
Packet Queue length 0
Community attribute sent to this neighbor(all)
3 accepted prefixes
For address family: L2VPN EVPN
underlay peer-group member
Update group 2, subgroup 2
Packet Queue length 0
NEXT_HOP is propagated unchanged to this neighbor
Community attribute sent to this neighbor(all)
21 accepted prefixes
Connections established 1; dropped 0
Last reset 06:26:24, Waiting for peer OPEN
Local host: fe80::4638:39ff:fe00:11, Local port: 42258
Foreign host: fe80::4638:39ff:fe00:12, Foreign port: 179
Nexthop: 10.10.10.101
Nexthop global: fe80::4638:39ff:fe00:11
Nexthop local: fe80::4638:39ff:fe00:11
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 10
Read thread: on Write thread: on FD used: 26
BGP neighbor on swp4: fe80::4638:39ff:fe00:1a, remote AS 65104, local AS 65100, external link
Hostname: leaf04
Member of peer-group underlay for session parameters
BGP version 4, remote router ID 10.10.10.4, local router ID 10.10.10.101
BGP state = Established, up for 06:26:23
Last read 00:00:01, Last write 00:00:02
Hold time is 9, keepalive interval is 3 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
AddPath:
IPv4 Unicast: RX advertised IPv4 Unicast and received
L2VPN EVPN: RX advertised L2VPN EVPN and received
Extended nexthop: advertised and received
Address families by peer:
IPv4 Unicast
Route refresh: advertised and received(old & new)
Address Family IPv4 Unicast: advertised and received
Address Family L2VPN EVPN: advertised and received
Hostname Capability: advertised (name: spine01,domain name: n/a) received (name: leaf04,domain name: n/a)
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast, L2VPN EVPN
End-of-RIB received: IPv4 Unicast, L2VPN EVPN
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: False
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: No
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 2 1
Notifications: 0 0
Updates: 270 236
Keepalives: 7727 7726
Route Refresh: 0 0
Capability: 0 0
Total: 7999 7963
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
underlay peer-group member
Update group 1, subgroup 1
Packet Queue length 0
Community attribute sent to this neighbor(all)
3 accepted prefixes
For address family: L2VPN EVPN
underlay peer-group member
Update group 2, subgroup 2
Packet Queue length 0
NEXT_HOP is propagated unchanged to this neighbor
Community attribute sent to this neighbor(all)
21 accepted prefixes
Connections established 1; dropped 0
Last reset 06:26:24, No AFI/SAFI activated for peer
Local host: fe80::4638:39ff:fe00:19, Local port: 179
Foreign host: fe80::4638:39ff:fe00:1a, Foreign port: 53020
Nexthop: 10.10.10.101
Nexthop global: fe80::4638:39ff:fe00:19
Nexthop local: fe80::4638:39ff:fe00:19
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 10
Read thread: on Write thread: on FD used: 23
BGP neighbor on swp5: fe80::4638:39ff:fe00:22, remote AS 65163, local AS 65100, external link
Hostname: border01
Member of peer-group underlay for session parameters
BGP version 4, remote router ID 10.10.10.63, local router ID 10.10.10.101
BGP state = Established, up for 06:26:23
Last read 00:00:02, Last write 00:00:02
Hold time is 9, keepalive interval is 3 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
AddPath:
IPv4 Unicast: RX advertised IPv4 Unicast and received
L2VPN EVPN: RX advertised L2VPN EVPN and received
Extended nexthop: advertised and received
Address families by peer:
IPv4 Unicast
Route refresh: advertised and received(old & new)
Address Family IPv4 Unicast: advertised and received
Address Family L2VPN EVPN: advertised and received
Hostname Capability: advertised (name: spine01,domain name: n/a) received (name: border01,domain name: n/a)
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast, L2VPN EVPN
End-of-RIB received: IPv4 Unicast, L2VPN EVPN
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: False
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: No
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 270 177
Keepalives: 7727 7727
Route Refresh: 0 0
Capability: 0 0
Total: 7998 7905
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
underlay peer-group member
Update group 1, subgroup 1
Packet Queue length 0
Community attribute sent to this neighbor(all)
3 accepted prefixes
For address family: L2VPN EVPN
underlay peer-group member
Update group 2, subgroup 2
Packet Queue length 0
NEXT_HOP is propagated unchanged to this neighbor
Community attribute sent to this neighbor(all)
3 accepted prefixes
Connections established 1; dropped 0
Last reset 06:26:24, Waiting for peer OPEN
Local host: fe80::4638:39ff:fe00:21, Local port: 33534
Foreign host: fe80::4638:39ff:fe00:22, Foreign port: 179
Nexthop: 10.10.10.101
Nexthop global: fe80::4638:39ff:fe00:21
Nexthop local: fe80::4638:39ff:fe00:21
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 10
Read thread: on Write thread: on FD used: 28
BGP neighbor on swp6: fe80::4638:39ff:fe00:2a, remote AS 65164, local AS 65100, external link
Hostname: border02
Member of peer-group underlay for session parameters
BGP version 4, remote router ID 10.10.10.64, local router ID 10.10.10.101
BGP state = Established, up for 06:17:23
Last read 00:00:01, Last write 00:00:01
Hold time is 9, keepalive interval is 3 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
AddPath:
IPv4 Unicast: RX advertised IPv4 Unicast and received
L2VPN EVPN: RX advertised L2VPN EVPN and received
Extended nexthop: advertised and received
Address families by peer:
IPv4 Unicast
Route refresh: advertised and received(old & new)
Address Family IPv4 Unicast: advertised and received
Address Family L2VPN EVPN: advertised and received
Hostname Capability: advertised (name: spine01,domain name: n/a) received (name: border02,domain name: n/a)
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast, L2VPN EVPN
End-of-RIB received: IPv4 Unicast, L2VPN EVPN
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: False
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 2 2
Notifications: 2 0
Updates: 327 275
Keepalives: 7728 7725
Route Refresh: 0 0
Capability: 0 0
Total: 8059 8002
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
underlay peer-group member
Update group 1, subgroup 1
Packet Queue length 0
Community attribute sent to this neighbor(all)
3 accepted prefixes
For address family: L2VPN EVPN
underlay peer-group member
Update group 2, subgroup 2
Packet Queue length 0
NEXT_HOP is propagated unchanged to this neighbor
Community attribute sent to this neighbor(all)
3 accepted prefixes
Connections established 2; dropped 1
Last reset 06:17:24, Notification sent (Hold Timer Expired)
Local host: fe80::4638:39ff:fe00:29, Local port: 38956
Foreign host: fe80::4638:39ff:fe00:2a, Foreign port: 179
Nexthop: 10.10.10.101
Nexthop global: fe80::4638:39ff:fe00:29
Nexthop local: fe80::4638:39ff:fe00:29
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 10
Read thread: on Write thread: on FD used: 25
cumulus@spine01:mgmt:~$ timed out waiting for input: auto-logout
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Welcome to
Login with: cumulus/CumulusLinux!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
spine01 login: