Jared Mauch writes:
>Just load them on the device and rollback and use commit-check as your middle 
>step.

There's also the "test configuration" command:

user@cli> test configuration server:cli.conf    
cli.conf                                               100%   29KB  28.6KB/s   
00:00    
server:cli.conf:986:(28) fpc value outside range 0..1 for '2/2/0.0' in 
'so-2/2/0.0': so-2/2/0.0
  [edit routing-instances one interface]
    'interface so-2/2/0.0;'
      fpc value outside range 0..1 for '2/2/0.0' in 'so-2/2/0.0'
warning: statement must contain additional statements
server:cli.conf:991:(28) fpc value outside range 0..1 for '3/2/0.0' in 
'so-3/2/0.0': so-3/2/0.0
  [edit routing-instances two interface]
    'interface so-3/2/0.0;'
      fpc value outside range 0..1 for '3/2/0.0' in 'so-3/2/0.0'
warning: statement must contain additional statements
error: configuration syntax failed

user@cli> 

Thanks,
 Phil
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to