With RR
Topology
Figure 33-156: BGP Flowpec support for IPv4 with RR
 Configuration
CE1
 
CE1#configure terminal  | Enter configure mode.  | 
CE1(config)# class-map type traffic match-all ocnos  | Configure class map with class name  | 
CE1(config-cmap-tr)#match destination-address ipv4 5.5.5.5/32  | Configure match with destination ip address  | 
CE1(config-cmap-tr)#match source-address ipv4 4.4.4.4/32  | Enable match with source ip address  | 
CE1(config-cmap-tr)#match protocol 12  | Enable match with protocol  | 
CE1(config-cmap-tr)#match port 333-444  | Enable match with port  | 
CE1(config-cmap-tr)#exit  |    | 
   | Exit from class map traffic  | 
CE1(config)#commit  | Commits the configuration  | 
CE1(config)#class-map type traffic match-all ocnos2  | Configure class map with class name  | 
CE1(config-cmap-tr)# match destination-address ipv4 10.1.1.0/24  | Configure match with destination ip address  | 
CE1(config-cmap-tr)# match source-address ipv4 10.1.1.0/24  | Enable match with source ip address  | 
CE1(config-cmap-tr)# match protocol 44  | Enable match with protocol  | 
CE1(config-cmap-tr)# match destination-port 44-144  | Enable match with destination port  | 
CE1(config-cmap-tr)# match source-port 22-122  | Enter match with source port  | 
CE1(config-cmap-tr)#exit  | Exit from class map traffic  | 
CE1(config)#commit  | Commits the configuration  | 
CE1(config)#policy-map type pbr CE1  | Enable policy map type pbr policy name  | 
CE1(config-pmap-pbr)# class type traffic ocnos2  | Enable class type traffic class name  | 
CE1(config-pmap-pbr-c)#  police rate 21000 bps  | Set the policy rate  | 
CE1(config-pmap-pbr-c)#exit  | Exit from class   | 
CE1(config-pmap-pbr)#exit  | Exit from policy map  | 
CE1(config)#policy-map type pbr PE1  | Enable policy map type pbr policy name  | 
CE1(config-pmap-pbr)# class type traffic ocnos  | Enable class type traffic class name  | 
CE1(config-pmap-pbr-c)# police rate 4444444 bps  | Set the policy rate  | 
CE1(config-cmap-tr)#exit  | Exit from class map traffic  | 
CE1(config)#commit  | Commits the configuration  | 
CE1(config)#flowspec  | Configure flowspec  | 
CE1(config-flowspec)#address-family ipv4  | Enter address family ipv4 mode  | 
CE1(config-flowspec-af)#service-policy type pbr PE1  | Enable service policy type pbr with policy name  | 
CE1(config-flowspec-af)#service-policy type pbr CE1  | Enable service policy type pbr with policy name  | 
CE1(config-flowspec-af)#exit  | Exit from address family  | 
CE1(config-flowspec)#exit  | Exit from flowspec mode  | 
CE1(config)#commit  | Commits the configuration  | 
CE1(config)#interface lo  | Enter the loopback onterface mode  | 
CE1(config-if)# ip address 4.4.4.4/32 secondary  | Assign the ip add as secondary  | 
CE1(config-if)# ip router isis 1  | Enable the router isis instance  | 
CE1(config-if)#exit  | Exit from interface mode  | 
CE1(config)#commit  | Commits the configuration  | 
CE1(config)#interface xe1  | Enter the interface mode  | 
CE1(config-if)#ip address 10.1.1.1/24  | Configure ip address  | 
CE1(config)#interface xe1.10  | Configure subinterface  | 
CE1(config-if)# encapsulation dot1q 10  | Enable encapsulate dot1q vlan id   | 
CE1(config-if)# ip address 66.1.1.1/24  | Configure ip address   | 
CE1(config-if)#exit  | Exit from interface mode  | 
CE1(config)#commit  | Commits the configuration  | 
CE1(config)#router bgp 100  | Configure bgp intstance  | 
CE1(config-router)# neighbor 10.1.1.2 remote-as 65000  | Enable neighbour ip address with remote-as 65000  | 
CE1(config-router)# neighbor 66.1.1.2 remote-as 65000  | Enable neighbour ip address with remote-as 65000  | 
CE1(config-router)# address-family ipv4 unicast  | Enter the address family ipv4 unicast   | 
CE1(config-router-af)# redistribute connected  | Enter redistribute connected  | 
CE1(config-router-af)# neighbor 10.1.1.2 activate  | Activate the neighbour  | 
CE1(config-router-af)# neighbor 66.1.1.2 activate  | Activate the neighbour  | 
CE1(config-router-af)# exit-address-family  | Exit from address family mode  | 
CE1(config-router)# address-family ipv4 flowspec  | Enter the address family ipv4 flowspec   | 
CE1(config-router-af)# neighbor 10.1.1.2 activate  | Activate the neighbour  | 
CE1(config-router-af)#neighbor 66.1.1.2 activate  | Activate the neighbour  | 
CE1(config-router-af)# exit-address-family  | Exit from address family mode  | 
CE1(config-router)#exit  | Exit from router mode  | 
CE1(config)#commit  | Commits the configuration  | 
PE1
 
PE1#configure terminal  | Enter configure mode.  | 
PE1(config)#ip vrf vrf100  | Enter vrf vrf name  | 
PE1(config-vrf)# rd 100:1  | Enter rd value  | 
PE1(config-vrf)# route-target both 100:1  | Enter router targeted as both   | 
PE1(config-vrf)#exit  | Exit from vrf mode  | 
PE1(config)#commit  | Commits the configuration  | 
PE1(config)#ip vrf vrf101  | Enter vrf vrf name  | 
PE1(config-vrf)# rd 101:1  | Enter rd value  | 
PE1(config-vrf)# route-target both 101:1  | Enter router targeted as both   | 
PE1(config-vrf)#exit  | Exit from vrf mode  | 
PE1(config)#commit  | Commits the configuration  | 
PE1(config)#qos enable  | Enable qos  | 
PE1(config)#qos statistics  | Enable qos statistics  | 
PE1-7026(config)#class-map type traffic match-all class1  | Configure class map with class name  | 
PE1-7026(config-cmap-tr)# match destination-address ipv4 3.3.3.3/32  | Configure match with destination ip address  | 
PE1-7026(config-cmap-tr)# match source-address ipv4 1.1.1.1/32  | Enable match with source ip address  | 
PE1-7026(config-cmap-tr)# match protocol 78  | Enable match with protocol  | 
PE1-7026(config-cmap-tr)# match port 101-201  | Enable match with port range  | 
PE1-7026(config-cmap-tr)# match destination-port 400-499  | Enable match with destination-port range  | 
PE1-7026(config-cmap-tr)# match source-port 330-399  | Enable match with source-port range  | 
PE1-7026(config-cmap-tr)# match ipv4 icmp-code 10  | Enable match with icmp code  | 
PE1-7026(config-cmap-tr)# match packet-length 22-222  | Enable match with packet length range  | 
PE1-7026(config-cmap-tr)# match dscp 10  | Enable match with dscp  | 
PE1-7026(config-cmap-tr)#exit  | Exit from class map traffic  | 
PE1-7026(config)#commit  | Commits the configuration  | 
PE1-7026(config)#policy-map type pbr pol11  | Configure policy map type pbr with policy name  | 
PE1-7026(config-pmap-pbr)# class type traffic class1  | Enable class type traffic with class map name  | 
PE1-7026(config-pmap-pbr-c)#  police rate 1000011 bps  | Enable policy rate  | 
PE1-7026(config-pmap-pbr-c)#  set dscp 0e  | Set the dscp value  | 
PE1-7026(config-pmap-pbr-c)#exit  | Exit from polocy map traffic  | 
PE1-7026(config-pmap-pbr)#exit  | Exit from policy map  | 
PE1-7026(config)#commit  | Commits the configuration  | 
PE1(config)#flowspec  | Configure flowspec   | 
PE1(config-flowspec)# address-family ipv4  | Enter address-family mode with ipv4   | 
PE1(config-flowspec-af)#  service-policy type pbr pol11  | Enable service plocy type pbr with policy name  | 
PE1(config-flowspec-af)#exit  | Exit from address family mode  | 
PE1(config-flowspec)#exit  | Exit from flowspec mode  | 
PE1(config)#commit  | Commits the configuration  | 
PE1(config)#router ldp  | Enter router ldp mode  | 
PE1(config-router)# targeted-peer ipv4 3.3.3.3  | Enable targeted peer ipv4 address  | 
PE1(config-router-targeted-peer)#  exit-targeted-peer-mode  | Exit from targeted peer mode  | 
PE1(config-router)#exit  | Exit from router ldp  | 
PE1(config)#commit  | Commits the configuration  | 
PE1(config)#interface lo  | Enter interface mode  | 
PE1(config-if)# ip address 1.1.1.1/32 secondary  | Assign the ip address secondary  | 
PE1(config-if)# ip router isis 1  | Enable router isis instance  | 
PE1(config-if)#exit  | Exit from interface mode  | 
PE1(config)#commit  | Commits the configuration  | 
PE1(config)#interface ce49  | Enter interface mode  | 
PE1(config-if)# ip address 40.1.1.1/24  | Assign the ip add  | 
PE1(config-if)# label-switching  | Enable label switching  | 
PE1(config-if)# ip router isis 1  | Enter router isis instance  | 
PE1(config-if)# enable-ldp ipv4  | Enable ldp ipv4  | 
PE1(config-if)#exit  | Exit from interface mode  | 
PE1(config)#commit  | Commits the configuration  | 
PE1(config)#interface xe1  | Enter the interface mode  | 
PE1(config-if)# ip address 10.1.1.2/24  | Assign the ip add  | 
PE1(config-if)#exit  | Exit from interface mode  | 
PE1(config)#commit  | Commits the configuration  | 
PE1(config)#interface xe1.10  | Enter the sub-interface mode  | 
PE1(config-if)# encapsulation dot1q 10  | Enable encapsulate dot1q with vlan id  | 
PE1(config-if)# ip vrf forwarding vrf100  | Enable ip vrf forwarding vrf name   | 
PE1(config-if)# ip address 66.1.1.2/24  | Assign the ip add  | 
PE1(config-if)#exit  | Exit from interface mode  | 
PE1(config)#commit  | Commits the configuration  | 
PE1(config)#interface xe7  | Enter interface mode  | 
PE1(config-if)# ip address 20.1.1.1/24  | Assign the ip add  | 
PE1(config-if)# label-switching  | Enable label switching  | 
PE1(config-if)# ip router isis 1  | Enter router isis instance  | 
PE1(config-if)# enable-ldp ipv4  | Enable ldp ipv4  | 
PE1(config-if)#exit  | Exit from interface mode  | 
PE1(config)#commit  | Commits the configuration  | 
PE1(config)#router isis 1  | Configure isis instance  | 
PE1(config-router)# is-type level-1-2  | Configure is-type-level-1-2  | 
PE1(config-router)# metric-style wide  | Configure metric style wide  | 
PE1(config-router)# mpls traffic-eng router-id 1.1.1.1  | Configure router id  | 
PE1(config-router)# mpls traffic-eng level-1  | Configure traffic engg level-1  | 
PE1(config-router)# mpls traffic-eng level-2  | Configure traffic engg level-2  | 
PE1(config-router)# dynamic-hostname  | Configure hostname  | 
PE1(config-router)# bfd all-interfaces  | Enable bfd all interfaces  | 
PE1(config-router)# net 49.0000.0000.0001.00  | Configure network id  | 
PE1 (config-router)# passive-interface lo  | Configure passive interface as loopback  | 
PE1(config-router)#exit  | Exit from isis instance mode  | 
PE1(config)#commit  | Commits the configuration  | 
PE1(config)#router bgp 65000  | Configure bgp instance  | 
PE1(config-router)# neighbor 6.6.6.6 remote-as 65000  | Enable neighbour address with remote-as 65000  | 
PE1(config-router)# neighbor 10.1.1.1 remote-as 100  | Enable neighbour address with remote-as 100  | 
PE1(config-router)# neighbor 20.1.1.2 remote-as 65000  | Enable neighbour address with remote-as 65000  | 
PE1(config-router)# neighbor 6.6.6.6 update-source lo  | Enable neighbour address with update loopback  | 
PE1(config-router)# address-family ipv4 unicast  | Enter address family ipv4 mode  | 
PE1(config-router-af)# neighbor 6.6.6.6 activate  | Activate the neighbour  | 
PE1(config-router-af)# neighbor 6.6.6.6 next-hop-self  | Enter neighbor ip add with next hop self  | 
PE1(config-router-af)# neighbor 10.1.1.1 activate  | Activate the neighbour  | 
PE1(config-router-af)# neighbor 20.1.1.2 activate  | Activate the neighbour  | 
PE1(config-router-af)# neighbor 20.1.1.2 next-hop-self  | Enter neighbor ip add with next hop self  | 
PE1(config-router-af)# exit-address-family  | Exit from address family  | 
PE1(config-router)# address-family vpnv4 unicast  | Enter address family vpnv4 unicast mode  | 
PE1(config-router-af)# neighbor 6.6.6.6 activate  | Activate the neighbour  | 
PE1(config-router-af)# neighbor 6.6.6.6 next-hop-self  | Enter neighbor ip add with next hop self  | 
PE1(config-router-af)# neighbor 20.1.1.2 activate  | Activate the neighbour  | 
PE1(config-router-af)# neighbor 20.1.1.2 next-hop-self  | Enter neighbor ip add with next hop self  | 
PE1(config-router-af)# exit-address-family  | Exit from address family  | 
PE1(config-router)# address-family ipv4 flowspec  | Enter address family ipv4 flowspec mode  | 
PE1(config-router-af)# neighbor 6.6.6.6 activate  | Activate the neighbour  | 
PE1(config-router-af)# neighbor 10.1.1.1 activate  | Activate the neighbour  | 
PE1(config-router-af)# neighbor 20.1.1.2 activate  | Activate the neighbour  | 
PE1(config-router-af)# exit-address-family  | Exit from address family  | 
PE1(config-router)# address-family vpnv4 flowspec  | Enter address family vpnv4 flowspec mode  | 
PE1(config-router-af)# neighbor 6.6.6.6 activate  | Activate the neighbour  | 
PE1(config-router-af)# neighbor 20.1.1.2 activate  | Activate the neighbour  | 
PE1(config-router-af)# exit-address-family  | Exit from address family  | 
PE1(config-router)# address-family ipv4 vrf vrf100  | Enter address family ipv4 vrf vrf name mode  | 
PE1(config-router-af)# redistribute connected  | Enter redistribute connected  | 
PE1(config-router-af)# neighbor 66.1.1.1 remote-as 100  | Enter neighbor ip add with remote-as 100  | 
PE1(config-router-af)# neighbor 66.1.1.1 activate  | Activate the neighbour  | 
PE1(config-router-af)# exit-address-family  | Exit from address family  | 
PE1(config-router)# address-family ipv4 flowspec vrf vrf100  | Enter address family ipv4 flowspec vrf vrf name mode  | 
PE1(config-router-af)# neighbor 66.1.1.1 activate  | Activate the neighbour  | 
PE1(config-router-af)# exit-address-family  | Exit from address family  | 
PE1(config-router)#exit  | Exit from router bgp instance  | 
PE1(config)#commit  | Commits the configuration  | 
RR2
 
RR2#configure terminal  | Enter configure mode.  | 
RR2(config)#router ldp  | Enter router ldp  | 
RR2(config-router)#exit  | Exit from ldp mode  | 
RR2(config)#commit  | Commits the configuration  | 
RR2(config)#interface lo  | Enter interface mode  | 
RR2(config-if)#ip address 2.2.2.2/32 secondary  | Assigned ip add as secondary   | 
RR2(config-if)# ip router isis 1  | Enter isis instance   | 
RR2(config-if)#exit  | Exit from interface mode  | 
RR2(config)#commit  | Commits the configuration  | 
RR2(config)#interface ce43  | Enter interface mode  | 
RR2(config-if)# speed 40g  | Set the speed  | 
RR2(config-if)# ip address 11.1.1.2/24  | Assign the ip add  | 
RR2(config-if)# label-switching  | Enable label switching  | 
RR2(config-if)# ip router isis 1  | Enter router isis instance  | 
RR2(config-if)# enable-ldp ipv4  | Enable ldp ipv4  | 
RR2(config-if)#exit  | Exit from interface mode  | 
RR2(config)#commit  | Commits the configuration  | 
RR2(config)#interface xe7  | Enter interface mode  | 
RR2(config-if)# ip address 20.1.1.2/24  | Assign the ip add  | 
RR2(config-if)# label-switching  | Enable label switching  | 
RR2(config-if)# ip router isis 1  | Enter router isis instance  | 
RR2(config-if)# enable-ldp ipv4  | Enable ldp ipv4  | 
RR2(config-if)#exit  | Exit from interface mode  | 
RR2(config)#commit  | Commits the configuration  | 
RR2(config)#router isis 1  | Configure isis instance  | 
RR2(config-router)# is-type level-1-2  | Configure is-type-level-1-2  | 
RR2(config-router)# metric-style wide  | Configure metric style wide  | 
RR2(config-router)# mpls traffic-eng router-id 2.2.2.2  | Configure router id  | 
RR2(config-router)# mpls traffic-eng level-1  | Configure traffic engg level-1  | 
RR2(config-router)# mpls traffic-eng level-2  | Configure traffic engg level-2  | 
RR2(config-router)# dynamic-hostname  | Configure hostname  | 
RR2(config-router)# bfd all-interfaces  | Enable bfd all interfaces  | 
RR2(config-router)# net 49.0000.0000.0002.00  | Configure network id  | 
RR2(config-router)#exit  | Exit from isis instance mode  | 
RR2(config)#commit  | Commits the configuration  | 
RR2(config)#router bgp 65000  | Configure router bgp instance  | 
RR2(config-router)# no bgp inbound-route-filter  | Configure no bgp inbound route filter  | 
RR2(config-router)# neighbor 11.1.1.1 remote-as 65000  | Configure neighbor ip address remote as 65000  | 
RR2(config-router)# neighbor 20.1.1.1 remote-as 65000  | Configure neighbor ip address remote as 65000  | 
RR2(config-router)# address-family ipv4 unicast  | Enter address family ipv4 unicast mode  | 
RR2(config-router-af)# neighbor 11.1.1.1 activate  | Activate the neighbour  | 
RR2(config-router-af)# neighbor 11.1.1.1 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR2(config-router-af)# neighbor 20.1.1.1 activate  | Activate the neighbour  | 
RR2(config-router-af)# neighbor 20.1.1.1 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR2(config-router-af)# exit-address-family  | Exit from address family  | 
RR2(config-router)# address-family vpnv4 unicast  | Enter address family vpnv4 unicast mode  | 
RR2(config-router-af)# neighbor 11.1.1.1 activate  | Activate the neighbour  | 
RR2(config-router-af)# neighbor 11.1.1.1 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR2(config-router-af)# neighbor 20.1.1.1 activate  | Activate the neighbour  | 
RR2(config-router-af)# neighbor 20.1.1.1 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR2(config-router-af)# exit-address-family  | Exit from address family  | 
RR2(config-router)# address-family ipv4 flowspec  | Enter the address family ipv4 flowspec mode  | 
RR2(config-router-af)# neighbor 11.1.1.1 activate  | Activate the neighbour  | 
RR2(config-router-af)# neighbor 11.1.1.1 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR2(config-router-af)# neighbor 20.1.1.1 activate  | Activate the neighbour  | 
RR2(config-router-af)# neighbor 20.1.1.1 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR2(config-router-af)# exit-address-family  | Exit from address family  | 
RR2(config-router)# address-family vpnv4 flowspec  | Enter address family vpnv4 flowspec mode  | 
RR2(config-router-af)# neighbor 11.1.1.1 activate  | Activate the neighbour  | 
RR2(config-router-af)# neighbor 11.1.1.1 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR2(config-router-af)# neighbor 20.1.1.1 activate  | Activate the neighbour  | 
RR2(config-router-af)# neighbor 20.1.1.1 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR2(config-router-af)# exit-address-family  | Exit from address family mode  | 
RR2(config-router)#exit  | Exit from router bgp instance mode  | 
RR2(config)#commit  |    | 
RR1
 
RR1#configure terminal  | Enter configure mode.  | 
RR1(config)#router ldp  | Enter router ldp  | 
RR1(config-router)#exit  | Exit from ldp mode  | 
RR1(config)#commit  | Commits the configuration  | 
RR1(config)#interface lo  | Enter the interface mode  | 
RR1(config-if)# ip address 6.6.6.6/32 secondary  | Assign the ip address secondary   | 
RR1(config-if)# ip router isis 1  | Enter router isis instance  | 
RR1(config-if)#exit  | Exit from interface mode  | 
RR1(config)#commit  | Commits the configuration  | 
RR1(config)#interface ce4  | Enter the interface mode  | 
RR1(config-if)# ip address 50.1.1.2/24  | Assign the ip add  | 
RR1(config-if)# label-switching  | Enable label switching  | 
RR1(config-if)# ip router isis 1  | Enter router isis instance  | 
RR1(config-if)# enable-ldp ipv4  | Enable ldp ipv4  | 
RR1(config-if)#exit  | Exit from interface mode  | 
RR1(config)#commit  | Commits the configuration  | 
RR1(config)#interface ce6  | Enter the interface mode  | 
RR1(config-if)# ip address 40.1.1.2/24  | Assign the ip add  | 
RR1(config-if)# label-switching  | Enable label switching  | 
RR1(config-if)# ip router isis 1  | Enter router isis instance  | 
RR1(config-if)# enable-ldp ipv4  | Enable ldp ipv4  | 
RR1(config-if)#exit  | Exit from interface mode  | 
RR1(config)#commit  | Commits the configuration  | 
RR1(config)#router isis 1  | Configure isis instance  | 
RR1(config-router)# is-type level-1-2  | Configure is-type-level-1-2  | 
RR1(config-router)# metric-style wide  | Configure metric style wide  | 
RR1(config-router)# mpls traffic-eng router-id 6.6.6.6  | Configure router id  | 
RR1(config-router)# mpls traffic-eng level-1  | Configure traffic engg level-1  | 
RR1(config-router)# mpls traffic-eng level-2  | Configure traffic engg level-2  | 
RR1(config-router)# dynamic-hostname  | Configure hostname  | 
RR1(config-router)# bfd all-interfaces  | Enable bfd all interfaces  | 
RR1(config-router)# net 49.0000.0000.0006.00  | Configure network id  | 
RR1(config-router)#exit  | Exit from isis instance mode  | 
RR1(config)#commit  | Commits the configuration  | 
RR1(config)#router bgp 65000  | Configure router bgp instance  | 
RR1(config-router)# no bgp inbound-route-filter  | Configure no bgp inbound route filter  | 
RR1(config-router)# neighbor 1.1.1.1 remote-as 65000  | Configure neighbor ip address remote as 65000  | 
RR1(config-router)# neighbor 3.3.3.3 remote-as 65000  | Configure neighbor ip address remote as 65000  | 
RR1(config-router)# neighbor 1.1.1.1 update-source lo  | Configure neighbor ip address with update loopback  | 
RR1(config-router)# neighbor 3.3.3.3 update-source lo  | Configure neighbor ip address with update loopback  | 
RR1(config-router)# address-family ipv4 unicast  | Enter address family ipv4 unicast mode  | 
RR1(config-router-af)# neighbor 1.1.1.1 activate  | Activate the neighbour  | 
RR1(config-router-af)# neighbor 1.1.1.1 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR1(config-router-af)# neighbor 3.3.3.3 activate  | Activate the neighbour  | 
RR1(config-router-af)# neighbor 3.3.3.3 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR1(config-router-af)# exit-address-family  | Exit from address family  | 
RR1(config-router)# address-family vpnv4 unicast  | Enter address family vpnv4 unicast mode  | 
RR1(config-router-af)# neighbor 1.1.1.1 activate  | Activate the neighbour  | 
RR1(config-router-af)# neighbor 1.1.1.1 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR1(config-router-af)# neighbor 3.3.3.3 activate  | Activate the neighbour  | 
RR1(config-router-af)# neighbor 3.3.3.3 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR1(config-router-af)# exit-address-family  | Exit from address family  | 
RR1(config-router)# address-family ipv4 flowspec  | Enter the address family ipv4 flowspec mode  | 
RR1(config-router-af)# neighbor 1.1.1.1 activate  | Activate the neighbour  | 
RR1(config-router-af)# neighbor 1.1.1.1 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR1(config-router-af)# neighbor 3.3.3.3 activate  | Activate the neighbour  | 
RR1(config-router-af)# neighbor 3.3.3.3 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR1(config-router-af)# exit-address-family  | Exit from address family  | 
RR1(config-router)# address-family vpnv4 flowspec  | Enter address family vpnv4 flowspec mode  | 
RR1(config-router-af)# neighbor 1.1.1.1 activate  | Activate the neighbour  | 
RR1(config-router-af)# neighbor 1.1.1.1 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR1(config-router-af)# neighbor 3.3.3.3 activate  | Activate the neighbour  | 
RR1(config-router-af)# neighbor 3.3.3.3 route-reflector-client  | Enable the neighbor ip add as route reflector client  | 
RR1(config-router-af)# exit-address-family  | Exit from address family mode  | 
RR1(config-router)#exit  | Exit from router bgp instance mode  | 
RR1(config)#commit  |    | 
PE2
 
PE2#configure terminal  | Enter configure mode.  | 
PE2(config)#router ldp  | Enter vrf vrf name  | 
PE2(config-router)# targeted-peer ipv4 1.1.1.1  | Enter rd value  | 
PE2(config-router-targeted-peer)#exit-targeted-peer-mode  | Enter router targeted as both   | 
PE2(config-router)#exit  | Exit from vrf mode  | 
PE2(config)#commit  | Commits the configuration  | 
PE2(config)#ip vrf vrf100  | Enter vrf vrf name  | 
PE2(config-vrf)# rd 100:1  | Enter rd value  | 
PE2(config-vrf)# route-target both 100:1  | Enter router targeted as both   | 
PE2(config-vrf)#exit  | Exit from vrf mode  | 
PE2(config)#commit  | Commits the configuration  | 
PE2(config)#ip vrf vrf101  | Enter vrf vrf name  | 
PE2(config-vrf)# rd 101:1  | Enter rd value  | 
PE2(config-vrf)# route-target both 101:1  | Enter router targeted as both   | 
PE2(config-vrf)#exit  | Exit from vrf mode  | 
PE2(config)#commit  | Commits the configuration  | 
PE2(config)#class-map type traffic match-all cl1  | Configure class map with class name  | 
PE2(config-cmap-tr)# match destination-address ipv4 1.1.1.1/32  | Configure match with destination ip address  | 
PE2(config-cmap-tr)# match source-address ipv4 3.3.3.3/32  | Enable match with source ip address  | 
PE2(config-cmap-tr)# match port 111-222  | Enable match with port range  | 
PE2(config-cmap-tr)# match destination-port 300-399  | Enable match with destination-port range  | 
PE2(config-cmap-tr)# match source-port 230-299  | Enable match with source-port range  | 
PE2(config-cmap-tr)#exit  | Exit from class map traffic  | 
PE2(config)#commit  | Commits the configuration  | 
PE2(config)#policy-map type pbr pol1  | Configure policy map type pbr with policy name  | 
PE2(config-pmap-pbr)# class type traffic cl1  | Enable class type traffic with class map name  | 
PE2(config-pmap-pbr-c)#  police rate 1111111 bps  | Enable policy rate  | 
PE2(config-pmap-pbr-c)#exit  | Exit from polocy map traffic  | 
PE2(config-pmap-pbr)#exit  | Exit from policy map  | 
PE2(config)#commit  | Commits the configuration  | 
PE2(config)#flowspec  | Configure flowspec   | 
PE2(config-flowspec)# address-family ipv4  | Enter address-family mode with ipv4   | 
PE2(config-flowspec-af)#  service-policy type pbr pol1  | Enable service plocy type pbr with policy name  | 
PE2(config-flowspec-af)#exit  | Exit from address family mode  | 
PE2(config-flowspec)#exit  | Exit from flowspec mode  | 
PE2(config)#commit  | Commits the configuration  | 
PE2(config)#interface lo  | Enter the loopback interface  | 
PE2(config-if)# ip address 3.3.3.3/32 secondary  | Assign the ip add secondary   | 
PE2(config-if)# ip router isis 1  | Enable router isis instance  | 
PE2(config-if)#exit  | Exit from interface mode  | 
PE2(config)#commit  | Commits the configuration  | 
PE2(config)#interface ce4  | Enter the interface mode  | 
PE2(config-if)# ip address 50.1.1.1/24  | Assign the ip add  | 
PE2(config-if)# label-switching  | Enable label switching  | 
PE2(config-if)# ip router isis 1  | Enter router isis instance  | 
PE2(config-if)# enable-ldp ipv4  | Enable ldp ipv4  | 
PE2(config-if)#exit  | Exit from interface mode  | 
PE2(config)#commit  | Commits the configuration  | 
PE2(config)#interface ce43  | Enter the interface mode  | 
PE2(config-if)# speed 40g  | Set the interface speed  | 
PE2(config-if)# ip address 11.1.1.1/24  | Assign the ip add  | 
PE2(config-if)# label-switching  | Enable label switching  | 
PE2(config-if)# ip router isis 1  | Enter router isis instance  | 
PE2(config-if)#enable-ldp ipv4  | Enable ldp ipv4  | 
PE2(config-if)#exit  | Exit from interface mode  | 
PE2(config)#commit  | Commits the configuration  | 
PE2(config)#interface ce6  | Enter the interface mode  | 
PE2(config-if)# ip address 30.1.1.2/24  | Assign the ip add  | 
PE2(config-if)#exit  | Exit from interface mode  | 
PE2(config)#commit  | Commits the configuration  | 
PE2(config)#interface ce6.10  | Enter the sub-interface mode  | 
PE2(config-if)# encapsulation dot1q 10  | Enable encapsulate dot1q vlan id  | 
PE2(config-if)# ip vrf forwarding vrf100  | Enable brf forwarding vrf name  | 
PE2(config-if)# ip address 55.1.1.1/24  | Assign the ip add  | 
PE2(config-if)#exit  | Exit from interface mode  | 
PE2(config)#commit  | Commits the configuration  | 
PE2(config)#router isis 1  | Configure isis instance  | 
PE2(config-router)# is-type level-1-2  | Configure is-type-level-1-2  | 
PE2(config-router)# metric-style wide  | Configure metric style wide  | 
PE2(config-router)# mpls traffic-eng router-id 3.3.3.3  | Configure router id  | 
PE2(config-router)# mpls traffic-eng level-1  | Configure traffic engg level-1  | 
PE2(config-router)# mpls traffic-eng level-2  | Configure traffic engg level-2  | 
PE2(config-router)# dynamic-hostname  | Configure hostname  | 
PE2(config-router)# bfd all-interfaces  | Enable bfd all interfaces  | 
PE2(config-router)# net 49.0000.0000.0003.00  | Configure network id  | 
PE2(config-router)# passive-interface lo  | Configure passive interface as loopback  | 
PE2(config-router)#exit  | Exit from isis instance mode  | 
PE2(config)#commit  | Commits the configuration  | 
PE2(config)#router bgp 65000  | Configure bgp instance  | 
PE2(config-router)# neighbor 6.6.6.6 remote-as 65000  | Enable neighbour address with remote-as 65000  | 
PE2(config-router)# neighbor 11.1.1.2 remote-as 65000  | Enable neighbour address with remote-as 65000  | 
PE2(config-router)# neighbor 30.1.1.1 remote-as 200  | Enable neighbour address with remote-as 300  | 
PE2(config-router)# neighbor 6.6.6.6 update-source lo  | Enable neighbour address with update loopback  | 
PE2(config-router)# address-family ipv4 unicast  | Enter address family ipv4 mode  | 
PE2(config-router-af)# neighbor 6.6.6.6 activate  | Activate the neighbour  | 
PE2(config-router-af)# neighbor 6.6.6.6 next-hop-self  | Enter neighbor ip add with next hop self  | 
PE2(config-router-af)# neighbor 11.1.1.2 activate  | Activate the neighbour  | 
PE2(config-router-af)# neighbor 11.1.1.2 next-hop-self  | Activate the neighbour  | 
PE2(config-router-af)# neighbor 30.1.1.1 activate  | Enter neighbor ip add with next hop self  | 
PE2(config-router-af)# exit-address-family  | Exit from address family  | 
PE2(config-router)# address-family vpnv4 unicast  | Enter address family vpnv4 unicast mode  | 
PE2(config-router-af)# neighbor 6.6.6.6 activate  | Activate the neighbour  | 
PE2(config-router-af)# neighbor 6.6.6.6 next-hop-self  | Enter neighbor ip add with next hop self  | 
PE2(config-router-af)# neighbor 11.1.1.2 activate  | Activate the neighbour  | 
PE2(config-router-af)# neighbor 11.1.1.2 next-hop-self  | Enter neighbor ip add with next hop self  | 
PE2(config-router-af)# exit-address-family  | Exit from address family  | 
PE2(config-router)# address-family ipv4 flowspec  | Enter address family ipv4 flowspec mode  | 
PE2(config-router-af)# neighbor 6.6.6.6 activate  | Activate the neighbour  | 
PE2(config-router-af)# neighbor 11.1.1.2 activate  | Activate the neighbour  | 
PE2(config-router-af)# neighbor 30.1.1.1 activate  | Activate the neighbour  | 
PE2(config-router-af)# exit-address-family  | Exit from address family  | 
PE2(config-router)# address-family vpnv4 flowspec  | Enter address family vpnv4 flowspec mode  | 
PE2(config-router-af)# neighbor 6.6.6.6 activate  | Activate the neighbour  | 
PE2(config-router-af)# neighbor 11.1.1.2 activate  | Activate the neighbour  | 
PE2(config-router-af)# exit-address-family  | Exit from address family  | 
PE2(config-router)# address-family ipv4 vrf vrf100  | Enter address family ipv4 vrf vrf name mode  | 
PE2(config-router-af)# redistribute connected  | Enter redistribute connected  | 
PE2(config-router-af)# neighbor 55.1.1.2 remote-as 200  | Enter neighbor ip add with remote-as 200  | 
PE2(config-router-af)# neighbor 55.1.1.2 activate  | Activate the neighbour  | 
PE2(config-router-af)# exit-address-family  | Exit from address family  | 
PE2(config-router)# address-family ipv4 flowspec vrf vrf100  | Enter address family ipv4 flowspec vrf vrf name mode  | 
PE2(config-router-af)# neighbor 55.1.1.2 activate  | Activate the neighbour  | 
PE2(config-router-af)# exit-address-family  | Exit from address family  | 
PE2(config-router)#exit  | Exit from router bgp instance  | 
PE2(config)#commit  | Commits the configuration  | 
CE2
 
CE2#configure terminal  | Enter configure mode.  | 
CE2(config)#class-map type traffic match-all clas1  | Configure class map with class name  | 
CE2(config-cmap-tr)# match destination-address ipv4 4.4.4.4/32  | Configure match with destination ip address  | 
CE2(config-cmap-tr)# match source-address ipv4 5.5.5.5/32  | Enable match with source ip address  | 
CE2(config-cmap-tr)# match protocol 121  | Enable match with protocol  | 
CE2(config-cmap-tr)# match port 777-888  | Enable match with port  | 
CE2(config-cmap-tr)# match destination-port 1300-1400  | Enable match with destination-port  | 
CE2(config-cmap-tr)# match source-port 1001-1200  | Enable match with source-port  | 
CE2(config-cmap-tr)#exit  | Exit from class map traffic mode  | 
CE2(config)#commit  | Commits the configuration  | 
CE2(config)#class-map type traffic match-all clas2  | Configure class map with class name  | 
CE2(config-cmap-tr)# match destination-address ipv4 30.1.1.0/24  | Configure match with destination ip address  | 
CE2(config-cmap-tr)# match source-address ipv4 30.1.1.0/24  | Enable match with source ip address  | 
CE2(config-cmap-tr)# match protocol 11  | Enable match with protocol  | 
CE2(config-cmap-tr)# match port 100-200  | Enable match with port  | 
CE2(config-cmap-tr)# match destination-port 300-400  | Enable match with destination-port  | 
CE2(config-cmap-tr)# match source-port 500-600  | Enable match with source-port  | 
CE2(config-cmap-tr)# match tcp-flag 21 bit-mask 3f  | Enable match with tcp flag bit  | 
CE2(config-cmap-tr)# match dscp 21  | Enable match with dscp  | 
CE2(config-cmap-tr)#exit  | Exit from class map traffic mode  | 
CE2(config)#commit  | Commits the configuration  | 
CE2(config)#policy-map type pbr pol1  | Configure policy map type pbr with policy name  | 
CE2(config-pmap-pbr)#class type traffic clas1  | Enable class type traffic with class map name  | 
CE2(config-pmap-pbr-c)#police rate 100000 bps  | Enable policy rate  | 
CE2(config-pmap-pbr-c)#exit  | Exit from polocy map traffic  | 
CE2(config-pmap-pbr)#exit  | Exit from policy map  | 
CE2(config)#commit  | Commits the configuration  | 
CE2(config)#policy-map type pbr pol2  | Configure policy map type pbr with policy name  | 
CE2(config-pmap-pbr)# class type traffic clas2  | Enable class type traffic with class map name  | 
CE2(config-pmap-pbr-c)#  police rate 500000 bps  | Enable policy rate  | 
CE2(config-pmap-pbr-c)#  set dscp 1e  | Ser the dscp valu  | 
CE2(config-pmap-pbr-c)#exit  | Exit from polocy map traffic  | 
CE2(config-pmap-pbr)#exit  | Exit from policy map  | 
CE2(config)#commit  | Commits the configuration  | 
CE2(config)#flowspec  | Configure flowspec   | 
CE2(config-flowspec)# address-family ipv4  | Enter address-family mode with ipv4   | 
CE2(config-flowspec-af)#  service-policy type pbr pol1  | Enable service plocy type pbr with policy name  | 
CE2(config-flowspec-af)#  service-policy type pbr pol2  | Enable service plocy type pbr with policy name  | 
CE2(config-flowspec-af)#exit  | Exit from address family mode  | 
CE2(config-flowspec)#exit  | Exit from flowspec mode   | 
CE2(config)#commit  | Commits the configuration  | 
CE2(config)#interface lo  |    | 
   | Enter interface mode  | 
CE2(config-if)# ip address 5.5.5.5/32 secondary  | Assign the ip address secondary   | 
CE2(config-if)# ip router isis 1  | Enter router isis instance  | 
CE2(config-if)#exit  | Exit from interface mode  | 
CE2(config)#commit  | Commits the configuration  | 
CE2(config)#interface ce49  | Enter interface mode  | 
CE2(config-if)# ip address 30.1.1.1/24  | Assign the ip address  | 
CE2(config-if)#exit  | Exit from interface mode  | 
CE2(config)#commit  | Commits the configuration  | 
CE2-7025(config)#interface ce49.10  | Enter sub-interface mode  | 
CE2-7025(config-if)# encapsulation dot1q 10  | Enable encapsulate dot1q vlan id  | 
CE2-7025(config-if)# ip address 55.1.1.2/24  | Assign the ip address  | 
CE2-7025(config-if)#exit  | Exit from interface mode  | 
CE2-7025(config)#commit  | Commits the configuration  | 
CE2(config)#router bgp 200  | Configure bgp instance  | 
CE2(config-router)# neighbor 30.1.1.2 remote-as 65000  | Enable neighbour address with remote-as 65000  | 
CE2(config-router)# neighbor 55.1.1.1 remote-as 65000  | Enable neighbour address with remote-as 65000  | 
CE2(config-router)# address-family ipv4 unicast  | Enter address family ipv4 unicast mode  | 
CE2(config-router-af)# redistribute connected  | Enter redistribute connected  | 
CE2(config-router-af)# neighbor 30.1.1.2 activate  | Activate the neighbour  | 
CE2(config-router-af)# neighbor 55.1.1.1 activate  | Activate the neighbour  | 
CE2(config-router-af)# exit-address-family  | Exit from address family mode  | 
CE2(config-router)# address-family ipv4 flowspec  | Enter address family ipv4 flowspec mode  | 
CE2(config-router-af)# neighbor 30.1.1.2 activate  | Activate the neighbour  | 
CE2(config-router-af)# neighbor 55.1.1.1 activate  | Exit from address family  | 
CE2(config-router-af)# exit-address-family  | Exit from router bgp mode  | 
CE2(config-router)#exit  | Exit from router bgp instance  | 
CE2(config)#commit  | Commits the configuration  | 
Validation
CE1
 
CE1#sh ip bgp
BGP table version is 3, local router ID is 4.4.4.4
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>   4.4.4.4/32       0.0.0.0              0        100       32768  ?
*>   5.5.5.5/32       10.1.1.2             0        100       0   65000 200 ?
*                     66.1.1.2             0        100       0   65000 200 ?
*>   10.1.1.0/24      0.0.0.0              0        100       32768  ?
*>   30.1.1.0/24      10.1.1.2             0        100       0   65000 200 ?
*                     66.1.1.2             0        100       0   65000 200 ?
*>   55.1.1.0/24      66.1.1.2             0        100       0   65000 ?
*                     10.1.1.2             0        100       0   65000 200 ?
*>   66.1.1.0/24      0.0.0.0              0        100       32768  ?
*                     66.1.1.2             0        100       0   65000 ?
*>   100.1.1.0/24     0.0.0.0              0        100       32768  ?
*>   200.1.1.0        10.1.1.2             0        100       0   65000 200 ?
*                     66.1.1.2             0        100       0   65000 200 ?
 
Total number of prefixes 8
CE1#
 
CE1#sh ip bgp neighbors
BGP neighbor is 10.1.1.2, remote AS 65000, local AS 100, external link
  BGP version 4, local router ID 4.4.4.4, remote router ID 1.1.1.1
  BGP state = Established, up for 03:06:16
  Last read 00:00:05, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
  Received 447 messages, 0 notifications, 0 in queue
  Sent 444 messages, 1 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 30 seconds
 
For address family: IPv4 Unicast  BGP table version 3, neighbor version 3
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  5 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 2, neighbor version 2
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 10.1.1.1, Local port: 179
Foreign host: 10.1.1.2, Foreign port: 37390
Nexthop: 10.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:06:16, due to OPEN Message Error (Notification sent)
Notification Error Message: (OPEN Message Error/Bad BGP Identifier. Reason: )
 
BGP neighbor is 66.1.1.2, remote AS 65000, local AS 100, external link
  BGP version 4, local router ID 4.4.4.4, remote router ID 66.1.1.2
  BGP state = Established, up for 03:06:15
  Last read 00:00:07, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
  Received 446 messages, 0 notifications, 0 in queue
  Sent 446 messages, 1 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 30 seconds
 
For address family: IPv4 Unicast  BGP table version 3, neighbor version 3
  Index 2, Offset 0, Mask 0x4
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  5 accepted prefixes
  7 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 2, neighbor version 2
  Index 2, Offset 0, Mask 0x4
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 66.1.1.1, Local port: 53648
Foreign host: 66.1.1.2, Foreign port: 179
Nexthop: 66.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:06:20, due to OPEN Message Error (Notification sent)
Notification Error Message: (OPEN Message Error/Bad BGP Identifier. Reason: )
 
CE1#
CE1#
CE1#sh ip bgp ipv4 flowspec summary
BGP router identifier 4.4.4.4, local AS number 100
BGP table version is 2
3 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
10.1.1.2                 4 65000  447        445       2      0      0  03:06:20               4
66.1.1.2                 4 65000  446        448       2      0      0  03:06:19               2
 
Total number of neighbors 2
 
Total number of Established sessions 2
CE1#
CE1#sh ip bgp ipv4 flowspec
BGP table version is 2, local router ID is 4.4.4.4
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>   flowspec/216     0.0.0.0              0        100       32768  i
*    flowspec/336     10.1.1.2             0        100       0   65000 200 i
*                     66.1.1.2             0        100       0   65000 200 i
*    flowspec/264     10.1.1.2             0        100       0   65000 i
*    flowspec/392     10.1.1.2             0        100       0   65000 i
*>   flowspec/176     0.0.0.0              0        100       32768  i
*    flowspec/288     10.1.1.2             0        100       0   65000 200 i
*                     66.1.1.2             0        100       0   65000 200 i
 
Total number of prefixes 6
CE1#
CE1#sh ip bgp ipv4 flowspec detail
BGP table version is 2, local router ID is 4.4.4.4
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>   flowspec/216     0.0.0.0              0        100       32768  i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*    flowspec/336     10.1.1.2             0        100       0   65000 200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*                     66.1.1.2             0        100       0   65000 200 i
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*    flowspec/264     10.1.1.2             0        100       0   65000 i
 
  FlowSpec:
    destination ip address: 1.1.1.1/32
    source ip address: 3.3.3.3/32
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:111
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:230
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:299
 
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
*    flowspec/392     10.1.1.2             0        100       0   65000 i
 
  FlowSpec:
    destination ip address: 3.3.3.3/32
    source ip address: 1.1.1.1/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:78
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:101
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:201
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:400
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:499
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:330
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    ICMP code:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
    Packet length:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x10
 
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
*>   flowspec/176     0.0.0.0              0        100       32768  i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*    flowspec/288     10.1.1.2             0        100       0   65000 200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
*                     66.1.1.2             0        100       0   65000 200 i
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 6
CE1#
CE1#
CE1#sh ip bgp ipv4 flowspec vrf all
BGP table version is 2, local router ID is 4.4.4.4
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>   flowspec/216     0.0.0.0              0        100       32768  i
*    flowspec/336     10.1.1.2             0        100       0   65000 200 i
*                     66.1.1.2             0        100       0   65000 200 i
*    flowspec/264     10.1.1.2             0        100       0   65000 i
*    flowspec/392     10.1.1.2             0        100       0   65000 i
*>   flowspec/176     0.0.0.0              0        100       32768  i
*    flowspec/288     10.1.1.2             0        100       0   65000 200 i
*                     66.1.1.2             0        100       0   65000 200 i
 
Total number of prefixes 6
CE1#sh ip bgp ipv4 flowspec vrf all detail
BGP table version is 2, local router ID is 4.4.4.4
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>   flowspec/216     0.0.0.0              0        100       32768  i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*    flowspec/336     10.1.1.2             0        100       0   65000 200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*                     66.1.1.2             0        100       0   65000 200 i
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*    flowspec/264     10.1.1.2             0        100       0   65000 i
 
  FlowSpec:
    destination ip address: 1.1.1.1/32
    source ip address: 3.3.3.3/32
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:111
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:230
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:299
 
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
*    flowspec/392     10.1.1.2             0        100       0   65000 i
 
  FlowSpec:
    destination ip address: 3.3.3.3/32
    source ip address: 1.1.1.1/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:78
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:101
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:201
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:400
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:499
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:330
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    ICMP code:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
    Packet length:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x10
 
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
*>   flowspec/176     0.0.0.0              0        100       32768  i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*    flowspec/288     10.1.1.2             0        100       0   65000 200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
*                     66.1.1.2             0        100       0   65000 200 i
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 6
CE1#
PE1
 
PE1#sh ip bgp
BGP table version is 5, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>   4.4.4.4/32       10.1.1.1             0        100       0   100 ?
*>i  5.5.5.5/32       3.3.3.3              0        100       0   200 ?
* i                   11.1.1.1             0        100       0   200 ?
*    9.9.9.9/32       0.0.0.0              0        100       32768  i
*>   10.1.1.0/24      10.1.1.1             0        100       0   100 ?
*>i  30.1.1.0/24      3.3.3.3              0        100       0   200 ?
* i                   11.1.1.1             0        100       0   200 ?
*>i  55.1.1.0/24      3.3.3.3              0        100       0   200 ?
* i                   11.1.1.1             0        100       0   200 ?
*>   66.1.1.0/24      10.1.1.1             0        100       0   100 ?
*>   100.1.1.0/24     10.1.1.1             0        100       0   100 ?
*>i  200.1.1.0        3.3.3.3              0        100       0   200 ?
* i                   11.1.1.1             0        100       0   200 ?
 
Total number of prefixes 9
PE1#
PE1#sh ip bgp neighbors
BGP neighbor is 6.6.6.6, remote AS 65000, local AS 65000, internal link
  BGP version 4, local router ID 1.1.1.1, remote router ID 6.6.6.6
  BGP state = Established, up for 03:06:53
  Last read 00:00:11, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family VPNv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
    Address family VPNv4 Flow Specification: advertised and received
  Received 448 messages, 0 notifications, 0 in queue
  Sent 445 messages, 1 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
  Update source is lo
 
For address family: IPv4 Unicast  BGP table version 5, neighbor version 5
  Index 1, Offset 0, Mask 0x2
  AIGP is enabled
  NEXT_HOP is always this router
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: VPNv4 Unicast  BGP table version 3, neighbor version 3
  Index 1, Offset 0, Mask 0x2
  AIGP is enabled
  NEXT_HOP is always this router
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 7, neighbor version 7
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  3 accepted prefixes
  3 announced prefixes
 
 
For address family: VPNv4 Flow Specification  BGP table version 2, neighbor version 2
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 1.1.1.1, Local port: 41307
Foreign host: 6.6.6.6, Foreign port: 179
Nexthop: 1.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:06:58, due to OPEN Message Error (Notification sent)
Notification Error Message: (OPEN Message Error/Bad BGP Identifier. Reason: )
 
BGP neighbor is 10.1.1.1, remote AS 100, local AS 65000, external link
  BGP version 4, local router ID 1.1.1.1, remote router ID 4.4.4.4
  BGP state = Established, up for 03:07:28
  Last read 00:00:24, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
  Received 444 messages, 1 notifications, 0 in queue
  Sent 450 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 30 seconds
 
For address family: IPv4 Unicast  BGP table version 5, neighbor version 5
  Index 2, Offset 0, Mask 0x4
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 7, neighbor version 7
  Index 2, Offset 0, Mask 0x4
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  4 announced prefixes
 
 Connections established 1; dropped 0
Local host: 10.1.1.2, Local port: 37390
Foreign host: 10.1.1.1, Foreign port: 179
Nexthop: 10.1.1.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:07:33, due to BGP Notification received
Notification Error Message: (OPEN Message Error/Bad BGP Identifier. Reason: )
 
BGP neighbor is 20.1.1.2, remote AS 65000, local AS 65000, internal link
  BGP version 4, local router ID 1.1.1.1, remote router ID 2.2.2.2
  BGP state = Established, up for 03:06:26
  Last read 00:00:12, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family VPNv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
    Address family VPNv4 Flow Specification: advertised and received
  Received 446 messages, 0 notifications, 0 in queue
  Sent 450 messages, 2 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
 
For address family: IPv4 Unicast  BGP table version 5, neighbor version 5
  Index 3, Offset 0, Mask 0x8
  AIGP is enabled
  NEXT_HOP is always this router
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: VPNv4 Unicast  BGP table version 3, neighbor version 3
  Index 2, Offset 0, Mask 0x4
  AIGP is enabled
  NEXT_HOP is always this router
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 7, neighbor version 7
  Index 3, Offset 0, Mask 0x8
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  3 accepted prefixes
  3 announced prefixes
 
 
For address family: VPNv4 Flow Specification  BGP table version 2, neighbor version 2
  Index 2, Offset 0, Mask 0x4
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 20.1.1.1, Local port: 179
Foreign host: 20.1.1.2, Foreign port: 43160
Nexthop: 20.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:06:26, due to Administratively Reset (Cease Notification sent)
Notification Error Message: (Cease/Administratively Reset.)
 
BGP neighbor is 66.1.1.1, vrf vrf100, remote AS 100, local AS 65000, external link
  BGP version 4, local router ID 66.1.1.2, remote router ID 4.4.4.4
  BGP state = Established, up for 03:07:28
  Last read 00:00:17, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
  Received 449 messages, 1 notifications, 0 in queue
  Sent 451 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 30 seconds
 
For address family: IPv4 Unicast  BGP table version 1, neighbor version 1
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (standard)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  5 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 1, neighbor version 1
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 66.1.1.2, Local port: 179
Foreign host: 66.1.1.1, Foreign port: 53648
Nexthop: 66.1.1.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:07:33, due to BGP Notification received
Notification Error Message: (OPEN Message Error/Bad BGP Identifier. Reason: )
 
PE1#
PE1#
PE1#sh ip bgp ipv4 flowspec summary
BGP router identifier 1.1.1.1, local AS number 65000
BGP table version is 7
3 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
6.6.6.6                  4 65000  448        446       7      0      0  03:07:01               3
10.1.1.1                 4   100  446        451       7      0      0  03:07:36               2
20.1.1.2                 4 65000  446        452       7      0      0  03:06:34               3
 
Total number of neighbors 3
 
Total number of Established sessions 3
BGP router identifier 66.1.1.2, local AS number 65000
BGP VRF vrf100 Route Distinguisher: 100:1
BGP table version is 1
3 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
66.1.1.1                 4   100  451        451       1      0      0  03:07:36               2
 
Total number of neighbors 1
 
Total number of Established sessions 1
PE1#
PE1#
PE1#sh ip bgp ipv4 flowspec
BGP table version is 7, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>   flowspec/216     10.1.1.1             0        100       0   100 i
*>i  flowspec/336     6.6.6.6              0        100       0   200 i
* i                   20.1.1.2             0        100       0   200 i
*>i  flowspec/264     6.6.6.6              0        100       0    i
* i                   20.1.1.2             0        100       0    i
*>   flowspec/392     0.0.0.0              0        100       32768  i
*>   flowspec/176     10.1.1.1             0        100       0   100 i
*>i  flowspec/288     6.6.6.6              0        100       0   200 i
* i                   20.1.1.2             0        100       0   200 i
 
Total number of prefixes 6
PE1#
PE1#sh ip bgp ipv4 flowspec detail
BGP table version is 7, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>   flowspec/216     10.1.1.1             0        100       0   100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>i  flowspec/336     6.6.6.6              0        100       0   200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
* i                   20.1.1.2             0        100       0   200 i
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*>i  flowspec/264     6.6.6.6              0        100       0    i
 
  FlowSpec:
    destination ip address: 1.1.1.1/32
    source ip address: 3.3.3.3/32
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:111
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:230
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:299
 
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
* i                   20.1.1.2             0        100       0    i
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
*>   flowspec/392     0.0.0.0              0        100       32768  i
 
  FlowSpec:
    destination ip address: 3.3.3.3/32
    source ip address: 1.1.1.1/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:78
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:101
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:201
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:400
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:499
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:330
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    ICMP code:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
    Packet length:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x10
 
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
*>   flowspec/176     10.1.1.1             0        100       0   100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>i  flowspec/288     6.6.6.6              0        100       0   200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
* i                   20.1.1.2             0        100       0   200 i
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 6
PE1#
PE1#
PE1#sh ip bgp ipv4 flowspec vrf all
BGP table version is 1, local router ID is 66.1.1.2
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
 
BGP Route Table for VRF vrf100
*>   flowspec/216     66.1.1.1             0        100       0   100 i
*>i  flowspec/336     6.6.6.6              0        100       0   200 i
*>   flowspec/176     66.1.1.1             0        100       0   100 i
*>i  flowspec/288     6.6.6.6              0        100       0   200 i
 
Total number of prefixes 4
*>   flowspec/216     10.1.1.1             0        100       0   100 i
*>i  flowspec/336     6.6.6.6              0        100       0   200 i
* i                   20.1.1.2             0        100       0   200 i
*>i  flowspec/264     6.6.6.6              0        100       0    i
* i                   20.1.1.2             0        100       0    i
*>   flowspec/392     0.0.0.0              0        100       32768  i
*>   flowspec/176     10.1.1.1             0        100       0   100 i
*>i  flowspec/288     6.6.6.6              0        100       0   200 i
* i                   20.1.1.2             0        100       0   200 i
 
Total number of prefixes 6
PE1#
PE1#
PE1#sh ip bgp ipv4 flowspec vrf all detail
BGP table version is 1, local router ID is 66.1.1.2
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
 
BGP Route Table for VRF vrf100
*>   flowspec/216     66.1.1.1             0        100       0   100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>i  flowspec/336     6.6.6.6              0        100       0   200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*>   flowspec/176     66.1.1.1             0        100       0   100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>i  flowspec/288     6.6.6.6              0        100       0   200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 4
*>   flowspec/216     10.1.1.1             0        100       0   100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>i  flowspec/336     6.6.6.6              0        100       0   200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
* i                   20.1.1.2             0        100       0   200 i
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*>i  flowspec/264     6.6.6.6              0        100       0    i
 
  FlowSpec:
    destination ip address: 1.1.1.1/32
    source ip address: 3.3.3.3/32
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:111
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:230
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:299
 
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
* i                   20.1.1.2             0        100       0    i
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
*>   flowspec/392     0.0.0.0              0        100       32768  i
 
  FlowSpec:
    destination ip address: 3.3.3.3/32
    source ip address: 1.1.1.1/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:78
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:101
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:201
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:400
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:499
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:330
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    ICMP code:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
    Packet length:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x10
 
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
*>   flowspec/176     10.1.1.1             0        100       0   100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>i  flowspec/288     6.6.6.6              0        100       0   200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
* i                   20.1.1.2             0        100       0   200 i
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 6
PE1#
PE1#
PE1#sh ip bgp vpnv4 flowspec summary
BGP router identifier 1.1.1.1, local AS number 65000
BGP table version is 2
3 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
6.6.6.6                  4 65000  450        448       2      0      0  03:07:39               2
20.1.1.2                 4 65000  448        453       2      0      0  03:07:12               2
 
Total number of neighbors 2
 
Total number of Established sessions 2
PE1#
PE1#sh ip bgp vpnv4 flowspec vrf vrf100
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
              S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
     Network          Next Hop           Metric    LocPrf     Weight Path
Route Distinguisher: 100:1 (Default for VRF vrf100)
*>   flowspec/216     66.1.1.1             0        100       0   100 i
*>i  flowspec/336     6.6.6.6              0        100       0   200 i
*>   flowspec/176     66.1.1.1             0        100       0   100 i
*>i  flowspec/288     6.6.6.6              0        100       0   200 i
 Announced routes count = 2
 Accepted routes count = 2
PE1#
PE1#sh ip bgp vpnv4 flowspec vrf vrf100 detail
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
              S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
     Network          Next Hop           Metric    LocPrf     Weight Path
Route Distinguisher: 100:1 (Default for VRF vrf100)
*>   flowspec/216     66.1.1.1             0        100       0   100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>i  flowspec/336     6.6.6.6              0        100       0   200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*>   flowspec/176     66.1.1.1             0        100       0   100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>i  flowspec/288     6.6.6.6              0        100       0   200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 Announced routes count = 2
 Accepted routes count = 2
PE1#
RR1
RR1#sh clns neighbors
 
Total number of L1 adjacencies: 2
Total number of L2 adjacencies: 2
Total number of adjacencies: 4
Tag 1:  VRF : default
System Id      Interface   SNPA                State  Holdtime  Type Protocol
PE2            ce4         5c07.5819.4878      Up     27        L1   IS-IS
                                               Up     27        L2   IS-IS
PE1            ce6         b86a.9725.a7ec      Up     9         L1   IS-IS
                                               Up     9         L2   IS-IS
RR1#
 
RR1#sh ip bgp
BGP table version is 3, local router ID is 6.6.6.6
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  4.4.4.4/32       1.1.1.1              0        100       0   100 ?
*>i  5.5.5.5/32       3.3.3.3              0        100       0   200 ?
*>i  10.1.1.0/24      1.1.1.1              0        100       0   100 ?
*>i  30.1.1.0/24      3.3.3.3              0        100       0   200 ?
*>i  55.1.1.0/24      3.3.3.3              0        100       0   200 ?
*>i  66.1.1.0/24      1.1.1.1              0        100       0   100 ?
*>i  100.1.1.0/24     1.1.1.1              0        100       0   100 ?
*>i  200.1.1.0        3.3.3.3              0        100       0   200 ?
 
Total number of prefixes 8
RR1#
RR1#
RR1#sh ip bgp neighbors
BGP neighbor is 1.1.1.1, remote AS 65000, local AS 65000, internal link
  BGP version 4, local router ID 6.6.6.6, remote router ID 1.1.1.1
  BGP state = Established, up for 03:08:38
  Last read 00:00:13, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family VPNv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
    Address family VPNv4 Flow Specification: advertised and received
  Received 449 messages, 1 notifications, 0 in queue
  Sent 454 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
  Update source is lo
 
For address family: IPv4 Unicast  BGP table version 3, neighbor version 3
  Index 1, Offset 0, Mask 0x2
  AIGP is enabled
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: VPNv4 Unicast  BGP table version 3, neighbor version 3
  Index 1, Offset 0, Mask 0x2
  AIGP is enabled
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 5, neighbor version 5
  Index 1, Offset 0, Mask 0x2
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  3 accepted prefixes
  3 announced prefixes
 
 
For address family: VPNv4 Flow Specification  BGP table version 3, neighbor version 3
  Index 1, Offset 0, Mask 0x2
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 6.6.6.6, Local port: 179
Foreign host: 1.1.1.1, Foreign port: 41307
Nexthop: 6.6.6.6
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:08:43, due to BGP Notification received
Notification Error Message: (OPEN Message Error/Bad BGP Identifier. Reason: )
 
BGP neighbor is 3.3.3.3, remote AS 65000, local AS 65000, internal link
  BGP version 4, local router ID 6.6.6.6, remote router ID 3.3.3.3
  BGP state = Established, up for 03:06:51
  Last read 00:00:19, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family VPNv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
    Address family VPNv4 Flow Specification: advertised and received
  Received 446 messages, 0 notifications, 0 in queue
  Sent 446 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
  Update source is lo
 
For address family: IPv4 Unicast  BGP table version 3, neighbor version 3
  Index 2, Offset 0, Mask 0x4
  AIGP is enabled
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: VPNv4 Unicast  BGP table version 3, neighbor version 3
  Index 2, Offset 0, Mask 0x4
  AIGP is enabled
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 5, neighbor version 5
  Index 2, Offset 0, Mask 0x4
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  3 accepted prefixes
  3 announced prefixes
 
 
For address family: VPNv4 Flow Specification  BGP table version 3, neighbor version 3
  Index 2, Offset 0, Mask 0x4
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 6.6.6.6, Local port: 35405
Foreign host: 3.3.3.3, Foreign port: 179
Nexthop: 6.6.6.6
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
 
RR1#
RR1#
RR1#sh ip bgp ipv4 flowspec summary
BGP router identifier 6.6.6.6, local AS number 65000
BGP table version is 5
3 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
1.1.1.1                  4 65000  450        454       5      0      0  03:08:46               3
3.3.3.3                  4 65000  447        447       5      0      0  03:06:59               3
 
Total number of neighbors 2
 
Total number of Established sessions 2
RR1#
RR1#
RR1#sh ip bgp ipv4 flowspec
BGP table version is 5, local router ID is 6.6.6.6
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  flowspec/216     1.1.1.1              0        100       0   100 i
*>i  flowspec/336     3.3.3.3              0        100       0   200 i
*>i  flowspec/264     3.3.3.3              0        100       0    i
*>i  flowspec/392     1.1.1.1              0        100       0    i
*>i  flowspec/176     1.1.1.1              0        100       0   100 i
*>i  flowspec/288     3.3.3.3              0        100       0   200 i
 
Total number of prefixes 6
RR1#
RR1#
RR1#sh ip bgp ipv4 flowspec detail
BGP table version is 5, local router ID is 6.6.6.6
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  flowspec/216     1.1.1.1              0        100       0   100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>i  flowspec/336     3.3.3.3              0        100       0   200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*>i  flowspec/264     3.3.3.3              0        100       0    i
 
  FlowSpec:
    destination ip address: 1.1.1.1/32
    source ip address: 3.3.3.3/32
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:111
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:230
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:299
 
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
*>i  flowspec/392     1.1.1.1              0        100       0    i
 
  FlowSpec:
    destination ip address: 3.3.3.3/32
    source ip address: 1.1.1.1/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:78
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:101
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:201
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:400
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:499
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:330
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    ICMP code:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
    Packet length:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x10
 
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
*>i  flowspec/176     1.1.1.1              0        100       0   100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>i  flowspec/288     3.3.3.3              0        100       0   200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 6
RR1#
RR1#
RR1#sh ip bgp ipv4 flowspec vrf all
BGP table version is 5, local router ID is 6.6.6.6
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  flowspec/216     1.1.1.1              0        100       0   100 i
*>i  flowspec/336     3.3.3.3              0        100       0   200 i
*>i  flowspec/264     3.3.3.3              0        100       0    i
*>i  flowspec/392     1.1.1.1              0        100       0    i
*>i  flowspec/176     1.1.1.1              0        100       0   100 i
*>i  flowspec/288     3.3.3.3              0        100       0   200 i
 
Total number of prefixes 6
RR1#
RR1#sh ip bgp ipv4 flowspec vrf all detail
BGP table version is 5, local router ID is 6.6.6.6
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  flowspec/216     1.1.1.1              0        100       0   100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>i  flowspec/336     3.3.3.3              0        100       0   200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*>i  flowspec/264     3.3.3.3              0        100       0    i
 
  FlowSpec:
    destination ip address: 1.1.1.1/32
    source ip address: 3.3.3.3/32
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:111
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:230
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:299
 
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
*>i  flowspec/392     1.1.1.1              0        100       0    i
 
  FlowSpec:
    destination ip address: 3.3.3.3/32
    source ip address: 1.1.1.1/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:78
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:101
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:201
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:400
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:499
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:330
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    ICMP code:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
    Packet length:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x10
 
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
*>i  flowspec/176     1.1.1.1              0        100       0   100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>i  flowspec/288     3.3.3.3              0        100       0   200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 6
RR1#
RR1#
RR1#sh ip bgp vpnv4 all
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
              S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
     Network          Next Hop           Metric    LocPrf     Weight Path
Route Distinguisher: 100:1
*>i  4.4.4.4/32       1.1.1.1              0        100       0   100 ?
*>i  5.5.5.5/32       3.3.3.3              0        100       0   200 ?
*>i  10.1.1.0/24      1.1.1.1              0        100       0   100 ?
*>i  30.1.1.0/24      3.3.3.3              0        100       0   200 ?
*>i  55.1.1.0/24      3.3.3.3              0        100       0    ?
*>i  66.1.1.0/24      1.1.1.1              0        100       0    ?
*>i  100.1.1.0/24     1.1.1.1              0        100       0   100 ?
*>i  200.1.1.0        3.3.3.3              0        100       0   200 ?
 Announced routes count = 0
 Accepted routes count = 8
RR1#
RR1#
RR1#sh ip bgp vpnv4 flowspec summary
BGP router identifier 6.6.6.6, local AS number 65000
BGP table version is 3
3 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
1.1.1.1                  4 65000  452        456       3      0      0  03:09:22               2
3.3.3.3                  4 65000  448        448       3      0      0  03:07:35               2
 
Total number of neighbors 2
 
Total number of Established sessions 2
RR1#
RR2
 
RR2#sh clns neighbors
 
Total number of L1 adjacencies: 2
Total number of L2 adjacencies: 2
Total number of adjacencies: 4
Tag 1:  VRF : default
System Id      Interface   SNPA                State  Holdtime  Type Protocol
PE1            xe7         b86a.9725.a7c2      Up     6         L1   IS-IS
                                               Up     6         L2   IS-IS
PE2            ce43        5c07.5819.486b      Up     7         L1   IS-IS
                                               Up     7         L2   IS-IS
RR2#
RR2#sh ip bgp
BGP table version is 3, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  4.4.4.4/32       20.1.1.1             0        100       0   100 ?
*>i  5.5.5.5/32       11.1.1.1             0        100       0   200 ?
*>i  10.1.1.0/24      20.1.1.1             0        100       0   100 ?
*>i  30.1.1.0/24      11.1.1.1             0        100       0   200 ?
*>i  55.1.1.0/24      11.1.1.1             0        100       0   200 ?
*>i  66.1.1.0/24      20.1.1.1             0        100       0   100 ?
*>i  100.1.1.0/24     20.1.1.1             0        100       0   100 ?
*>i  200.1.1.0        11.1.1.1             0        100       0   200 ?
 
Total number of prefixes 8
RR2#
RR2#
RR2#sh ip bgp neighbors
BGP neighbor is 11.1.1.1, remote AS 65000, local AS 65000, internal link
  BGP version 4, local router ID 2.2.2.2, remote router ID 3.3.3.3
  BGP state = Established, up for 03:09:46
  Last read 00:00:05, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family VPNv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
    Address family VPNv4 Flow Specification: advertised and received
  Received 458 messages, 0 notifications, 0 in queue
  Sent 457 messages, 2 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
 
For address family: IPv4 Unicast  BGP table version 3, neighbor version 3
  Index 1, Offset 0, Mask 0x2
  AIGP is enabled
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: VPNv4 Unicast  BGP table version 4, neighbor version 4
  Index 1, Offset 0, Mask 0x2
  AIGP is enabled
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 5, neighbor version 5
  Index 1, Offset 0, Mask 0x2
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  3 accepted prefixes
  3 announced prefixes
 
 
For address family: VPNv4 Flow Specification  BGP table version 3, neighbor version 3
  Index 1, Offset 0, Mask 0x2
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 11.1.1.2, Local port: 179
Foreign host: 11.1.1.1, Foreign port: 41446
Nexthop: 11.1.1.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:09:46, due to Administratively Reset (Cease Notification sent)
Notification Error Message: (Cease/Administratively Reset.)
 
BGP neighbor is 20.1.1.1, remote AS 65000, local AS 65000, internal link
  BGP version 4, local router ID 2.2.2.2, remote router ID 1.1.1.1
  BGP state = Established, up for 03:10:17
  Last read 00:00:23, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family VPNv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
    Address family VPNv4 Flow Specification: advertised and received
  Received 457 messages, 1 notifications, 0 in queue
  Sent 457 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
 
For address family: IPv4 Unicast  BGP table version 3, neighbor version 3
  Index 2, Offset 0, Mask 0x4
  AIGP is enabled
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: VPNv4 Unicast  BGP table version 4, neighbor version 4
  Index 2, Offset 0, Mask 0x4
  AIGP is enabled
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 5, neighbor version 5
  Index 2, Offset 0, Mask 0x4
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  3 accepted prefixes
  3 announced prefixes
 
 
For address family: VPNv4 Flow Specification  BGP table version 3, neighbor version 3
  Index 2, Offset 0, Mask 0x4
  Route-Reflector Client
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 20.1.1.2, Local port: 43160
Foreign host: 20.1.1.1, Foreign port: 179
Nexthop: 20.1.1.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:10:22, due to BGP Notification received
Notification Error Message: (OPEN Message Error/Bad BGP Identifier. Reason: )
 
RR2#
RR2#
RR2#sh ip bgp ipv4 flowspec summary
BGP router identifier 2.2.2.2, local AS number 65000
BGP table version is 5
3 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
11.1.1.1                 4 65000  458        459       5      0      0  03:09:54               3
20.1.1.1                 4 65000  459        457       5      0      0  03:10:25               3
 
Total number of neighbors 2
 
Total number of Established sessions 2
RR2#
RR2#sh ip bgp ipv4 flowspec
BGP table version is 5, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  flowspec/216     20.1.1.1             0        100       0   100 i
*>i  flowspec/336     11.1.1.1             0        100       0   200 i
*>i  flowspec/264     11.1.1.1             0        100       0    i
*>i  flowspec/392     20.1.1.1             0        100       0    i
*>i  flowspec/176     20.1.1.1             0        100       0   100 i
*>i  flowspec/288     11.1.1.1             0        100       0   200 i
 
Total number of prefixes 6
RR2#
RR2#
RR2#sh ip bgp ipv4 flowspec detail
BGP table version is 5, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  flowspec/216     20.1.1.1             0        100       0   100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>i  flowspec/336     11.1.1.1             0        100       0   200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*>i  flowspec/264     11.1.1.1             0        100       0    i
 
  FlowSpec:
    destination ip address: 1.1.1.1/32
    source ip address: 3.3.3.3/32
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:111
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:230
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:299
 
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
*>i  flowspec/392     20.1.1.1             0        100       0    i
 
  FlowSpec:
    destination ip address: 3.3.3.3/32
    source ip address: 1.1.1.1/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:78
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:101
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:201
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:400
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:499
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:330
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    ICMP code:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
    Packet length:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x10
 
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
*>i  flowspec/176     20.1.1.1             0        100       0   100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>i  flowspec/288     11.1.1.1             0        100       0   200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 6
RR2#
RR2#
RR2#sh ip bgp ipv4 flowspec vrf all
BGP table version is 5, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  flowspec/216     20.1.1.1             0        100       0   100 i
*>i  flowspec/336     11.1.1.1             0        100       0   200 i
*>i  flowspec/264     11.1.1.1             0        100       0    i
*>i  flowspec/392     20.1.1.1             0        100       0    i
*>i  flowspec/176     20.1.1.1             0        100       0   100 i
*>i  flowspec/288     11.1.1.1             0        100       0   200 i
 
Total number of prefixes 6
RR2#
RR2#sh ip bgp ipv4 flowspec vrf all detail
BGP table version is 5, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  flowspec/216     20.1.1.1             0        100       0   100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>i  flowspec/336     11.1.1.1             0        100       0   200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*>i  flowspec/264     11.1.1.1             0        100       0    i
 
  FlowSpec:
    destination ip address: 1.1.1.1/32
    source ip address: 3.3.3.3/32
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:111
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:230
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:299
 
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
*>i  flowspec/392     20.1.1.1             0        100       0    i
 
  FlowSpec:
    destination ip address: 3.3.3.3/32
    source ip address: 1.1.1.1/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:78
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:101
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:201
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:400
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:499
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:330
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    ICMP code:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
    Packet length:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x10
 
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
*>i  flowspec/176     20.1.1.1             0        100       0   100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>i  flowspec/288     11.1.1.1             0        100       0   200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 6
RR2#
RR2#
RR2#sh ip bgp vpnv4 all
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
              S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
     Network          Next Hop           Metric    LocPrf     Weight Path
Route Distinguisher: 100:1
*>i  4.4.4.4/32       20.1.1.1             0        100       0   100 ?
*>i  5.5.5.5/32       11.1.1.1             0        100       0   200 ?
*>i  10.1.1.0/24      20.1.1.1             0        100       0   100 ?
*>i  30.1.1.0/24      11.1.1.1             0        100       0   200 ?
*>i  55.1.1.0/24      11.1.1.1             0        100       0    ?
*>i  66.1.1.0/24      20.1.1.1             0        100       0    ?
*>i  100.1.1.0/24     20.1.1.1             0        100       0   100 ?
*>i  200.1.1.0        11.1.1.1             0        100       0   200 ?
 Announced routes count = 0
 Accepted routes count = 8
RR2#
RR2#sh ip bgp vpnv4 flowspec summary
BGP router identifier 2.2.2.2, local AS number 65000
BGP table version is 3
3 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
11.1.1.1                 4 65000  460        460       3      0      0  03:10:38               2
20.1.1.1                 4 65000  460        459       3      0      0  03:11:09               2
 
Total number of neighbors 2
 
Total number of Established sessions 2
RR2#
 
PE2
 
PE2#sh clns neighbors
 
Total number of L1 adjacencies: 2
Total number of L2 adjacencies: 2
Total number of adjacencies: 4
Tag 1:  VRF : default
System Id      Interface   SNPA                State  Holdtime  Type Protocol
RR2            ce43        3417.ebe4.af2c      Up     27        L1   IS-IS
                                               Up     27        L2   IS-IS
RR1            ce4         5c07.5871.205c      Up     8         L1   IS-IS
                                               Up     8         L2   IS-IS
PE2#
PE2#sh ip bgp
BGP table version is 4, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  4.4.4.4/32       1.1.1.1              0        100       0   100 ?
* i                   20.1.1.1             0        100       0   100 ?
*>   5.5.5.5/32       30.1.1.1             0        100       0   200 ?
*>i  10.1.1.0/24      1.1.1.1              0        100       0   100 ?
* i                   20.1.1.1             0        100       0   100 ?
*>   30.1.1.0/24      30.1.1.1             0        100       0   200 ?
*>   55.1.1.0/24      30.1.1.1             0        100       0   200 ?
*>i  66.1.1.0/24      1.1.1.1              0        100       0   100 ?
* i                   20.1.1.1             0        100       0   100 ?
*>i  100.1.1.0/24     1.1.1.1              0        100       0   100 ?
* i                   20.1.1.1             0        100       0   100 ?
*>   200.1.1.0        30.1.1.1             0        100       0   200 ?
 
Total number of prefixes 8
PE2#
PE2#sh ip bgp neighbors
BGP neighbor is 6.6.6.6, remote AS 65000, local AS 65000, internal link
  BGP version 4, local router ID 3.3.3.3, remote router ID 6.6.6.6
  BGP state = Established, up for 03:12:03
  Last read 00:00:28, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family VPNv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
    Address family VPNv4 Flow Specification: advertised and received
  Received 459 messages, 0 notifications, 0 in queue
  Sent 459 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
  Update source is lo
 
For address family: IPv4 Unicast  BGP table version 4, neighbor version 4
  Index 1, Offset 0, Mask 0x2
  AIGP is enabled
  NEXT_HOP is always this router
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: VPNv4 Unicast  BGP table version 3, neighbor version 3
  Index 1, Offset 0, Mask 0x2
  AIGP is enabled
  NEXT_HOP is always this router
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 6, neighbor version 6
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  3 accepted prefixes
  3 announced prefixes
 
 
For address family: VPNv4 Flow Specification  BGP table version 3, neighbor version 3
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 3.3.3.3, Local port: 179
Foreign host: 6.6.6.6, Foreign port: 35405
Nexthop: 3.3.3.3
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
 
BGP neighbor is 11.1.1.2, remote AS 65000, local AS 65000, internal link
  BGP version 4, local router ID 3.3.3.3, remote router ID 2.2.2.2
  BGP state = Established, up for 03:12:52
  Last read 00:00:26, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family VPNv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
    Address family VPNv4 Flow Specification: advertised and received
  Received 462 messages, 1 notifications, 0 in queue
  Sent 467 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
 
For address family: IPv4 Unicast  BGP table version 4, neighbor version 4
  Index 2, Offset 0, Mask 0x4
  AIGP is enabled
  NEXT_HOP is always this router
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: VPNv4 Unicast  BGP table version 3, neighbor version 3
  Index 2, Offset 0, Mask 0x4
  AIGP is enabled
  NEXT_HOP is always this router
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 6, neighbor version 6
  Index 2, Offset 0, Mask 0x4
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  3 accepted prefixes
  3 announced prefixes
 
 
For address family: VPNv4 Flow Specification  BGP table version 3, neighbor version 3
  Index 2, Offset 0, Mask 0x4
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 11.1.1.1, Local port: 41446
Foreign host: 11.1.1.2, Foreign port: 179
Nexthop: 11.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:12:57, due to BGP Notification received
Notification Error Message: (OPEN Message Error/Bad BGP Identifier. Reason: )
 
BGP neighbor is 30.1.1.1, remote AS 200, local AS 65000, external link
  BGP version 4, local router ID 3.3.3.3, remote router ID 5.5.5.5
  BGP state = Established, up for 03:12:27
  Last read 00:00:05, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
  Received 456 messages, 0 notifications, 0 in queue
  Sent 463 messages, 1 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 30 seconds
 
For address family: IPv4 Unicast  BGP table version 4, neighbor version 4
  Index 3, Offset 0, Mask 0x8
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  4 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 6, neighbor version 6
  Index 3, Offset 0, Mask 0x8
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  4 announced prefixes
 
 Connections established 1; dropped 0
Local host: 30.1.1.2, Local port: 179
Foreign host: 30.1.1.1, Foreign port: 41276
Nexthop: 30.1.1.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:12:27, due to OPEN Message Error (Notification sent)
Notification Error Message: (OPEN Message Error/Bad BGP Identifier. Reason: )
 
BGP neighbor is 55.1.1.2, vrf vrf100, remote AS 200, local AS 65000, external link
  BGP version 4, local router ID 55.1.1.1, remote router ID 5.5.5.5
  BGP state = Established, up for 03:12:27
  Last read 00:00:05, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
  Received 460 messages, 0 notifications, 0 in queue
  Sent 460 messages, 1 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 30 seconds
 
For address family: IPv4 Unicast  BGP table version 1, neighbor version 1
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (standard)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  5 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 1, neighbor version 1
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 55.1.1.1, Local port: 40660
Foreign host: 55.1.1.2, Foreign port: 179
Nexthop: 55.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:12:32, due to OPEN Message Error (Notification sent)
Notification Error Message: (OPEN Message Error/Bad BGP Identifier. Reason: )
 
PE2#
PE2#sh ip bgp ipv4 flowspec summary
BGP router identifier 3.3.3.3, local AS number 65000
BGP table version is 6
3 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
6.6.6.6                  4 65000  460        459       6      0      0  03:12:13               3
11.1.1.2                 4 65000  464        468       6      0      0  03:13:02               3
30.1.1.1                 4   200  456        464       6      0      0  03:12:37               2
 
Total number of neighbors 3
 
Total number of Established sessions 3
BGP router identifier 55.1.1.1, local AS number 65000
BGP VRF vrf100 Route Distinguisher: 100:1
BGP table version is 1
3 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
55.1.1.2                 4   200  460        461       1      0      0  03:12:37               2
 
Total number of neighbors 1
 
Total number of Established sessions 1
PE2#
PE2#sh ip bgp ipv4 flowspec
BGP table version is 6, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  flowspec/216     6.6.6.6              0        100       0   100 i
* i                   11.1.1.2             0        100       0   100 i
*>   flowspec/336     30.1.1.1             0        100       0   200 i
*>   flowspec/264     0.0.0.0              0        100       32768  i
*>i  flowspec/392     6.6.6.6              0        100       0    i
* i                   11.1.1.2             0        100       0    i
*>i  flowspec/176     6.6.6.6              0        100       0   100 i
* i                   11.1.1.2             0        100       0   100 i
*>   flowspec/288     30.1.1.1             0        100       0   200 i
 
Total number of prefixes 6
PE2#
PE2#sh ip bgp ipv4 flowspec detail
BGP table version is 6, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>i  flowspec/216     6.6.6.6              0        100       0   100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
* i                   11.1.1.2             0        100       0   100 i
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>   flowspec/336     30.1.1.1             0        100       0   200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*>   flowspec/264     0.0.0.0              0        100       32768  i
 
  FlowSpec:
    destination ip address: 1.1.1.1/32
    source ip address: 3.3.3.3/32
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:111
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:230
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:299
 
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
*>i  flowspec/392     6.6.6.6              0        100       0    i
 
  FlowSpec:
    destination ip address: 3.3.3.3/32
    source ip address: 1.1.1.1/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:78
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:101
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:201
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:400
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:499
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:330
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    ICMP code:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
    Packet length:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x10
 
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
* i                   11.1.1.2             0        100       0    i
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
*>i  flowspec/176     6.6.6.6              0        100       0   100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
* i                   11.1.1.2             0        100       0   100 i
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>   flowspec/288     30.1.1.1             0        100       0   200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 6
PE2#
PE2#
PE2#sh ip bgp ipv4 flowspec vrf all
BGP table version is 1, local router ID is 55.1.1.1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
 
BGP Route Table for VRF vrf100
*>i  flowspec/216     6.6.6.6              0        100       0   100 i
*>   flowspec/336     55.1.1.2             0        100       0   200 i
*>i  flowspec/176     6.6.6.6              0        100       0   100 i
*>   flowspec/288     55.1.1.2             0        100       0   200 i
 
Total number of prefixes 4
*>i  flowspec/216     6.6.6.6              0        100       0   100 i
* i                   11.1.1.2             0        100       0   100 i
*>   flowspec/336     30.1.1.1             0        100       0   200 i
*>   flowspec/264     0.0.0.0              0        100       32768  i
*>i  flowspec/392     6.6.6.6              0        100       0    i
* i                   11.1.1.2             0        100       0    i
*>i  flowspec/176     6.6.6.6              0        100       0   100 i
* i                   11.1.1.2             0        100       0   100 i
*>   flowspec/288     30.1.1.1             0        100       0   200 i
 
Total number of prefixes 6
PE2#
PE2#sh ip bgp ipv4 flowspec vrf all detail
BGP table version is 1, local router ID is 55.1.1.1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
 
BGP Route Table for VRF vrf100
*>i  flowspec/216     6.6.6.6              0        100       0   100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>   flowspec/336     55.1.1.2             0        100       0   200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*>i  flowspec/176     6.6.6.6              0        100       0   100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>   flowspec/288     55.1.1.2             0        100       0   200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 4
*>i  flowspec/216     6.6.6.6              0        100       0   100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
* i                   11.1.1.2             0        100       0   100 i
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>   flowspec/336     30.1.1.1             0        100       0   200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*>   flowspec/264     0.0.0.0              0        100       32768  i
 
  FlowSpec:
    destination ip address: 1.1.1.1/32
    source ip address: 3.3.3.3/32
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:111
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:230
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:299
 
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
*>i  flowspec/392     6.6.6.6              0        100       0    i
 
  FlowSpec:
    destination ip address: 3.3.3.3/32
    source ip address: 1.1.1.1/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:78
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:101
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:201
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:400
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:499
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:330
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    ICMP code:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
    Packet length:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x10
 
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
* i                   11.1.1.2             0        100       0    i
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
*>i  flowspec/176     6.6.6.6              0        100       0   100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
* i                   11.1.1.2             0        100       0   100 i
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>   flowspec/288     30.1.1.1             0        100       0   200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 6
PE2#
 
PE2#sh ip bgp vpnv4 flowspec summary
BGP router identifier 3.3.3.3, local AS number 65000
BGP table version is 3
3 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
6.6.6.6                  4 65000  463        463       3      0      0  03:13:42               2
11.1.1.2                 4 65000  467        471       3      0      0  03:14:31               2
 
Total number of neighbors 2
 
Total number of Established sessions 2
PE2#
PE2#sh ip bgp vpnv4 flowspec vrf vrf100
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
              S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
     Network          Next Hop           Metric    LocPrf     Weight Path
Route Distinguisher: 100:1 (Default for VRF vrf100)
*>i  flowspec/216     6.6.6.6              0        100       0   100 i
*>   flowspec/336     55.1.1.2             0        100       0   200 i
*>i  flowspec/176     6.6.6.6              0        100       0   100 i
*>   flowspec/288     55.1.1.2             0        100       0   200 i
 Announced routes count = 2
 Accepted routes count = 2
PE2#
PE2#sh ip bgp vpnv4 flowspec vrf vrf100 detail
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
              S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
     Network          Next Hop           Metric    LocPrf     Weight Path
Route Distinguisher: 100:1 (Default for VRF vrf100)
*>i  flowspec/216     6.6.6.6              0        100       0   100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>   flowspec/336     55.1.1.2             0        100       0   200 i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*>i  flowspec/176     6.6.6.6              0        100       0   100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>   flowspec/288     55.1.1.2             0        100       0   200 i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 Announced routes count = 2
 Accepted routes count = 2
PE2#
CE2
 
CE2#sh ip bgp
BGP table version is 3, local router ID is 5.5.5.5
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*>   4.4.4.4/32       30.1.1.2             0        100       0   65000 100 ?
*                     55.1.1.1             0        100       0   65000 100 ?
*>   5.5.5.5/32       0.0.0.0              0        100       32768  ?
*>   10.1.1.0/24      30.1.1.2             0        100       0   65000 100 ?
*                     55.1.1.1             0        100       0   65000 100 ?
*>   30.1.1.0/24      0.0.0.0              0        100       32768  ?
*>   55.1.1.0/24      0.0.0.0              0        100       32768  ?
*                     55.1.1.1             0        100       0   65000 ?
*>   66.1.1.0/24      55.1.1.1             0        100       0   65000 ?
*                     30.1.1.2             0        100       0   65000 100 ?
*>   100.1.1.0/24     30.1.1.2             0        100       0   65000 100 ?
*                     55.1.1.1             0        100       0   65000 100 ?
*>   200.1.1.0        0.0.0.0              0        100       32768  ?
 
Total number of prefixes 8
CE2#
CE2#
CE2#sh ip bgp neighbors
BGP neighbor is 30.1.1.2, remote AS 65000, local AS 200, external link
  BGP version 4, local router ID 5.5.5.5, remote router ID 3.3.3.3
  BGP state = Established, up for 03:15:13
  Last read 00:00:14, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
  Received 467 messages, 1 notifications, 0 in queue
  Sent 463 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 30 seconds
 
For address family: IPv4 Unicast  BGP table version 3, neighbor version 3
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  5 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 2, neighbor version 2
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  4 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 30.1.1.1, Local port: 41276
Foreign host: 30.1.1.2, Foreign port: 179
Nexthop: 30.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:15:18, due to BGP Notification received
Notification Error Message: (OPEN Message Error/Bad BGP Identifier. Reason: )
 
BGP neighbor is 55.1.1.1, remote AS 65000, local AS 200, external link
  BGP version 4, local router ID 5.5.5.5, remote router ID 55.1.1.1
  BGP state = Established, up for 03:15:13
  Last read 00:00:03, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
    Address family IPv4 Flow Specification: advertised and received
  Received 466 messages, 1 notifications, 0 in queue
  Sent 467 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 30 seconds
 
For address family: IPv4 Unicast  BGP table version 3, neighbor version 3
  Index 2, Offset 0, Mask 0x4
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  5 accepted prefixes
  7 announced prefixes
 
 
For address family: IPv4 Flow Specification  BGP table version 2, neighbor version 2
  Index 2, Offset 0, Mask 0x4
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  2 accepted prefixes
  2 announced prefixes
 
 Connections established 1; dropped 0
Local host: 55.1.1.2, Local port: 179
Foreign host: 55.1.1.1, Foreign port: 40660
Nexthop: 55.1.1.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 03:15:18, due to BGP Notification received
Notification Error Message: (OPEN Message Error/Bad BGP Identifier. Reason: )
 
CE2#
CE2#
CE2#sh ip bgp ipv4 flowspec summary
BGP router identifier 5.5.5.5, local AS number 200
BGP table version is 2
3 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
30.1.1.2                 4 65000  468        463       2      0      0  03:15:21               4
55.1.1.1                 4 65000  467        467       2      0      0  03:15:21               2
 
Total number of neighbors 2
 
Total number of Established sessions 2
CE2#
CE2#
CE2#sh ip bgp ipv4 flowspec
BGP table version is 2, local router ID is 5.5.5.5
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*    flowspec/216     30.1.1.2             0        100       0   65000 100 i
*                     55.1.1.1             0        100       0   65000 100 i
*>   flowspec/336     0.0.0.0              0        100       32768  i
*    flowspec/264     30.1.1.2             0        100       0   65000 i
*    flowspec/392     30.1.1.2             0        100       0   65000 i
*    flowspec/176     30.1.1.2             0        100       0   65000 100 i
*                     55.1.1.1             0        100       0   65000 100 i
*>   flowspec/288     0.0.0.0              0        100       32768  i
 
Total number of prefixes 6
CE2#
CE2#sh ip bgp ipv4 flowspec detail
BGP table version is 2, local router ID is 5.5.5.5
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*    flowspec/216     30.1.1.2             0        100       0   65000 100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*                     55.1.1.1             0        100       0   65000 100 i
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>   flowspec/336     0.0.0.0              0        100       32768  i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*    flowspec/264     30.1.1.2             0        100       0   65000 i
 
  FlowSpec:
    destination ip address: 1.1.1.1/32
    source ip address: 3.3.3.3/32
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:111
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:230
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:299
 
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
*    flowspec/392     30.1.1.2             0        100       0   65000 i
 
  FlowSpec:
    destination ip address: 3.3.3.3/32
    source ip address: 1.1.1.1/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:78
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:101
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:201
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:400
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:499
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:330
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    ICMP code:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
    Packet length:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x10
 
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
*    flowspec/176     30.1.1.2             0        100       0   65000 100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*                     55.1.1.1             0        100       0   65000 100 i
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>   flowspec/288     0.0.0.0              0        100       32768  i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 6
CE2#
CE2#
CE2#sh ip bgp ipv4 flowspec vrf all
BGP table version is 2, local router ID is 5.5.5.5
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*    flowspec/216     30.1.1.2             0        100       0   65000 100 i
*                     55.1.1.1             0        100       0   65000 100 i
*>   flowspec/336     0.0.0.0              0        100       32768  i
*    flowspec/264     30.1.1.2             0        100       0   65000 i
*    flowspec/392     30.1.1.2             0        100       0   65000 i
*    flowspec/176     30.1.1.2             0        100       0   65000 100 i
*                     55.1.1.1             0        100       0   65000 100 i
*>   flowspec/288     0.0.0.0              0        100       32768  i
 
Total number of prefixes 6
CE2#
CE2#sh ip bgp ipv4 flowspec vrf all detail
BGP table version is 2, local router ID is 5.5.5.5
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
    Network          Next Hop            Metric    LocPrf   Weight Path
*    flowspec/216     30.1.1.2             0        100       0   65000 100 i
 
  FlowSpec:
    destination ip address: 10.1.1.0/24
    source ip address: 10.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:44
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:44
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:144
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:122
 
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*                     55.1.1.1             0        100       0   65000 100 i
  FlowSpec Actions:
    traffic_rate: 21000 bps
 
*>   flowspec/336     0.0.0.0              0        100       32768  i
 
  FlowSpec:
    destination ip address: 30.1.1.0/24
    source ip address: 30.1.1.0/24
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:11
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:100
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:200
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:500
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:600
    TCP flags:
      e:0 a:0 len:0 not:0 m:1 data:0x21
      e:1 a:1 len:0 not:1 m:0 data:0x1e
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x21
 
  FlowSpec Actions:
    traffic_rate: 500000 bps
    traffic marking DSCP: 1e
 
*    flowspec/264     30.1.1.2             0        100       0   65000 i
 
  FlowSpec:
    destination ip address: 1.1.1.1/32
    source ip address: 3.3.3.3/32
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:111
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:230
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:299
 
  FlowSpec Actions:
    traffic_rate: 1111111 bps
 
*    flowspec/392     30.1.1.2             0        100       0   65000 i
 
  FlowSpec:
    destination ip address: 3.3.3.3/32
    source ip address: 1.1.1.1/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:78
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:101
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:201
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:400
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:499
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:330
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:399
    ICMP code:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:10
    Packet length:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:22
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:222
    DSCP:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:0x10
 
  FlowSpec Actions:
    traffic_rate: 1000011 bps
    traffic marking DSCP: e
 
*    flowspec/176     30.1.1.2             0        100       0   65000 100 i
 
  FlowSpec:
    destination ip address: 4.4.4.4/32
    source ip address: 4.4.4.4/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:12
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:333
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:444
 
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*                     55.1.1.1             0        100       0   65000 100 i
  FlowSpec Actions:
    traffic_rate: 4444444 bps
 
*>   flowspec/288     0.0.0.0              0        100       32768  i
 
  FlowSpec:
    destination ip address: 5.5.5.5/32
    source ip address: 5.5.5.5/32
    IP protocol:
      e:1 a:0 len:0 lt:0 gt:0 eq:1 data:121
    TCP/UDP port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:777
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:888
    TCP/UDP destination port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1300
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1400
    TCP/UDP source port:
      e:0 a:0 len:1 lt:0 gt:1 eq:1 data:1001
      e:1 a:1 len:1 lt:1 gt:0 eq:1 data:1200
 
  FlowSpec Actions:
    traffic_rate: 100000 bps
 
 
Total number of prefixes 6
CE2#