Enables Border Gateway Protocol flow specification (BGP flowspec) IPv4 address family.
BGP flowspec IPv4 address family is disabled.
BGP configuration mode
BGP flowspec IPv4 address-family configuration is only allowed in a VRF that is already configured with an IPv4 unicast address family.
When the vrf option is not specified, the address-family ipv4 flowspec command enables the BGP flowspec IPv4 address family for the default VRF; the IPv4 unicast address family is always configured on the default VRF.
The no form of the command disables BGP flowspec IPv4 address family.
You must disable BGP flowspec in a VRF by using the no address-family ipv4 flowspec command before removing the IPv4 unicast address-family configuration from the VRF.
This command is only supported on SLX 9540, SLX 9640, SLX 9740 and Extreme 8820 devices.
The following example shows how to enable BGP flowspec address family in the default VRF.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv4 flowspec device(config-bgp-ipv4fs)#
The following example shows how to enable BGP flowspec address family in a VRF named red.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv4 flowspec vrf red device(config-bgp-ipv4fs-vrf)#