title: flokinet-012 - keep putting it together |
author: Nicholas Morrison nick@nanocat.net |
draft: false |
tags: [network, workshop, arista] |
categories: [workshop] |
noindex: true |
Open your favourite Terminal Emulator
SSH to the netlab server:
$ ssh-keygen -R netlab.nanocat.net <- delete the cached fingerprint
(lab server rebuilt frequently)
$ ssh lab@netlab.nanocat.net
Password: (generated fresh each week)
List the running containerlab devices:
$ sudo containerlab inspect --all
Connect to an Arista device:
$ sudo docker exec -it clab-device–name Cli
.. or connect to a Linux device:
$ sudo docker exec -it clab-pcXX-name bash
Make a BGP connection with the ISP router.
The ISP’s AS number is 65667
!
router bgp 65420
router-id x.x.x.x
neighbor x.x.x.x remote-as 65667
neighbor x.x.x.x description earths-ISP
network x.x.x.x/x
network x.x.x.x/x
!
r1.xxx#show ip bgp summary
r1.xxx#show ip route bgp
r1.xxx#show ip bgp neighbor x.x.x.x advertised-routes
r1.xxx#show ip bgp neighbor x.x.x.x received-routes
!
ip route x.x.x.x/24 null0
ip route x.x.x.x/23 null0
!
r1.xxx#show ip bgp neighbor x.x.x.x advertised-routes
allowas-in
router bgp 65420
neighbor x.x.x.x allowas-in
!
r1.xxx#show ip bgp neighbor x.x.x.x advertised-routes
r1.xxx#show ip bgp neighbor x.x.x.x received-routes