[j-nsp] Junos compare function
James Cornman
james at atlanticmetro.net
Thu Oct 9 16:07:21 EDT 2008
While in 'configure' mode,
show | compare
will give you the diff between before any config changes you made and now.
Alternatively you can add rollback revisions there also in the same fashion
The error your getting is indeed due to the version difference so it
can't really be expected to work should you roll back to it.
On Thu, Oct 9, 2008 at 3:44 PM, Drechsel, Thiago (NSN - BR/Curitiba)
<thiago.drechsel at nsn.com> wrote:
> Hi list.
>
> Does anybody know how the compare function works on Junos? I know that
> this is a diff between two config files....
> But, does Junos do a syntax verification prior comparing?
>
> I'm asking this because I'm trying to compare the candidate with an old
> configuration (rollback 31) and I'm receiving the following error:
>
> user at router# show | compare rollback 31
> /config/juniper.conf:212:(18) syntax error: enable
> [edit chassis redundancy graceful-switchover]
> 'enable;'
> syntax error
>
>
> PS: Right now, I'm using release 9.0R3.6 that doesn't support the
> "enable" on graceful-switchover anymore. Rollback 31 was commited on
> 8.2R3.6, that supported the "enable" statement.
>
> Thiago Drechsel
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
--
James Cornman
Chief Technical Officer
Atlantic Metro Communications
e: james at atlanticmetro.net
w: http://www.atlanticmetro.net
v: 212-792-9950
f: 718-559-4862
CONFIDENTIALITY NOTICE: This communication and any documents, files or
previous e-mail messages attached to it, constitute an electronic
communication within the scope of the Electronic Communication Privacy
Act, 18 USCA 2510. This communication may contain non-public,
confidential, or legally privileged information intended for the sole
use of the designated recipient(s). The unlawful interception, use or
disclosure of such information is strictly prohibited under 18 USCA
2511 and any applicable laws. If you are not the intended recipient,
or have received this communication in error, please notify the sender
immediately by reply email at support at atlanticmetro.net or by
telephone at 212-792-9950 and delete all copies of this communication,
including attachments, without reading them or saving them to disk.
More information about the juniper-nsp
mailing list