02-Traditional_Routing


Exercise 1 Deploy Dallas Branch Router


Step 1Configure Branch Router in Conductor




Step 2Create QuickStart File


Step 3Put QuickStart File on Branch 2 Router


Step 4Verify Connectivity




Exercise 2Routing With BGP


Step 1View Internet Router


Step 2Connect BGP Peers



Step 3Advertise BGP Routes



Step 4Redistribute Services into BGP


Step 5View Internet Router



show bgp summary

show ip route bgp

show bgp routes
internet-router# show bgp summary 

IPv4 Unicast Summary:
BGP router identifier 192.168.7.101, local AS number 6000 vrf-id 0
BGP table version 6
RIB entries 11, using 1672 bytes of memory
Peers 3, using 62 KiB of memory

Neighbor        V         AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd
1.1.1.128       4        100      24      24        0    0    0 00:09:12            0
2.2.2.128       4        200      21      21        0    0    0 00:07:58            0
3.3.3.128       4        300      30      30        0    0    0 00:12:20            3

Total number of neighbors 3
internet-router# show ip route bgp 
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
       F - PBR,
       > - selected route, * - FIB route

B>* 128.128.128.1/32 [20/1000000] via 3.3.3.128, dc, 00:04:27
B>* 128.128.128.128/32 [20/1000000] via 3.3.3.128, dc, 00:04:27
B>* 172.26.128.0/30 [20/0] via 3.3.3.128, dc, 00:05:49
internet-router# 
Exercise 3Routing Filters and Policies


Step 1Add AS Path



show bgp

prepend 200 200 200 200
admin@node2.bosdc1# show bgp 
Thu 2021-05-06 20:55:10 UTC
BGP table version is 12, local router ID is 3.3.3.128, vrf id 0
Status codes:  s suppressed, d damped, h history, * valid, > best, = multipath,
               i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes:  i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.0/24       3.3.3.1                  0             0 6000 i
*> 2.2.2.0/24       3.3.3.1                  0             0 200 200 200 200 6000 i
*> 3.3.3.0/24       3.3.3.1                  0             0 6000 i
*> 128.128.128.1/32 0.0.0.0            1000000         32768 ?
*> 128.128.128.128/32
                    0.0.0.0            1000000         32768 ?
*> 172.26.128.0/30  0.0.0.0                  0         32768 i

Displayed  6 routes and 6 total paths


Completed in 0.16 seconds
admin@node2.bosdc1# 
Step 2Add Community String

1- Create a Filter

2- Policy

2a- Condition

2b- Actions

SSR
show bgp router
admin@node1.nycconductor1# show bgp router all 172.26.128.0
Thu 2021-05-06 21:05:58 UTC
WARNING: Targeting router 'all' may take a long time. Continue anyway? [y/N]: y
========
 bosdc1
========
BGP routing table entry for 172.26.128.0/30
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Advertised to non peer-group peers:
  3.3.3.1
  Local
    0.0.0.0 from 0.0.0.0 (3.3.3.128)
      Origin IGP, metric 0, localpref 100, weight 32768, valid, sourced, local, best
      Community: 128:128
      AddPath ID: RX 0, TX 11
      Last update: Thu May  6 21:05:08 2021


on FRR

show bgp ipv4 172.26.128.0/30

show bgp <route> on FRRouting
internet-router# show bgp ipv4 172.26.128.0/30
BGP routing table entry for 172.26.128.0/30
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Advertised to non peer-group peers:
  1.1.1.128 2.2.2.128 3.3.3.128
  300
    3.3.3.128 from 3.3.3.128 (3.3.3.128)
      Origin IGP, metric 0, localpref 100, valid, external, best
      Community: 128:128
      AddPath ID: RX 0, TX 8
      Last update: Thu May  6 21:05:29 2021

internet-router# 
Step 3Reject Community String

1- Create a Filter:   match-community

2- Policy

2a- Condition

2b- Actions




show bgp router dalbo2

show bgp router seabo1

show bgp router <router>
admin@node1.nycconductor1# show bgp router dalbo2 
Thu 2021-05-06 21:36:34 UTC
========
 dalbo2
========
BGP table version is 9, local router ID is 2.2.2.128, vrf id 0
Status codes:  s suppressed, d damped, h history, * valid, > best, = multipath,
               i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes:  i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.0/24       2.2.2.1                  0             0 6000 i
*> 2.2.2.0/24       2.2.2.1                  0             0 6000 i
*> 3.3.3.0/24       2.2.2.1                  0             0 6000 i
*> 128.128.128.1/32 2.2.2.1                                0 6000 300 ?
*> 128.128.128.128/32
                    2.2.2.1                                0 6000 300 ?

Displayed  5 routes and 5 total paths


Completed in 0.12 seconds
admin@node1.nycconductor1# show bgp router seabo1 
Thu 2021-05-06 21:36:47 UTC
========
 seabo1
========
BGP table version is 8, local router ID is 1.1.1.128, vrf id 0
Status codes:  s suppressed, d damped, h history, * valid, > best, = multipath,
               i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes:  i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.0/24       1.1.1.1                  0             0 6000 i
*> 2.2.2.0/24       1.1.1.1                  0             0 6000 i
*> 3.3.3.0/24       1.1.1.1                  0             0 6000 i
*> 128.128.128.1/32 1.1.1.1                                0 6000 300 ?
*> 128.128.128.128/32
                    1.1.1.1                                0 6000 300 ?
*> 172.26.128.0/30  1.1.1.1                                0 6000 300 i

Displayed  6 routes and 6 total paths


Completed in 0.12 seconds
admin@node1.nycconductor1#