[j-nsp] Offline config verification
    Phil Shafer 
    phil at juniper.net
       
    Mon Jan 17 22:17:45 EST 2011
    
    
  
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 at 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 at cli> 
Thanks,
 Phil
    
    
More information about the juniper-nsp
mailing list