Configures the Border Gateway Protocol flow specification (BGP flowspec) redirect nexthop holder and action type at neighbor or peer-group level.
By default, BGP flowspec redirect nexthop holder is set to nrli and the action type is set to 0x080c.
BGP address-family IPv4 flowspec configuration mode
Settings configured by using the neighbor flowspec redirect command only apply to locally-generated BGP flowspec routes; they are not applied to the advertisement of remote routes.
The no form of the command restores the default configuration.
The following example shows how to specify encoding the nexthop IP address as nrli in the BGP update packet and configure the BGP flowspec redirect nexthop action type as x0800.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv4 flowspec device(config-bgp-ipv4fs)# neighbor 10.61.61.1 flowspec redirect holder nrli next-hop type 0x0800