background image

                                                                                                  

DoS Attack Prevention Configuration Commands 

 

                                                                                                                                                           

http://www.level1.com

                                                                                                                  -3- 

 

Chapter 1   DoS Attack Prevention Configuration 

Commands 

1.1    DoS-Attack Prevention Configuration Commands 

DoS attack prevention configuration commands are shown below:   

 

dos enable 

 

show dos 

1.1.1      dos enable 

Syntax   

dos enable {all | icmp 

icmp-value

 | 

ip | ipv4firstfrag | l4port | mac | tcpflags | 

tcpfrag 

tcpfrag-value

}

 

no dos enable 

{

all | icmp | ip | ipv4firstfrag | l4port | mac | tcpflags | tcpfrag

}

 

Parameter   

Parameter 

Description 

all 

Enables to prevent all kinds of DoS attacks. 

icmp 

icmp-value

 

Prevents  the  ICMP  DoS  attacks.  Here,  the 

icmp-value

 

parameter  means  the  maximum  length  of  ICMP  packet,  whose 

default value is 512. 

ip 

Prevents those DoS attack packets whose source IP addresses 

are equal to the destination IP addresses. 

ipv4firstfrag 

Starts to check the first fragment of IP packet. 

l4port 

Starts to check the L4 packets whose source port is equal to the 

destination port. 

mac 

Starts to check those packets whose source MACs are equal to 

destination MACs. 

tcpflags 

Starts to check the TCP packets with illegal flags. 

tcpfrag 

tcpfrag-value

 

Starts  to  check  the  DoS  attack  packet  of  TCP  fragment.  Here, 

the 

tcpfrag-value 

parameter means the minimum TCP header, 

whose default value is 20.   

Default value   

DoS attack prevention is disabled by default. 

Remarks   

DoS attack prevention is configured in global mode. 

The DoS IP sub-function can drop those IP packets whose source IPs are equal to 
the destination IPs.   

Summary of Contents for GEL-2060

Page 1: ...http www level1 com 1 GEL 2060 DoS Attack Prevention Configuration Commands ...

Page 2: ...Table of Contents http www level1 com 2 Table of Contents Chapter 1 DoS Attack Prevention Configuration Commands 3 1 1 DoS Attack Prevention Configuration Commands 3 1 1 1 dos enable 3 1 1 2 show dos 4 ...

Page 3: ... ICMP packet whose default value is 512 ip Prevents those DoS attack packets whose source IP addresses are equal to the destination IP addresses ipv4firstfrag Starts to check the first fragment of IP packet l4port Starts to check the L4 packets whose source port is equal to the destination port mac Starts to check those packets whose source MACs are equal to destination MACs tcpflags Starts to che...

Page 4: ...packets 1 The TCP header is smaller than the first TCP fragment of tcpfrag value 2 TCP fragments whose offset values are 1 Example The following example shows how to set the global DoS attack prevention function to prevent those IP packets whose source IPs are destination IP addresses Switch_config dos enable ip The following example shows how to set DoS attack prevention in global mode to prevent...

Page 5: ...le shows how to set dos enable icmp to display the sub function that users have set Switch_config dos enable icmp Switch_config show dos dos enable icmp The following example shows how to set dos enable icmp 255 to display the sub function that users have set Switch_config dos enable icmp 255 Switch_config show dos dos enable icmp 255 ...

Reviews: