Configuration Examples For Secure Copy; Example: Secure Copy Configuration Using Local Authentication; Example: Secure Copy Server-Side Configuration Using Network-Based Authentication - Cisco Catalyst 9500 Manual

System management configuration guide, cisco ios xe amsterdam 17.2.x
Hide thumbs Also See for Catalyst 9500:
Table of Contents

Advertisement

Secure Copy
Step 10
Step 11
Step 12

Configuration Examples for Secure Copy

The following are examples of the Secure Copy configuration.

Example: Secure Copy Configuration Using Local Authentication

The following example shows how to configure the server-side functionality of Secure Copy. This example
uses a locally defined username and password.
! AAA authentication and authorization must be configured properly in order for SCP to work.
Device> enable
Device# configure terminal
Device(config)# aaa new-model
Device(config)# aaa authentication login default local
Device(config)# aaa authorization exec default local
Device(config)# username user1 privilege 15 password 0 lab
! SSH must be configured and functioning properly.
Device(config)# ip scp server enable
Device(config)# end
Example: Secure Copy Server-Side Configuration Using Network-Based
Authentication
The following example shows how to configure the server-side functionality of Secure Copy using a
network-based authentication mechanism:
! AAA authentication and authorization must be configured properly for SCP to work.
Device> enable
Device# configure terminal
Device(config)# aaa new-model
Device(config)# aaa authentication login default group tacacs+
Command or Action
ip ssh bulk-mode
Example:
Device(config)# ip ssh bulk-mode
exit
Example:
Device(config)# exit
debug ip scp
Example:
Device# debug ip scp
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
Configuration Examples for Secure Copy
Purpose
(Optional) Enables SSH bulk data transfer
mode to enhance the throughput performance
of SCP.
Exits global configuration mode and returns
to privileged EXEC mode.
(Optional) Provides diagnostic information
about SCP authentication problems.
249

Advertisement

Table of Contents
loading

Table of Contents