Category: Routing, Switching & SD-WAN

Cisco routing and switching, VLANs, STP, EtherChannel, FHRP, QoS, subnetting, SD-WAN and campus design. Includes CCNA/CCNP/CCIE revision notes.

  • Protected: Etherchannel L2 and L3

    This content is password-protected. To view it, please enter the password below.

  • Protected: Subnetting and TCP/IP

    This content is password-protected. To view it, please enter the password below.

  • Protected: Common Network Architectures

    This content is password-protected. To view it, please enter the password below.

  • Debug ip scp

    debug ip scp

    To troubleshoot secure copy (SCP) authentication problems, use the debug ip scp command in privileged EXEC mode. To disable debugging output, use the no form of this command.

    debug ip scp

    no debug ip scp

    Syntax Description

    This command has no arguments or keywords.

    Command Modes

    Privileged EXEC

    Command History

    Release Modification
    12.2(2)T This command was introduced.
    12.0(21)S This command was integrated into Cisco IOS Release 12.0(21)S.
    12.2(22)S This command was integrated into Cisco IOS Release 12.2(22)S.
    12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S.
    12.2(18)SXD This command was integrated into Cisco IOS Release 12.2(18)SXD.

    Examples

    The following example is output from the debug ip scp command. In this example, a copy of the file scptest.cfg from a UNIX host running configuration of the router was successful.

    Router# debug ip scp
    4d06h:SCP:[22 -> 10.11.29.252:1018] send <OK>
    4d06h:SCP:[22 <- 10.11.29.252:1018] recv C0644 20 scptest.cfg
    4d06h:SCP:[22 -> 10.11.29.252:1018] send <OK>
    4d06h:SCP:[22 <- 10.11.29.252:1018] recv 20 bytes
    4d06h:SCP:[22 <- 10.11.29.252:1018] recv <OK>
    4d06h:SCP:[22 -> 10.11.29.252:1018] send <OK>
    4d06h:SCP:[22 <- 10.11.29.252:1018] recv <EOF>
    

    The following example is also output from the debug ip scp command, but in this example, the user has privilege 0 and is therefore denied:

    Router# debug ip scp
    4d06h:SCP:[22 -> 10.11.29.252:1018] send Privilege denied.

    Related Commands

    Command Description
    ip scp server enable Enables SCP server-side functionality.
  • Data-plane attacks and Mitigation Techniques

    1. CAM Table OverFlow Attack (DoS attack)(macof –i eth0): Port-Security
    2. DHCP Starvation Attack (DoS attack): Port-Security and Rate-limiting requests.
    3. DHCP Spoofing/Rogue DHCP Attack (Mitm attack): DHCP Snooping
    4. VLAN Hopping attack (negotiate trunk using DTP)(yersinia -G): set all the ports not connected to switches to no-negotiate and access ports, as by default they are set to negotiate i.e. ‘dynamic-auto’.

    Also don’t use vlan1 as native vlan.

    1. Rogue Switch Attack (Switch Mitm i.e. becomes the root bridge): portfast and BPDU Guard (turned ON globally if the port is an access port)(shuts the port down).

    BPDU Filter (Doesn’t allow BPDUs, but doesn’t shut the port down).

    Root Guard (tell the switch that certain ports can’t be root ports i.e. if you are connected to legitimate switches).

    1. Arp Spoofing/ARP Poisoning attack (Gratuitous ARP) (Mitm attack): DAI (Dynamic Arp Inspection)