cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1118
Views
0
Helpful
1
Replies

BGP flowspec redirect vrf action in IOS XE 16 is not working?

Jamesits
Level 1
Level 1

I'm running IOS XE 16.9.3. I configured the IOS XE as a BGP flowspec client. I can verify the config is working:

 

Server side:

gobgp global rib -a ipv4-flowspec add match source 192.168.1.2 then discard

Client side:

Router#show flowspec afi-all
AFI: IPv4
  Flow           :Source:192.168.1.2/32
    Actions      :Traffic-rate: 0 bps  (bgp.1)

However when I try to use the redirect VRF action, it stopped working.

Server side:

gobgp global rib -a ipv4-flowspec add match source 192.168.1.2 then redirect 100:100

Client side:

Router#show flowspec afi-all
AFI: IPv4
  Flow           :Source:192.168.1.2/32
    Inactive

Why is my flow showing as inactive? An detailed output is:

 

Router#show flowspec afi-all internal
AFI: IPv4
  Flow           :Source:192.168.1.2/32
    Inactive
    Class handles:
    Class Handle Version:     0
    Sequence:                 1024
    Synced:                   FALSE
    Match Unsupported:        None
    Ref Count:                1
    Last Error:               0x0:Unknown error 0
    Last Batch:               0
    Inactive Paths:
      Actions      :Route-target: ASN2-100:100  (bgp.1)
        Client Version: 0
        Unsupported:    FALSE
        RT:
          VRF Name Cfg:   0x00
          RT Cfg:         0x01
          RT Registered:  0x01
          RT Resolved:    0x00
    Statistics                        (packets/bytes)
      Matched             :                   0/0
      Dropped             :                   0/0
1 Accepted Solution

Accepted Solutions

Jamesits
Level 1
Level 1

Nevermind, forgot to config

 

route-target import 100:100
route-target export 100:100

in VRF config.

View solution in original post

1 Reply 1

Jamesits
Level 1
Level 1

Nevermind, forgot to config

 

route-target import 100:100
route-target export 100:100

in VRF config.

Review Cisco Networking for a $25 gift card