cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1064
Views
5
Helpful
3
Replies

Entering carriage returns in Netconfig.

james_croke
Level 1
Level 1

Hi,

Does anyone know of a way to enter carriage returns within user defined tasks in NetConfig?

If this is not possible, has anyone tried this before and found a workaround?

i am trying to save the startup config to the local slot0: and a carriage return is required when naming the file and overwriting the old one.

Cheers.

1 Accepted Solution

Accepted Solutions

David Stanford
Cisco Employee
Cisco Employee

You could always trying using a

The actually means "response to follow".

A without a response means "accept the default". If you wanted to use a different file for a write net, the command would be:

write net192.168.1.1my-rtr.cfg

And if you wanted to acknowledge each prompt explicitly:

write net192.168.1.1my-rtr.cfgy

(compliments of an earlier post)

View solution in original post

3 Replies 3

David Stanford
Cisco Employee
Cisco Employee

You could always trying using a

The actually means "response to follow".

A without a response means "accept the default". If you wanted to use a different file for a write net, the command would be:

write net192.168.1.1my-rtr.cfg

And if you wanted to acknowledge each prompt explicitly:

write net192.168.1.1my-rtr.cfgy

(compliments of an earlier post)

Hi davistan,

This seems to do the trick, thanks for your help!

Can I just ask where the comes from? Looks like an HTML tag!?

Looks similar to HTML tags, but is actually tags that are used when doing cli configs on devices. have a look at this link:

http://www.cisco.com/univercd/cc/td/doc/product/rtrmgmt/cw2000/cw2000e/e_4_x/4_0/u_guide/netcfg.htm#wp1085251

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: