platform and interface operations Flashcards

1
Q

What tools exist to monitor Junos?

A

J-WEB (GUI)
Junos Space
Paragon Insights
CLI
LEDs
LCDs SNMP

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

How do you monitor system level things?

A

monitor system ?

alarms, boot-messsages, connections = local TCP and UDP

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

How do you monitor the chassis?

A

show chassis ?

Environmental stuff, things about the hardware, inventory, operational stats of the RE, etc

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

on show commands, what the equivalent to ciscos “detail”?

A

extensive

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

how do you get real time packet and error counters from an interface?

A

monitor interface <interface> for a specific interface - lots of into</interface>

monitor interface traffic for all interfaces.. but less detail

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

what does monitor traffic do?

A

Gives you tcpdump functionality.

you can pull just headers, or full packet. You can use match to match specific packets.

write-file puts it into a pcap

monitor traffic interface fxp0 layer2-headers no-resolve matching icmp

Gives tcp-dump-like output to CLI for icmp from management interface.

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

What do you need to do a root PW recovery?

A

console access!

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

How do you disable password recovery?

A

edit system ports
set console insecure

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

how do you recover root pw?

A

connect to console.

  1. Reboot.

push space when prompted

enter “boot -s” to get into single user mode

  1. when prompted to enter the shell path, type “recovery”
  2. set a new root password, same as normal;

set system root-authentication plain-text-password

  1. commit, exit, reboot.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

how do you recover root PW on “upgraded freeBSD”?

A

reboot

Ctrl +C after the wind river linux starts

at the main menu, M or 5 for more options.

C or 2 to go into recovery.

change the pw, commit, exit and reboot.

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

How do you see how much space you have?

A

show system storage (its just df -h)

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

how do you do an easy cleanup?

A

request system storage cleanup

Does log rotation and offers up files you dont need anymore to delete.

request system storage cleanup dry-run will do the listing but not actually delete them.

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

how do you nuke the box and delete anything sensitive?

A

request system zeroize – Nukes the REs entirely and restores factory config

request system zeroize media – scrubs the flash to make the files unrecoverable.

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

What are the parts of the Junos software package naming conventions?

Package-prefix-arch-abi-release-edition.extension

A

package-prefix indicates what product its for
arch = CPU architecture
abi = 32 or 64 bit
release = eg 21.1R1
edition = null for domestic. “limited” for versions with no payload encryption.

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

what are the package prefixes?

A

jinstall = EX and QFX
jinstall-ex = EX
junos-install - MX and EX
junos-srx

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

how do you upgrade Junos?

A
  1. Download the image. You need a login. You can do this to your machine or direct-on-box using the temp URL the download process generates and then file copy
  2. request system software add <path/image> to upgrade/downgrade (local, FTP, SCP)

It does its thing and then reboots at the end.

17
Q

what protections are there in a Junos UPgrade?

A
  • only executes signed binaries
    wont execute a binary without a registered fingerprint
18
Q

where should you store images before you install them?

A

/var/tmp

19
Q

how do you do an ISSU?

A
  1. Enable GRES and NSR, make sure REs are synced
  2. Download and copy to router
  3. request system software in-service-upgrade <image> on primary RE</image>