That was it!
Original config example from JohnC below contains Unicode char before
"groups", "PERMIT-ALL" and before last }.
That's where JUNOS was putting question marks after my "load merge terminal"
:-)
Now, I have a habit of copy-pasting config snippets into Notepad before
"load merge" them into a router (this reveals non-printable chars etc) - I
guess I need to complement that with extra step of saving them in ASCII
format, and then re-open and paste.
Cheers Phil
Regards
Alex
P.S. Anyone could suggest a untility to strip Unicode and similar chaff from
otherwise good ASCII just by pasting/re-selecting the text?
----- Original Message -----
From: "Phil Shafer" <[email protected]>
To: "Alex" <[email protected]>
Cc: "John Center" <[email protected]>; <[email protected]>
Sent: Tuesday, June 28, 2011 7:19 PM
Subject: Re: [j-nsp] Using apply-groups for last policy on SRX
"Alex" writes:
However, when I use "load merge terminal", the uppercase group name is
errored and converted to "?".
I am not seeing this:
user@cli# load merge terminal
[Type ^D at a new line to end input]
groups { TEST { system host-name foo; }}
load complete
[edit]
user@cli# show groups TEST
system {
host-name foo;
}
[edit]
user@cli#
groups {
? PERMIT-ALL {
security {
terminal:2:(15) syntax error: PERMIT-ALL
Looks like you've got an illegal character in your cut buffer.
Thanks,
Phil
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp