neighbor flowspec
redirect
Syntax
neighbor
{
ip-address
|
peer-group
}
flowspec
redirectholder
{
nrli
|
extended-community
}
type
{
0x0800
|
0x080c
}
no neighbor
{
ip-address
|
peer-group
}
flowspec redirecttype
{
0x0800
|
0x080c
}
holder
{
nrli
|
extended-community
}
Command Default
By
default, BGP flowspec redirect nexthop holder is set to nrli and the
action type is set to 0x080c.
Parameters
- ip-address
- IP address in IPv4 format.
- peer-group
- Name of a peer group.
- holder
- Specifies where the IP
address of redirect nexthop is encoded in the BGP update packet.
-
nrli
- Specifies
encoding as Network Layer Reachability Information (NRLI) in the
BGP update packet.
- extended-community
- Specifies
encoding as extended-community information in the BGP update
packet.
- type
- Specifies the extended-community type for the
redirect IP nexthop action.
-
0x0800
- Specifies an extended-community type of
0x0800
.
- 0x080c
- Specifies an extended-community type of
0x080c
.
Modes
BGP
address-family IPv4 flowspec configuration mode
Usage Guidelines
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.
Examples
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