Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


configuration


Code Block
titleshow running-config
collapsetrue
lr202007009846# show running-config
Building configuration...

Current configuration:
!
frr version 8.2.2
frr defaults traditional
hostname lr202007009846
log file /var/log/128technology/routing/routingEngine.log informational
no ip forwarding
no ipv6 forwarding
!
ip route 192.168.192.0/30 g15
!
router bgp 65101
 bgp router-id 192.168.111.1
 bgp log-neighbor-changes
 no bgp ebgp-requires-policy
 bgp graceful-restart preserve-fw-state
 bgp bestpath compare-routerid
 timers bgp 30 90
 neighbor 192.168.111.2 remote-as 65102
 neighbor 192.168.111.2 ebgp-multihop 5
 neighbor 192.168.111.2 update-source loopback0
 neighbor 192.168.111.2 advertisement-interval 30
 neighbor 192.168.111.2 timers connect 30
 !
 address-family ipv4 unicast
  redistribute connected
  neighbor 192.168.111.2 next-hop-self
  neighbor 192.168.111.2 soft-reconfiguration inbound
 exit-address-family
exit
!
. . . 
!
ip prefix-list only_static_routes seq 1 permit 1.0.0.1/32
!
route-map allow_prefix_1001 permit 1
 match ip address prefix-list only_static_routes
exit
!
end
lr202007009846#


VRF part


Code Block
titleshow running-config
router bgp 65110 vrf VRF-11
 bgp log-neighbor-changes
 no bgp ebgp-requires-policy
 bgp graceful-restart preserve-fw-state
 bgp bestpath compare-routerid
 timers bgp 30 90
 neighbor 10.100.11.2 remote-as 65111
 neighbor 10.100.11.2 advertisement-interval 30
 neighbor 10.100.11.2 timers connect 30
 !
 address-family ipv4 unicast
  redistribute kernel
  neighbor 10.100.11.2 soft-reconfiguration inbound
  maximum-paths 1
  maximum-paths ibgp 1
 exit-address-family
exit
!
router bgp 65110 vrf VRF-11-clone
 bgp log-neighbor-changes
 no bgp ebgp-requires-policy
 bgp graceful-restart preserve-fw-state
 bgp bestpath compare-routerid
 timers bgp 30 90
 neighbor 10.100.11.2 remote-as 65111
 neighbor 10.100.11.2 advertisement-interval 30
 neighbor 10.100.11.2 timers connect 30
 !
 address-family ipv4 unicast
  redistribute kernel
  neighbor 10.100.11.2 soft-reconfiguration inbound
  maximum-paths 1
  maximum-paths ibgp 1
 exit-address-family
exit
!


show commands


Code Block
titleshow vrf
lr202007009846# show vrf
vrf VRF-11 id 2 table 16384
vrf VRF-11-clone id 3 table 16385




Code Block
titleshow rib vrf xxxxxxxx
lr202007009846# show rib vrf VRF-11
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, F - PBR,
       f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

VRF VRF-11:
C>* 10.100.11.0/24 is directly connected, g22, 20:32:08
K>* 10.100.12.0/24 [254/1000000] unreachable (blackhole), 20:36:32
C>* 10.100.110.1/32 is directly connected, lo0-1, 20:37:26
B>* 10.100.110.11/32 [20/0] via 10.100.11.2, g22, weight 1, 20:32:06




lr202007009846# show rib vrf VRF-11-clone
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, F - PBR,
       f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

VRF VRF-11-clone:
C>* 10.100.11.0/24 is directly connected, g23, 20:32:13
K>* 10.100.12.0/24 [254/1000000] unreachable (blackhole), 20:36:37
C>* 10.100.110.1/32 is directly connected, lo0-2, 20:37:31
B>* 10.100.110.11/32 [20/0] via 10.100.11.2, g23, weight 1, 20:32:11
lr202007009846#












...