Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Netconfig job behaves unexpectedly

Hello,

I just created a netconfig job with an ad-hoc command on a interface of a cat 6506 switch.

The first command was a description command on the interface like "description test"

The second command was "switchpoort access vlan 19" which is obviously wrong, type error poort (2 oo's)

The job executed without any error, even the CLI output of the job didn't show any error.

When eexcuting this command from the switch directly this error "cisco6506(config-if)#switchpoort access vlan 19

^

% Invalid input detected at '^' marker."

appears.

In the job I have selected "stop on failure", but the job executed anyway without any error. The vlan wasn't modiyfied on the switch though.

How is this possible, is this a bug or normal operation?

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Netconfig job behaves unexpectedly

I assume you have TFTP selected as your primary protocol. If this is the case, then what you're seeing is expected. The TFTP deployment method has no way of checking for errors. The commands are loaded completely asynchronously. If you want to do more aggressive error checking, switch to using one of TELNET or SSH.

3 REPLIES
New Member

Re: Netconfig job behaves unexpectedly

I tried the same thing and I got a failure notice on my CW running LMS 2.6.

And it did not apply the change.

Cisco Employee

Re: Netconfig job behaves unexpectedly

I assume you have TFTP selected as your primary protocol. If this is the case, then what you're seeing is expected. The TFTP deployment method has no way of checking for errors. The commands are loaded completely asynchronously. If you want to do more aggressive error checking, switch to using one of TELNET or SSH.

New Member

Re: Netconfig job behaves unexpectedly

You were right again, thanks for your answer Joe.

113
Views
0
Helpful
3
Replies
CreatePlease to create content