[j-nsp] JNCIP Case Study - 1 Pg 42 - archive size and files

Hoogen hoogen82 at gmail.com
Mon Sep 7 12:52:46 EDT 2009


Modify the syslog parameters to log all interactive CLI commands to a file
called rn-cli, where n is equal to the router number. Configure the CLI log
to permit four archived copies that will be no larger than 128K, and ensure
that CLI-related logging is also sent to 10.0.200.2, which is providing a
remote syslog service. All other syslog parameters should be left at their
default setting.

Book Solution

syslog {
user * {
any emergency;
}
host 10.0.200.2 {
interactive-commands any;
}
file messages {
any notice;
authorization info;
}
file r2-cli {
interactive-commands any;
archive files 4;
}
}

My concern is the file r2-cli.. wherein archive files 4 is given.. but the
question says "permit four archived copies that will be no larger than 128K"

My Solution was

syslog {
user * {
any emergency;
}
host 10.0.200.2 {
interactive-commands any;
}
file messages {
any notice;
authorization info;
}
file r1-cli {
interactive-commands any;
archive size 128k files 4;
}

Any insight into this... Am I missing something..


More information about the juniper-nsp mailing list