write

To copy, display, or erase Cisco CDA server configurations, use the write command with the appropriate argument in the EXEC mode.

write {erase | memory | terminal}

Syntax Description

write

The command to write running system information.

erase

Erases the startup configuration. This option is disabled in Cisco CDA.

memory

Copies the running configuration to the startup configuration.

terminal

Copies the running configuration to console.

Defaults

No default behavior or values.

Command Modes

EXEC

Usage Guidelines

Using this write command with the erase option is disabled in Cisco CDA.

If you use the write command with the erase option, Cisco CDA displays the following error message:

% Warning: 'write erase' functionality has been disabled by application: cda

Examples

Example 1

/admin# write memory

Generating configuration...

/admin#

Example 2

/admin# write terminal

 

Generating configuration...

!

hostname cda

!

ip domain-name cisco.com

!

interface GigabitEthernet 0

ip address 10.201.2.121 255.255.255.0

ipv6 address autoconfig

!

interface GigabitEthernet 1

shutdown

!

interface GigabitEthernet 2

shutdown

!

interface GigabitEthernet 3

shutdown

!

ip name-server 171.68.226.120

!

ip default-gateway 10.201.2.1

!

clock timezone UTC

!

ntp server clock.cisco.com

!

username admin password hash $1$6yQQaFXM$UBgbp7ggD1bG3kpExywwZ0 role admin

!

service sshd

!

repository myrepository

url disk:

user admin password hash 2b50ca94445f240f491e077b5f49fa0375942f38

!

password-policy

lower-case-required

upper-case-required

digit-required

no-username

disable-cisco-passwords

min-password-length 6

!

logging localhost

logging loglevel 6

!

cdp timer 60

cdp holdtime 180

cdp run GigabitEthernet 0

!

icmp echo on

!

 

/admin#