hostname R33
no buggy
!
vrf definition VRF_EXT
 exit
!
policy-map pingresetflowlabel
 description [POLICY-MAP USED TO SET FLOW LABEL TO 0 - NEEDED TO PING]
 sequence 10 action transit
 sequence 10 set flow 0
 exit
!
prefix-list filtertransittraffic
 description [PREFIX-LIST USED TO FILTER BGP TRANSIT TRAFFIC GENERATED ON THE CLIENTS - PERMIT ONLY ITS OWN LOOPBACK]
 sequence 10 permit fd01:30::33/128 ge 128 le 128
 exit
!
access-list acl_ipv6_flowlabel_atlas
 description [ACCESS-LIST TO MATCH ON THE ATLAS FLOW LABEL]
 sequence 10 permit all any all any all flow 131072&261884
 exit
!
ipv6 pbr VRF_EXT sequence 10 acl_ipv6_flowlabel_atlas VRF_EXT nexthop fd01:10:33::3
!
bridge 10
 description [VLAN ID = 10] [BRIDGE FOR ATLAS FLOW LABEL]
 mac-learn
 mac-move
 exit
!
interface bvi10
 description [VLAN ID = 10] [INTERFACE FOR ATLAS BRIDGE]
 no shutdown
 no log-link-change
 exit
!
router bgp4 120
 description [IPv4 eBGP FOR R33]
 vrf VRF_EXT
 local-as 300
 router-id 10.33.30.33
 no safe-ebgp
 address-family unicast
 neighbor 10.10.33.3 remote-as 20965
 neighbor 10.10.33.3 description [VLAN ID = 10] [R33@ETH1] -> [R3@ETH3]
 neighbor 10.10.33.3 local-as 300
 neighbor 10.10.33.3 address-family unicast
 neighbor 10.10.33.3 distance 20
 neighbor 10.10.33.3 additional-path-tx unicast
 neighbor 10.10.33.3 additional-path-rx unicast
 neighbor 10.10.33.3 update-source ethernet1.10
 neighbor 10.30.33.3 remote-as 20965
 neighbor 10.30.33.3 description [VLAN ID = 30] [R33@ETH1] -> [R3@ETH3]
 neighbor 10.30.33.3 local-as 300
 neighbor 10.30.33.3 address-family unicast
 neighbor 10.30.33.3 distance 20
 neighbor 10.30.33.3 additional-path-tx unicast
 neighbor 10.30.33.3 additional-path-rx unicast
 neighbor 10.30.33.3 update-source ethernet1.30
 readvertise 10.33.30.33/32
 ecmp
 exit
!
router bgp6 120
 description [IPv6 eBGP FOR R33]
 vrf VRF_EXT
 local-as 300
 router-id 10.33.30.33
 no safe-ebgp
 address-family unicast
 neighbor fd01:10:33::3 remote-as 20965
 neighbor fd01:10:33::3 description [VLAN ID = 10] [R33@ETH1] -> [R3@ETH3]
 neighbor fd01:10:33::3 local-as 300
 neighbor fd01:10:33::3 address-family unicast
 neighbor fd01:10:33::3 distance 20
 neighbor fd01:10:33::3 additional-path-tx unicast
 neighbor fd01:10:33::3 additional-path-rx unicast
 neighbor fd01:10:33::3 prefix-list-out filtertransittraffic
 neighbor fd01:10:33::3 update-source ethernet1.10
 neighbor fd01:30:33::3 remote-as 20965
 neighbor fd01:30:33::3 description [VLAN ID = 30] [R33@ETH1] -> [R3@ETH3]
 neighbor fd01:30:33::3 local-as 300
 neighbor fd01:30:33::3 address-family unicast
 neighbor fd01:30:33::3 distance 10
 neighbor fd01:30:33::3 additional-path-tx unicast
 neighbor fd01:30:33::3 additional-path-rx unicast
 neighbor fd01:10:33::3 prefix-list-out filtertransittraffic
 neighbor fd01:30:33::3 update-source ethernet1.30
 readvertise fd01:30::33/128
 ecmp
 exit
!
interface loopback300
 description [LOOPBACK FOR R33]
 vrf forwarding VRF_EXT
 ipv4 address 10.33.30.33 255.255.255.255
 ipv6 address fd01:30::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
 ipv6 enable
 no shutdown
 no log-link-change
 exit
!
interface ethernet1
 no shutdown
 no log-link-change
 exit
!
interface ethernet1.10
 description [VLAN ID = 10] R33 --> R3
 service-policy-in pingresetflowlabel
 bridge-group 10
 bridge-filter ipv6in acl_ipv6_flowlabel_atlas
 vrf forwarding VRF_EXT
 ipv4 address 10.10.33.33 255.255.255.0
 ipv6 address fd01:10:33::33 ffff:ffff:ffff:ffff::
 ipv6 enable
 no shutdown
 no log-link-change
 exit
!
interface ethernet1.30
 description [VLAN ID = 30] R33 --> R3
 vrf forwarding VRF_EXT
 ipv4 address 10.30.33.33 255.255.255.0
 ipv6 address fd01:30:33::33 ffff:ffff:ffff:ffff::
 ipv6 enable
 no shutdown
 no log-link-change
 exit
!
server telnet tel
 security protocol telnet
 exec timeout 10000000
 exec colorize prompt
 exec logging
 exec monitor
 no exec authorization
 no login authentication
 login logging
 vrf VRF_EXT
 exit
!
end
