root@vlab-01:/home/admin# docker exec -it bgp /bin/bash
root@vlab-01:/# bgp-isolate
Hello, this is FRRouting (version 7.0.1-sonic).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
vlab-01#
vlab-01# configure terminal
vlab-01(config)# router bgp 65100
vlab-01(config-router)# neighbor 10.0.0.57 route-map ISOLATE out
vlab-01(config-router)# neighbor 10.0.0.59 route-map ISOLATE out
vlab-01(config-router)# neighbor 10.0.0.61 route-map ISOLATE out
vlab-01(config-router)# neighbor 10.0.0.63 route-map ISOLATE out
vlab-01(config-router)# neighbor fc00::7a route-map ISOLATE out
vlab-01(config-router)# neighbor fc00::7e route-map ISOLATE out
vlab-01(config-router)# neighbor fc00::72 route-map ISOLATE out
vlab-01(config-router)# neighbor fc00::76 route-map ISOLATE out
vlab-01(config-router)# exit
vlab-01(config)# exit
vlab-01#
vlab-01# clear ip bgp 10.0.0.57 soft out
vlab-01# clear ip bgp 10.0.0.59 soft out
vlab-01# clear ip bgp 10.0.0.61 soft out
vlab-01# clear ip bgp 10.0.0.63 soft out
vlab-01# clear ip bgp fc00::7a soft out
%BGP: Enable IPv4 Unicast address family for the neighbor fc00::7a
vlab-01# clear ip bgp fc00::7e soft out
%BGP: Enable IPv4 Unicast address family for the neighbor fc00::7e
vlab-01# clear ip bgp fc00::72 soft out
%BGP: Enable IPv4 Unicast address family for the neighbor fc00::72
vlab-01# clear ip bgp fc00::76 soft out
%BGP: Enable IPv4 Unicast address family for the neighbor fc00::76
vlab-01#
vlab-01#
2.
"neighbor fc00::72 route-map ISOLATE out" went into "address-family ipv4 unicast"
3.
AS 65100 prepended for ipv4 route only on neighbor:
ARISTA01T1#show ip bgp neighbors 10.0.0.56 received-routes
BGP routing table information for VRF default
Router identifier 100.1.0.29, local AS number 64600
Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP
S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop
Network Next Hop Metric LocPref Weight Path
* > 10.1.0.32/32 10.0.0.56 0 - - 65100 65100 i
* > 192.168.0.0/21 10.0.0.56 0 - - 65100 65100 i
ARISTA01T1#show ipv6 bgp neighbors fc00::71 received-routes
BGP routing table information for VRF default
Router identifier 100.1.0.29, local AS number 64600
Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP
S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop
Network Next Hop Metric LocPref Weight Path
* > fc00:1::/64 fc00::71 0 - - 65100 i
ARISTA01T1#
Describe the results you received:
Describe the results you expected:
ARISTA01T1#show ipv6 bgp neighbors fc00::71 received-routes
BGP routing table information for VRF default
Router identifier 100.1.0.29, local AS number 64600
Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP
S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop
Network Next Hop Metric LocPref Weight Path
* > fc00:1::/64 fc00::71 0 - - 65100 65100 i
Additional information you deem important (e.g. issue happens only occasionally):
Steps to reproduce the issue: 1.
2.
"neighbor fc00::72 route-map ISOLATE out" went into "address-family ipv4 unicast"
3. AS 65100 prepended for ipv4 route only on neighbor:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):