Symptom
bgp flowspec redirect doesn't work for typhoon-based card
Conditions
bgp flowspec redirect policy is applied on typhoon-based card
Further Problem Description
there are matches to flowspec redirect rule but in fact there is no redirection. Outputs after sending 1K packets:
RP/0/RSP0/CPU0:corfu#show flowspec ipv4 internal
Thu Oct 29 15:26:24.673 CEST
AFI: IPv4
Flow :Dest:10.0.0.14/32,Source:10.0.48.213/32,Proto:=1
Actions :Redirect: VRF VDEV3 Route-target: ASN2-65000:9003 (bgp.1)
Client Version: 0
Local: FALSE
Unsupported: FALSE
RT:
VRF Name Cfg: 0x00
RT Cfg: 0x01
RT Registered: 0x01
RT Resolved: 0x01
Class handles:
Handle [0]: 3000000076000003
Class Handle Version: 1
Sequence: 1024
Match Unsupported: None
Synced: FALSE
Ref Count: 1
Last Error: 0:No error
Last Batch: 1
Time Init: Oct 29 12:41:05
Time iClass Update: Oct 29 12:41:29
Statistics (packets/bytes)
Matched : 3000/354000 <<<<<< + 1000 packets
Dropped : 0/0
RP/0/RSP0/CPU0:corfu#
RP/0/RSP0/CPU0:corfu#show pbr-pal ipolicy __bgpfs_default_IPv4 iclass all stats location 0/0/cpu0
Thu Oct 29 13:19:23.069 CEST
iclass packets/bytes drop packets/drop bytes
76000003 1000/118000 0/0 <<<<<<<<<<< + 1000 packets
f6000002 625/63425 0/0
RP/0/RSP0/CPU0:corfu#
RP/0/RSP0/CPU0:corfu#show controllers np counters np0 location 0/0/cpu0 | i ABF <<< np/location where ingress interface is
Thu Oct 29 13:16:08.240 CEST
RP/0/RSP0/CPU0:corfu# <<<<<<<<< no any redirection (pbr) happened