Device Management Flashcards
What are the two modes you might end up in when accessing a Juniper device?
Linux/BSD Shell
Operational Mode
Whats the console port for?
Local access via console cable
useful for first device setup when the device has no IP
Where does console port put you?
Puts you in the BSD/Linux Shell
What does Amnesiac mean?
Means the device has factory default config
How do you get to Operational mode from Shell?
“cli” command
Whats the management port for?
an OOB IP management port for CLI access - SSH or telnet
What are the common management interface names?
FXP0
EM0
ME0
what inband management options are there?
SSH, Telnet J-Web
What mode does SSH/Telnet put you in?
Operational mode
What is J-WEB?
Its a GUI for configuring a Juniper device.
What things do you need to enable J-web?
- Root Password
- An IP on a reachable interface
- Enable web-management
“Set system services web-management https interface fxp0.0”
What APIs can be used to configure JUNOS?
Junos XML API
REST API
JET API
Whats the craic with the XML API?
Its Netconf. Junos made netconf.
All Junos CLI commands have an XML quilivent.
Executes XML RPC’s over netconf.
Whats the craic with REST?
Supports get and post. Get executes, post sends data.
Theres a web-based GUI where you can experiment and download data via ASCI, XML, or JSON
Backend wise, all rest queries are converted and executed as XML API.
Whats JET?
Juniper Extension Toolkit
Standards interface into Junos to allow people to customise or augment device functionality
Can run on or off-box.
When logging in, whats the difference between root and non root?
Root hits shell. non-root hits CLI
what does % in your CLI prompt mean?
Means you’re in shell.
What help options are there?
? - context sensitive completion.
help topic <topic> - like manpage explaining stuff.</topic>
help reference <command></command> - gives reference config and explanation.
help apropos <variable - gives a list of commands within the current hierarchy that use that variable.
How do you turn CLI completion off?
set cli complete-on-space off
What VT does the CLI use and why?
VT100 so arrow keys work