Install the Cisco Secure DDoS Edge Protection application through the DDoS edge protection controller and configure the router with the required UDF, Loopback, ACL, SSH, and TPA settings to enable controller-managed threat detection and mitigation.
Use this procedure to install the DDoS edge protection detector on the router using the DDoS edge protection controller, and to configure all required router settings that enable the controller to monitor traffic and enforce mitigation.
Before you begin
Before you begin:
-
Configure the management interface to reach the DDoS controller IP address.
-
Manually configure the base ACL, NetFlow, and SSH configurations.
Also review the restrictions in DDoS edge protection restrictions before proceeding.
Procedure
| 1. | Install and download the DDoS edge protection controller software package. Download the controller software package from the Software Download page. After the controller installation is complete, you can access the user interface. Log in to the controller services instance to monitor, manage, and control the device. For more information on installing the DDoS controller, see the Cisco Secure DDoS Edge Protection Installation Guide. |
|
| 2. | Configure loopback interfaces on the router. Example:
|
|
| 3. | Configure an ACL on the router. Example:
The first 1301 entries are reserved for DDoS mitigation purposes. When a DDoS attack is detected, the controller automatically enforces deny ACL rules to block malicious traffic. The following is a sample configuration that the controller uses to deny attacker traffic:
For more information on implementing access lists, see Understanding Access-List. |
|
| 4. | Configure SSH on the router. Example:
|
|
| 5. | Configure TPA on the router.
Example:
|
|
| 6. | Run the ping command to verify router connectivity to the DDoS edge protection controller. Example:
A 100% success rate in the ping output confirms that the router can reach the DDoS controller IP address. If pings fail, check the management interface configuration and routing. |
|
| 7. | Enter the device details into the DDoS edge protection controller panel and verify that the Deployment, Container, and Configuration indicators all display green. |
After completing this procedure, the controller automatically applies the following NetFlow configuration on the router to enable traffic sampling and export to the detector container:
// Configuring Monitor Map
flow monitor-map DetectPro_Monitor_IPV6
record ipv6 extended
exporter DetectPro_GPB
cache entries 1000000
cache timeout active 1
cache timeout inactive 1
cache timeout rate-limit 1000000
!
flow monitor-map DetectPro_Monitor_IPV4
record ipv4 extended
exporter DetectPro_GPB
cache entries 1000000
cache timeout active 1
cache timeout inactive 1
cache timeout rate-limit 1000000
!
// Configuring Monitor Map MPLS (Release 25.2.1 and later)
flow monitor-map mon_mpls_ipv4_ipv6
record mpls ipv4-ipv6-fields
exporter DetectPro_MPLS
cache entries 1000000
cache timeout active 1
cache timeout inactive 1
cache timeout rate-limit 1000000
!
// Configuring Exporter Map
flow exporter-map DetectPro_GPB
version protobuf
transport udp 5005
source TenGigE0/0/0/16
destination 15.1.1.2
!
// Configuring Exporter Map MPLS (Release 25.2.1 and later)
flow exporter-map DetectPro_MPLS
version protobuf
transport udp 5005
source loopback101
destination 15.1.1.2
!
// Configuring Sampler Map
sampler-map DetectPro_NFv9
random 1 out-of 100
!
// Configuring Interface MPLS (Release 25.2.1 and later)
interface TenGigE0/0/0/8
ipv4 address 7.7.1.1 255.255.0.0
flow mpls monitor mon_mpls_ipv4_ipv6 sampler samp_mpls ingress
!
For more information on Cisco Secure DDoS Edge Protection, see the Cisco Secure DDoS Edge Protection Data Sheet.
What to do next
Verify the DDoS edge protection deployment by running the verification procedure. See Verify DDoS edge protection application configuration.