Common Config Flashcards
How to you save the candidate config to text file?
from configuration mode;
save <filename></filename>
Saves from current hierarchy down. Sticks file into users working dir by default (eg, /var/home/root)
Can also save <path/filename>
and save ftp://x.x
save scp://x.x
what does load merge do?
combines the current config with whatever config is in the file you specify
What does load override do?
has to be run from top of the config heirarchy. completely force loads the specified config file overwriting all existing config.
what does load patch do?
adds or removes variables in the config. Takes contextual diff input, which could be generated by show | compare save
how do you load config from terminal?
load terminal
Paste in then CTRL+D to end
what does the relative keyword do when loading?
by default the config you load needs to have the full edit paths…
relative allows the config to be applied to the hierarchy you’re in without the full paths.
How can you add config to the middle of a list of things?
insert term <thing1> before|after term <thing2></thing2></thing1>
whats the factory default login details?
root, no password
how do you restore the factory config?
load factory-default – puts config in candidate
set system root-authentication plain-text-password – set the root password
commit
How do you shut a chassis down?
request system halt - leaves the box powered on, console activity reboots
request system power-off - turns the whole box off
on dual RE boxes;
request system halt both-routing-engines – will shut both RE’s down at the same time.
What does request system halt all-members do?
in EX virtual chassis’ setups it turns all the switches in the chassis group off.
On a new box, whats first thing you have to configure?
root password;
set system root-authentication plain-text-password
whats the default root password policy?
6 chars
a change of case digits or punctuation
how are you setting hostname?
configure
edit system
set hostname <hostname>
commit</hostname>
how do you set the timezone?
edit system
set timezone <timezonename>
set timezone Europe/London</timezonename>