RE: Load merge terminal

From: Mike Baker (mb@juniper.net)
Date: Thu May 09 2002 - 01:27:44 EDT


JUN,

Any load command acts like you're at the "top" of the
configuration hierarchy, so you have to provide context
or the CLI doesn't know what you want to configure.

Try:
load merge terminal
[Type ^D to end input]
policy-options {
    policy-statement test {
        term 20 {
          then reject;
        }
    }
}

^D

mb

-----Original Message-----
From: JUN [mailto:yulingnan@yahoo.com]
Sent: Wednesday, May 08, 2002 10:32 AM
To: juniper-nsp@puck.nether.net
Subject: Load merge terminal

I got the error when trying to copy a term from one
policy to another:

root@test# edit policy-statement test

[edit policy-options policy-statement test]
root@test# load merge terminal
[Type ^D to end input]
   term 20 {
        thenterminal:1:(134742784) syntax error: term
 reject;
    }

I know this works if I copy the whole policy from the
top, but why can I just copy one term ??

Thanks
JUN

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:35 EDT