Common Config Flashcards

1
Q

How to you save the candidate config to text file?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what does load merge do?

A

combines the current config with whatever config is in the file you specify

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does load override do?

A

has to be run from top of the config heirarchy. completely force loads the specified config file overwriting all existing config.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what does load patch do?

A

adds or removes variables in the config. Takes contextual diff input, which could be generated by show | compare save

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

how do you load config from terminal?

A

load terminal

Paste in then CTRL+D to end

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what does the relative keyword do when loading?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you add config to the middle of a list of things?

A

insert term <thing1> before|after term <thing2></thing2></thing1>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

whats the factory default login details?

A

root, no password

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

how do you restore the factory config?

A

load factory-default – puts config in candidate
set system root-authentication plain-text-password – set the root password
commit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you shut a chassis down?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does request system halt all-members do?

A

in EX virtual chassis’ setups it turns all the switches in the chassis group off.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

On a new box, whats first thing you have to configure?

A

root password;

set system root-authentication plain-text-password

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

whats the default root password policy?

A

6 chars
a change of case digits or punctuation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

how are you setting hostname?

A

configure
edit system
set hostname <hostname>
commit</hostname>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

how do you set the timezone?

A

edit system
set timezone <timezonename>
set timezone Europe/London</timezonename>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do you set the time?

A

From operational mode

set date <YYYYMMDDhhmm.ss></YYYYMMDDhhmm.ss>

17
Q

How do you enable SSH?

A

edit system
set services ssh root-login allow

18
Q

Can root SSH by default?

A

NO! has to be permitted

19
Q

How do you set a management IP?

A

set interface fxp0 unit 0 family inet address 10.0.1.131/27

20
Q

How do you set a static route?

A

set routing-options static route 10.0.1.0/24 next-hop 10.0.1.129

21
Q

Whats a backup router and how do you configure one?

A

Its a route that gets used in the event the RE is up but the routing process isn’t running. Makes sure you don’ttop
lose management access if routing dies.

set system backup-router 10.0.1.129 destination 10.0.15.0/24

22
Q

What does no-readvertise on the end of a static route do?

A

stops it from being redistributed

23
Q

What does the retain command do on a static route?

A

keeps it in the forwarding table.

24
Q

How do you view the active config?

A

show configuration

from operational mode

25
Q

Whats the default CLI idle timout? how do you change it?

A

None set by default.

For the current session:

(Operational:) set cli idle-timeout <n></n>

to set a global default:

(Configure:) set cli login idle-timeout <n></n>

26
Q

How do you set a login message?

A

set system login message “message goes here”

27
Q

How do you add a rescue config?

A

(Operational:) request system configuration rescue save

28
Q

How do you restore the rescue config

A

rollback rescue (Loads it to candidate config)