RE: Load merge terminal

From: JUN (yulingnan@yahoo.com)
Date: Thu May 09 2002 - 10:57:33 EDT


Mike,

I knew that it works at the top level, but I was
assumeing the cli should be able to tell what I wanted
to config since I was using the load merge command at
that specific hierarchy, seems it does not work that
way.

Thanks
JUN

--- Mike Baker <mb@juniper.net> wrote:
> 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
>

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com



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