How to configure BGP for diverse service on Tasman router

BGP configuration for Diverse Service

The following BGP example configuration is for diverse service with same ASN. In order to configure Nortel/Tasman router, just copy and paste below configuration from configuraion mode

Neighbor ASN : 200
Neighbor IP address : 10.10.10.1 and 20.20.20.1

ip
  load_balance per_flow
  route 0.0.0.0 0.0.0.0 10.10.10.1 1
  route 0.0.0.0 0.0.0.0 20.20.20.1 1
  route 192.168.1.0 255.255.255.0 ethernet0/1 1
  exit ip
router  bgp 100
    distance 170
    redistribute  static
    redistribute  connected
    group BgpExternal external
      exit group
    group BgpInternal internal
      exit group
    group DEFAULT-EXTERNAL external
      exit group
    group to-WAN1 external
      route_map to-link1 out
      exit group
    group to-WAN2 external
      route_map to-link2 out
      exit group
    neighbor 10.10.10.1 200
      neighbor_group to-Iink1
      maximum_prefix 1000
      timers 60
      exit neighbor
    neighbor 20.20.20.1 200
      neighbor_group to-Iink2
      maximum_prefix 1000
      timers 60
      exit neighbor
    exit bgp
 

policy  ip_access_list 10 1 action permit network 198.168.1.0 netmask 0.0.0.127 mask
255.255.255.128 maskmask 0.0.0.127
   
policy  ip_access_list 10 100 action deny network 0.0.0.0 netmask 255.255.255.255 mask
255.255.255.255 maskmask 255.255.255.255
   
policy  ip_access_list 20 1 action permit network 198.168.1.128 netmask 0.0.0.127 mask
255.255.255.128 maskmask 0.0.0.127
     
policy  ip_access_list 20 100 action deny network 0.0.0.0 netmask 255.255.255.255 mask
255.255.255.255 maskmask 255.255.255.255

policy  route_map to-Iink1 10 permit
    match
      ip  ip_address 10
      exit match
    set
      community generate_no_advertise no_advertise
      origin  igp
      metric 1 
      exit set
    exit route_map
policy  route_map to-link1 20 permit
    match
      ip  ip_address 20
      exit match  
    set
      community generate_no_advertise no_advertise
      origin  igp
      metric 10
      exit set
    exit route_map
policy  route_map to-Iink2 10 permit 
    match
      ip  ip_address 20
      exit match
    set
      community generate_no_advertise no_advertise
      origin  igp
      metric 1
      exit set
    exit route_map
policy  route_map to-Iink2 20 permit
    match
      ip  ip_address 10
    exit match
    set
      community generate_no_advertise no_advertise
      origin  igp
      metric 10
      exit set
  exit route_map

 

Tasman-Router> conf t
Tasman-Router/configure> router bgp 100
Tasman-Router/configure/router/bgp 100> ?
     
      aggregate_address– configure bgp aggregate entries
      always_compare_med– allow comparing MED from different neighbors
      default_metric  — set metric of redistributed routes
      distance        — set protocol distance for BGP routes
      group           — specify a group
      neighbor        — specify a neighbor router
      redistribute    — redistribute routes from another protocol

> To see advertisement of your route

      Tasman-Router> display ip bgp neighbors address 10.10.10.1 adv

> To see what you receiving from peer/neighbor
  
      Tasman-Router>display ip bgp neighbors address 10.10.10.1 rec

 

Leave a Reply