Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

Batch Operation Failure

 
qos
Advisor

Batch Operation Failure

I'm trying to schedule a job to execute a batch file and it doesn't seem to execute each command.

 

The batch file has been transferred to the switch via TFTP and contains:

int g1/0/2
port hybrid vlan 10 tagged
save

 

However when I do execute file.bat the switch outputs the following:

 

[switch-GigabitEthernet1/0/2]

Please wait...Done.

[switch-GigabitEthernet1/0/2] The current configuration will be written to the device etc and prompts follow

 

It seems to have missed the middle line out port hybrid vlan 10 tagged as no change is made.

 

The switch is S5500EI R2202P21.

1 REPLY
qos
Advisor

Re: Batch Operation Failure

My bad, this does work.

 

Can schedule it with:

 

schedule job delay 1 view system execute file.bat