cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
167
Views
0
Helpful
1
Replies
Beginner

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

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
Beginner

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

Nevermind, forgot to config

 

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

in VRF config.

1 REPLY 1
Beginner

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

Nevermind, forgot to config

 

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

in VRF config.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards