hostname R11
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:10::11/128 ge 128 le 128
 exit
!
access-list acl_ipv6_flowlabel_cms
 description [ACCESS-LIST TO MATCH ON THE CMS FLOW LABEL]
 sequence 4 deny all any all ff00:: ff00:: all
 sequence 5 deny all fe80:: ffff:ffff:ffff:ffff:: all any all
 sequence 10 permit all any all any all flow 65540&261884
 exit
!
access-list acl_sc22_ipv6_flowlabels
 description [ACCESS-LIST TO MATCH ON THE FLOW LABELS USED AT THE SC22 DEMO]
 sequence 10 permit all any all any all flow 65572&261884
 sequence 11 permit all any all any all flow 65612&261884
 sequence 12 permit all any all any all flow 196620&261884
 sequence 13 permit all any all any all flow 196624&261884
 sequence 14 permit all any all any all flow 32780&261884
 sequence 15 permit all any all any all flow 32784&261884
 sequence 16 permit all any all any all flow 163880&261884
 sequence 17 permit all any all any all flow 163896&261884
 sequence 20 permit all any all any all
 exit
!
ipv6 pbr VRF_EXT sequence 10 acl_ipv6_flowlabel_cms VRF_EXT nexthop fd01:20:11::1
!
bridge 20
 description [VLAN ID = 20] [BRIDGE FOR CMS FLOW LABEL]
 mac-learn
 mac-move
 exit
!
interface bvi20
 description [VLAN ID = 20] [INTERFACE FOR CMS BRIDGE]
 no shutdown
 no log-link-change
 exit
!
router bgp4 100
 description [IPv4 eBGP FOR R11]
 vrf VRF_EXT
 local-as 100
 router-id 10.11.10.11
 no safe-ebgp
 address-family unicast
 neighbor 10.20.11.1 remote-as 293
 neighbor 10.20.11.1 description [VLAN ID = 20] [R11@ETH1] -> [R1@ETH3]
 neighbor 10.20.11.1 local-as 100
 neighbor 10.20.11.1 address-family unicast
 neighbor 10.20.11.1 distance 20
 neighbor 10.20.11.1 additional-path-tx unicast
 neighbor 10.20.11.1 additional-path-rx unicast
 neighbor 10.20.11.1 update-source ethernet1.20
 neighbor 10.30.11.1 remote-as 293
 neighbor 10.30.11.1 description [VLAN ID = 30] [R11@ETH1] -> [R1@ETH3]
 neighbor 10.30.11.1 local-as 100
 neighbor 10.30.11.1 address-family unicast
 neighbor 10.30.11.1 distance 20
 neighbor 10.30.11.1 additional-path-tx unicast
 neighbor 10.30.11.1 additional-path-rx unicast
 neighbor 10.30.11.1 update-source ethernet1.30
 readvertise 10.11.10.11/32
 ecmp
 exit
!
router bgp6 100
 description [IPv6 eBGP FOR R11]
 vrf VRF_EXT
 local-as 100
 router-id 10.11.10.11
 no safe-ebgp
 address-family unicast
 neighbor fd01:20:11::1 remote-as 293
 neighbor fd01:20:11::1 description [VLAN ID = 20] [R11@ETH1] -> [R1@ETH3]
 neighbor fd01:20:11::1 local-as 100
 neighbor fd01:20:11::1 address-family unicast
 neighbor fd01:20:11::1 distance 20
 neighbor fd01:20:11::1 additional-path-tx unicast
 neighbor fd01:20:11::1 additional-path-rx unicast
 neighbor fd01:20:11::1 prefix-list-out filtertransittraffic
 neighbor fd01:20:11::1 update-source ethernet1.20
 neighbor fd01:30:11::1 remote-as 293
 neighbor fd01:30:11::1 description [VLAN ID = 30] [R11@ETH1] -> [R1@ETH3]
 neighbor fd01:30:11::1 local-as 100
 neighbor fd01:30:11::1 address-family unicast
 neighbor fd01:30:11::1 distance 10
 neighbor fd01:30:11::1 additional-path-tx unicast
 neighbor fd01:30:11::1 additional-path-rx unicast
 neighbor fd01:30:11::1 prefix-list-out filtertransittraffic
 neighbor fd01:30:11::1 update-source ethernet1.30
 readvertise fd01:10::11/128
 ecmp
 exit
!
interface loopback100
 description [LOOPBACK FOR R11]
 vrf forwarding VRF_EXT
 ipv4 address 10.11.10.11 255.255.255.255
 ipv6 address fd01:10::11 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.20
 description [VLAN ID = 20] R11 --> R1
 service-policy-in pingresetflowlabel
 bridge-group 20
 bridge-filter ipv6in acl_ipv6_flowlabel_cms
 vrf forwarding VRF_EXT
 ipv4 address 10.20.11.11 255.255.255.0
 ipv6 address fd01:20:11::11 ffff:ffff:ffff:ffff::
 ipv6 enable
 no shutdown
 no log-link-change
 exit
!
interface ethernet1.30
 description [VLAN ID = 30] R11 --> R1
 vrf forwarding VRF_EXT
 ipv4 address 10.30.11.11 255.255.255.0
 ipv6 address fd01:30:11::11 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
