platform and interface operations Flashcards
What tools exist to monitor Junos?
J-WEB (GUI)
Junos Space
Paragon Insights
CLI
LEDs
LCDs SNMP
How do you monitor system level things?
monitor system ?
alarms, boot-messsages, connections = local TCP and UDP
How do you monitor the chassis?
show chassis ?
Environmental stuff, things about the hardware, inventory, operational stats of the RE, etc
on show commands, what the equivalent to ciscos “detail”?
extensive
how do you get real time packet and error counters from an interface?
monitor interface <interface> for a specific interface - lots of into</interface>
monitor interface traffic for all interfaces.. but less detail
what does monitor traffic do?
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.
What do you need to do a root PW recovery?
console access!
How do you disable password recovery?
edit system ports
set console insecure
how do you recover root pw?
connect to console.
- Reboot.
push space when prompted
enter “boot -s” to get into single user mode
- when prompted to enter the shell path, type “recovery”
- set a new root password, same as normal;
set system root-authentication plain-text-password
- commit, exit, reboot.
how do you recover root PW on “upgraded freeBSD”?
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 do you see how much space you have?
show system storage (its just df -h)
how do you do an easy cleanup?
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 do you nuke the box and delete anything sensitive?
request system zeroize – Nukes the REs entirely and restores factory config
request system zeroize media – scrubs the flash to make the files unrecoverable.
What are the parts of the Junos software package naming conventions?
Package-prefix-arch-abi-release-edition.extension
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.
what are the package prefixes?
jinstall = EX and QFX
jinstall-ex = EX
junos-install - MX and EX
junos-srx