Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show ddos-protection protocols

    Syntax

    show ddos-protection protocols <protocol-group (aggregate | packet-type)>

    Release Information

    Command introduced in Junos OS Release 11.2.

    Description

    Display DDoS protection configuration and statistics for protocol groups or individual packet types.

    Options

    none
    —

    Display information for all packet types in all protocol groups.

    aggregate
    —

    (Optional) Display DDoS protection information for the aggregate policer. The aggregate option is available for all protocol groups.

    protocol-group
    —

    (Optional) Display DDoS protection information for one of the following protocol groups:

    • ancp—ANCP traffic.
    • ancpv6—ANCPv6 traffic.
    • arp—ARP traffic.
    • atm—ATM traffic.
    • bfd—BFD traffic.
    • bfdv6—BFDv6 traffic.
    • bgp—BGP traffic.
    • bgpv6—BGPv6 traffic.
    • control—Control traffic.
    • demux-autosense—Demux autosensing traffic.
    • dhcpv4—DHCPv4 traffic.
    • dhcpv6—DHCPv6 traffic.
    • diameter—Diameter and Gx-Plus traffic.
    • dns—DNS traffic.
    • dtcp—DTCP traffic.
    • dynamic-vlan—Dynamic VLAN exception traffic.
    • egpv6—EGPv6 traffic.
    • eoam—EOAM traffic.
    • esmc—ESMC traffic.
    • firewall-host—Firewall send-to-host traffic.
    • ftp—FTP traffic.
    • ftpv6—FTPv6 traffic.
    • gre—GRE traffic.
    • icmp—ICMP traffic.
    • igmp—IGMP traffic
    • igmp-snoop—Control traffic for IGMP snooping.
    • igmpv4v6—IGMP v4/v6 traffic.
    • igmpv6—IGMPv6 traffic.
    • ip-fragments—IP fragments traffic.
    • ip-options–IP traffic with IP packet header options.
    • ipv4-unclassified—Unclassified IPv4 host-bound traffic.
    • ipv6-unclassified—Unclassified IPv6 host-bound traffic.
    • isis—IS-IS traffic.
    • jfm—JFM traffic.
    • l2tp—L2TP traffic.
    • lacp—LACP traffic.
    • ldp—LDP traffic.
    • ldpv6—LDPv6 traffic.
    • lldp—LLDP traffic.
    • lmp—LMP traffic.
    • lmpv6—LMPv6 traffic.
    • mac-host—Layer 2 MAC send-to-host traffic.
    • mlp—MLP traffic.
    • msdp—MSDP traffic.
    • msdpv6—MSDPv6 traffic.
    • multicast-copy—Host copy traffic due to multicast routing.
    • mvrp—MVRP traffic.
    • ntp—NTP traffic.
    • oam-lfm—OAM-LFM traffic.
    • ospf—OSPF traffic.
    • ospfv3v6—OSPFv3/IPv6 traffic.
    • pfe-alive—Packet Forwarding Engine keepalive traffic
    • pim—PIM traffic.
    • pmvrp—PMVRP traffic.
    • pos—POS traffic.
    • ppp—PPP traffic.
    • pppoe—PPPoE traffic.
    • ptp—PTP traffic.
    • pvstp—PVSTP traffic.
    • radius—RADIUS traffic.
    • redirect—Traffic that triggers ICMP redirects.
    • reject—Packets rejected by a next-hop forwarding decision.
    • rip—RIP traffic.
    • ripv6—RIPv6 traffic.
    • rsvp—RSVP traffic.
    • rsvpv6—RSVPv6 traffic.
    • services–Service traffic.
    • snmp—SNMP traffic.
    • snmpv6—SNMPv6 traffic.
    • ssh—SSH traffic.
    • sshv6—SSHv6 traffic.
    • stp—STP traffic.
    • tacacs—TACACS traffic.
    • tcp-flags—Traffic with TCP flags.
    • telnet—TELNET traffic.
    • telnetv6—TELNETv6 traffic.
    • ttl—TTL traffic.
    • tunnel-fragment—Tunnel fragments traffic.
    • virtual-chassis—Virtual chassis traffic.
    • vrrp—VRRP traffic.
    • vrrpv6—VRRPv6 traffic.
    packet-type
    —

    (Optional) Display DDoS protection information for the specified packet type in the protocol group. The available packet types vary by protocol group. Only an aggregate policer is available for protocol groups that are not in the following list:

    • dhcpv4—The following packet types are available for DHCPv4 traffic:
      • ack—DHCPACK packets.
      • bad-packets—DHCPv4 packets with bad formats.
      • bootp—DHCPBOOTP packets.
      • decline—DHCPDECLINE packets.
      • discover—DHCDISCOVER packets.
      • force-renew—DHCPFORCERENEW packets.
      • inform—DHCPINFORM packets.
      • lease-active—DHCPLEASEACTIVE packets.
      • lease-query—DHCPLEASEQUERYpackets.
      • lease-unassigned—DHCPLEASEUNASSIGNED packets.
      • lease-unknown—DHCPLEASEUNKNOWN packets.
      • nak—DHCPNAK packets.
      • no-message-type—DHCP packets that are missing the message type..
      • offer—DHCOFFER packets.
      • release—DHCPACK packets.
      • renew—DHCPRENEW packets.
      • request—DHCPREQUEST packets.
      • unclassified— All unclassified packets in the protocol group.
    • dhcpv6—The following packet types are available for DHCPv6 traffic:
      • advertise—ADVERTISE packets.
      • confirm—CONFIRM packets.
      • decline—DECLINE packets.
      • information-request—INFORMATION-REQUEST packets.
      • leasequery—LEASEQUERY packets.
      • leasequery-data—LEASEQUERY-DATA packets.
      • leasequery-done—LEASEQUERY-DONE packets.
      • leasequery-reply—LEASEQUERY-REPLY packets.
      • rebind—REBIND packets.
      • reconfigure—RECONFIGURE packets.
      • relay-forward—RELAY-FORWARD packets.
      • relay-reply—RELAY-REPLY packets.
      • release—RELEASE packets.
      • renew—RENEW packets.
      • reply—REPLY packets.
      • request—REQUEST packets.
      • solicit—SOLICIT packets.
      • unclassified— All unclassified packets in the protocol group.
    • ip-fragments—The following packet types are available for IP fragments:
      • first-fragment—First IP fragment.
      • trail-fragment—Last IP fragment.
    • ip-options—The following packet types are available for IP option traffic:
      • router-alert—Router alert options packets.
      • unclassified— All unclassified packets in the protocol group.
    • ipv4-unclassified— All unclassified host-bound IPv4 traffic.
    • ipv6-unclassified— All unclassified host-bound IPv6 traffic.
    • mlp—The following MLP packet types are available:
      • aging-exception—MLP aging exception packets.
      • packets—MLP packets.
      • unclassified— All unclassified packets in the protocol group.
    • ppp—The following PPP packet types are available:
      • authentication—PPP authentication protocol packets.
      • ipcp—IP Control Protocol packets.
      • ipv6cp—IPv6 Control Protocol packets.
      • isis—IS-IS packets.
      • lcp—Link Control Protocol packets.
      • mplscp—MPLS Control Protocol packets.
      • unclassified— All unclassified packets in the protocol group.
    • pppoe—The following PPPoE packet types are available:
      • padi—PADI packets.
      • padm—PADM packets.
      • padn—PADN packets.
      • pado—PADO packets.
      • padr—PADR packets.
      • pads—PADS packets.
      • padt—PADT packets.
    • radius—The following RADIUS packet types are available:
      • accounting—RADIUS accounting packets.
      • authorization—RADIUS authorization packets.
      • server—RADIUS server traffic.
      • unclassified— All unclassified packets in the protocol group.
    • tcp-flags—The following TCP-flagged packet types are available:
      • established—TCP ACK and RST connection packets.
      • initial—TCP SYN and SYN ACK packets.
    • virtual-chassis—The following packet types are available for virtual chassis packets:
      • control-low—Low-priority control packets.
      • control-high—High-priority control packets.
      • unclassified— All unclassified packets in the protocol group.
      • vc-packets—All exception packets on the virtual chassis link.
      • vc-ttl-errors—Virtual chassis TTL error packets.

    Required Privilege Level

    view

    List of Sample Output

    show ddos-protection protocols
    show ddos-protection protocols pppoe padr

    Output Fields

    Table 1 lists the output fields for the show ddos-protection protocols command. Output fields are listed in the approximate order in which they appear.

    Table 1: show ddos-protection protocols Output Fields

    Field Name

    Field Description

    Protocol Group

    Name of protocol group.

    Packet type

    Name of packet type in protocol group.

    Bandwidth

    Bandwidth policer value; number of packets per second that is allowed before a violation is declared.

    Burst

    Burst policer value; the maximum number of packets that is allowed in a burst before a violation is declared.

    Priority

    Priority of the packet type in the event of traffic congestion: low, medium, or high. Lower priority packets can be dropped when insufficient bandwidth is available.

    Recover time

    Time that must pass since the last violation before the traffic flow is considered to have recovered from the attack. A notification is generated when the timer expires.

    Enabled

    State of the policer, enabled (Yes), disabled (No), or partially disabled (Partial); Partial indicates that only some of the policer instances are disabled for the policer.

    Bypass aggregate

    State of the bypass aggregate configuration:

    • Yes–The aggregate policer is bypassed.
    • No–The aggregate policer is enforced.

    This field appears only for individual policers.

    System-wide information

    The following information collected for the router:

    • A message indicates whether the policer has been violated
    • No. of FPCs currently receiving excess traffic–Number of cards that are currently in violation of a policer
    • No. of FPCs that have received excess traffic–Number of cards that have at some point been in violation of a policer
    • Violation first detected at–Timestamp of the first violation
    • Violation last seen at–Timestamp of the last observed violation
    • Duration of violation–Length of the violation
    • Number of violations–Number of times the violation has occurred
    • Received–Number of packets received at all card slots and the Routing Engine
    • Dropped–Number of packets dropped regardless of where they were dropped
    • Arrival rate–Current traffic rate for packets arriving from all cards and at the Routing Engine
    • Max arrival rate–Highest traffic rate for packets arriving from all cards and at the Routing Engine

    Routing Engine information

    The following information collected for the Routing Engine:

    • Bandwidth–Maximum number of packets per second that is allowed
    • Burst–Maximum number of packets that is allowed in a burst
    • A message indicates the State of the policer, enabled (Yes) or disabled (No)
    • A message indicates whether the policer has been violated; the policer might be passed at the individual cards, but the combined rate of packets arriving at the Routing Engine can exceed the configured policer value
    • Violation first detected at–Timestamp of the first violation
    • Violation last seen at–Timestamp of the last observed violation
    • Duration of violation–Length of the violation
    • Number of violations–Number of times the violation has occurred
    • Received–Number of packets received at the Routing Engine from all cards
    • Dropped–Number of packets dropped at the Routing Engine; includes packets dropped by the aggregate policer and by individual protocol policers
    • Arrival rate–Current traffic rate for packets arriving at the Routing Engine from all cards
    • Max arrival rate–Highest traffic rate for packets arriving at the Routing Engine from all cards
    • Dropped by aggregate policer–Number of packets dropped by the aggregate policer
    • Dropped by individual policers–Number of packets dropped by individual policer

    FPC slot information

    The following information collected for the card in the indicated slot:

    • Bandwidth–Bandwidth scaling percentage and the number of packets per second that is allowed before a violation is declared
    • Burst–Burst scaling percentage and the maximum number of packets that is allowed in a burst before a violation is declared
    • A message indicates whether the policer has been violated
    • Violation first detected at–Timestamp of the first violation
    • Violation last seen at–Timestamp of the last observed violation
    • Duration of violation–Length of the violation
    • Number of violations–Number of times the violation has occurred
    • Received–Number of packets received on the line card
    • Dropped–Number of packets dropped at the line card; includes packets dropped by the aggregate policer and by individual protocol policers
    • Arrival rate–Current traffic rate for packets arriving at the line card
    • Max arrival rate–Highest traffic rate for packets arriving at the line card
    • Dropped by this policer–Number of packets dropped by the individual policer
    • Dropped by aggregate policer–Number of packets dropped by the aggregate policer

    Bypass aggr.

    State of the bypass aggregate configuration:

    • Yes–The aggregate policer configuration is bypassed.
    • No–The aggregate policer configuration is enforced.

    Dashes indicate that the bypass aggregate configuration is not available; this is possible only for aggregate policers.

    FPC Mod

    Indicates whether configuration has changed from the default for any line cards.

    • No–The default configuration has not changed from the default for the packet type.
    • Yes–The default configuration has changed from the default for the packet type

    Sample Output

    show ddos-protection protocols

    user@host> show ddos-protection protocols
    Protocol Group: IPv4-Unclassified
    
      Packet type: aggregate (Aggregate for unclassified host-bound IPv4 traffic)
        Aggregate policer configuration:
          Bandwidth:        20000 pps
          Burst:            20000 packets
          Priority:         medium
          Recover time:     300 seconds
          Enabled:          Partial
        System-wide information:
          Aggregate bandwidth is never violated
          Received:  0                   Arrival rate:     0 pps
          Dropped:   0                   Max arrival rate: 0 pps
        Routing Engine information:
          Bandwidth: 2000 pps, Burst: 2000 packets, enabled
          Aggregate policer is never violated
          Received:  0                   Arrival rate:     0 pps
          Dropped:   0                   Max arrival rate: 0 pps
            Dropped by individual policers: 0
        FPC slot 1 information:
          Bandwidth: 100% (20000 pps), Burst: 100% (20000 packets), enabled
          Aggregate policer is never violated
          Received:  0                   Arrival rate:     0 pps
          Dropped:   0                   Max arrival rate: 0 pps
            Dropped by individual policers: 0
    
    
      Protocol Group: IPv6-Unclassified
    
      Packet type: aggregate (Aggregate for unclassified host-bound IPv6 traffic)
        Aggregate policer configuration:
          Bandwidth:        20000 pps
          Burst:            20000 packets
          Priority:         medium
          Recover time:     300 seconds
          Enabled:          Yes
        System-wide information:
          Aggregate bandwidth is never violated
          Received:  0                   Arrival rate:     0 pps
          Dropped:   0                   Max arrival rate: 0 pps
        Routing Engine information:
          Aggregate policer is never violated
          Received:  0                   Arrival rate:     0 pps
          Dropped:   0                   Max arrival rate: 0 pps
            Dropped by individual policers: 0
        FPC slot 1 information:
          Bandwidth: 100% (20000 pps), Burst: 100% (20000 packets), enabled
          Aggregate policer is never violated
          Received:  0                   Arrival rate:     0 pps
          Dropped:   0                   Max arrival rate: 0 pps
            Dropped by individual policers: 0
    
    ...
      
    Protocol Group: PPPoE
    
      Packet type: aggregate (Aggregate for all PPPoE control traffic)
        Aggregate policer configuration:
          Bandwidth:        2000 pps
          Burst:            2000 packets
          Priority:         medium
          Recover time:     300 seconds
          Enabled:          Yes
        System-wide information:
          Aggregate bandwidth is never violated
          Received:  23398498            Arrival rate:     4000 pps
          Dropped:   0                   Max arrival rate: 4002 pps
        Routing Engine information:
          Aggregate policer is never violated
          Received:  5853755             Arrival rate:     1002 pps
          Dropped:   0                   Max arrival rate: 1009 pps
            Dropped by individual policers: 0
        FPC slot 1 information:
          Bandwidth: 100% (2000 pps), Burst: 100% (2000 packets), enabled
          Aggregate policer is never violated
          Received:  23398498            Arrival rate:     4000 pps
          Dropped:   17549330            Max arrival rate: 4002 pps
            Dropped by individual policers: 17549330
    
      Packet type: padi (PPPoE PADI)
        Individual policer configuration:
          Bandwidth:        500 pps
          Burst:            500 packets
          Priority:         low
          Recover time:     300 seconds
          Enabled:          Yes
          Bypass aggregate: No
        System-wide information:
          Bandwidth is being violated!
            No. of FPCs currently receiving excess traffic: 1
            No. of FPCs that have received excess traffic:  1
            Violation first detected at: 2011-04-19 08:23:17 PDT
            Violation last seen at:      2011-04-19 10:01:32 PDT
            Duration of violation: 01:38:15 Number of violations: 1
          Received:  11799251            Arrival rate:     2000 pps
          Dropped:   8849675             Max arrival rate: 2001 pps
        Routing Engine information:
          Policer is never violated
          Received:  2950794             Arrival rate:     501 pps
          Dropped:   0                   Max arrival rate: 505 pps
            Dropped by aggregate policer: 0
        FPC slot 1 information:
          Bandwidth: 100% (500 pps), Burst: 100% (500 packets), enabled
          Policer is currently being violated!
            Violation first detected at: 2011-04-19 08:23:17 PDT
            Violation last seen at:      2011-04-19 10:01:32 PDT
            Duration of violation: 01:38:15 Number of violations: 1
          Received:  11799251            Arrival rate:     2000 pps
          Dropped:   8849675             Max arrival rate: 2001 pps
            Dropped by this policer: 8849675
            Dropped by aggregate policer: 0
    ...
    
      Packet type: padr (PPPoE PADR)
        Individual policer configuration:
          Bandwidth:        500 pps
          Burst:            500 packets
          Priority:         medium
          Recover time:     300 seconds
          Enabled:          Yes
          Bypass aggregate: No
        System-wide information:
          Bandwidth is being violated!
            No. of FPCs currently receiving excess traffic: 1
            No. of FPCs that have received excess traffic:  1
            Violation first detected at: 2011-04-19 08:23:17 PDT
            Violation last seen at:      2011-04-19 10:04:27 PDT
            Duration of violation: 01:41:10 Number of violations: 1
          Received:  12149327            Arrival rate:     2000 pps
          Dropped:   9112247             Max arrival rate: 2001 pps
        Routing Engine information:
          Policer is never violated
          Received:  3037111             Arrival rate:     500 pps
          Dropped:   0                   Max arrival rate: 504 pps
            Dropped by aggregate policer: 0
        FPC slot 1 information:
          Bandwidth: 100% (500 pps), Burst: 100% (500 packets), enabled
          Policer is currently being violated!
            Violation first detected at: 2011-04-19 08:23:17 PDT
            Violation last seen at:      2011-04-19 10:04:27 PDT
            Duration of violation: 01:41:10 Number of violations: 1
          Received:  12149327            Arrival rate:     2000 pps
          Dropped:   9112247             Max arrival rate: 2001 pps
            Dropped by this policer: 9112247
            Dropped by aggregate policer: 0
    
    ...

    show ddos-protection protocols pppoe padr

    user@host> show ddos-protection protocols pppoe padr
    Protocol Group: PPPoE
    
      Packet type: padr (PPPoE PADR)
        Individual policer configuration:
          Bandwidth:        500 pps
          Burst:            500 packets
          Priority:         medium
          Recover time:     300 seconds
          Enabled:          Yes
          Bypass aggregate: No
        System-wide information:
          Bandwidth is being violated!
            No. of FPCs currently receiving excess traffic: 1
            No. of FPCs that have received excess traffic:  1
            Violation first detected at: 2011-04-19 08:23:17 PDT
            Violation last seen at:      2011-04-19 10:04:27 PDT
            Duration of violation: 01:41:10 Number of violations: 1
          Received:  12149327            Arrival rate:     2000 pps
          Dropped:   9112247             Max arrival rate: 2001 pps
        Routing Engine information:
          Policer is never violated
          Received:  3037111             Arrival rate:     500 pps
          Dropped:   0                   Max arrival rate: 504 pps
            Dropped by aggregate policer: 0
        FPC slot 1 information:
          Bandwidth: 100% (500 pps), Burst: 100% (500 packets), enabled
          Policer is currently being violated!
            Violation first detected at: 2011-04-19 08:23:17 PDT
            Violation last seen at:      2011-04-19 10:04:27 PDT
            Duration of violation: 01:41:10 Number of violations: 1
          Received:  12149327            Arrival rate:     2000 pps
          Dropped:   9112247             Max arrival rate: 2001 pps
            Dropped by this policer: 9112247
            Dropped by aggregate policer: 0
    

    Published: 2012-07-03