Junos Practice 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 23

With regard to the Junos software architecture, which two of the following are found on all Junos

devices? (Choose two.)

multiple software daemons


separation of control and forwarding
separate management interface (fxp0)
application-specific integrated circuits (ASICs)

What are two Junos processes?


OSPF SPF process
Packet forwarding engine process
BGP route process
Routing protocol process

The Junos software kernel is based on which operating system?

Solaris
Suse Linux
FreeBSD
Red Hat Linux

Which two statements are correct regarding the internal link between the control plane and
forwarding plane? (Choose two.)

The internal link has a built-in rate limiter that is configurable.


The internal link rate limits exception traffic to protect the Routing Engine against denial-
of-service attacks.
The internal link has a built-in rate limiter that is not configurable.
The internal link rate limits transient traffic to protect the Routing Engine against denial of
service attacks.

What are three examples of exception traffic? (Choose three.)

OSPF protocol updates


SNMP traffic destined to the Junos device
Packets with special IP options fields
Unicast and multicast packets destined to another router
Which part of the Junos architecture handles ICMP time-to-live (TTL) expired messages?

control interface
forwarding plane
control plane
services plane

What are two functions of the Packet Forwarding Engine? (Choose two.)

to build the Layer 2 forwarding table


to forward packets based on the forwarding table
to send ICMP time exceeded messages when the TTL reaches 0
to implement policing, firewall filtering, and class of service (CoS)

When a non-root user connects to a Junos device and successfully enters a username and password,
they are immediately placed at which level?

UNIX Shell
User-level CLI
Configuration mode
Operational mode

In which Junos mode are users allowed to monitor and troubleshoot software, network connectivity,
and hardware?
Privileges
Operational
Configuration
Monitoting

In which mode can you configure a device running Junos?

privileged
configuration
monitoring
operational
Which Junos mode should you use to view the status of interfaces on a router?

monitoring
private configuration
operational
configuration

Which statement about the Junos CLI is true?

Automatic word completion can be disabled in operational mode.


Automatic command completion is disabled by default in Junos.
Automatic word completion is only accomplished by pressing the Tab key.
Automatic word completion is only accomplished by pressing the Spacebar.

What information does the help reference command provide? (Choose three.)

command syntax
a list of RFCs describing the command functions
command default parameters and allowed value ranges
the configuration level at which the command can be entered
an example of how to configure the technology to which the command is related

The auto-complete feature in the Junos CLI is triggered by which methods?

pressing the Spacebar for both command and variable completion


pressing the Spacebar for only command completion and the Tab key for only variable
completion
pressing the Spacebar for only variable completion and the Tab key for only command
completion
pressing the Tab key for both variable and command completion and the Spacebar for
command completion

What information does the help topic command provide?

a router's version and serial number to help open a case with JTAC
software documentation describing features and configuration tasks within the Junos OS
a brief description of commands and their default values
a verification of the current configuration on the router
Which character in the Junos software CLI allows you to filter and manipulate command output?

<
>
question mark
pipe character

When you first log in to a router, how does the router indicate that factory defaults are being
used?

The router's host name is Amnesiac.


The password you used to log in is junos.
The router immediately enters configuration mode after you log in.
The router allows you to enter configuration mode without logging in.

Which configuration command can you use to reset a Junos device to factory defaults?

reset configuration
load factory-default
load override default
set default configuration

After factory-defaults have been loaded, which two syslog files will be present in the
configuration?

system and chassisd


syslog-messages and NVRAM
messages and interactive-commands
authorization and events

Which three configuration elements are considered part of the initial configuration? (Choose
three.)

SNMP
hostname
root password
user password
management access interface
What are two valid initial configuration methods supported on Junos devices? (Choose two)

CLI
J-Web
Junoscope
PCMCIA flash card

Which command would correctly define a Junos device’s hostname?

user@host# set ip host-name <name>


user@host> set ip host-name <name>
user@host# set system host-name <name>
user@host> set system host-name <name>

Which Junos CLI operational command will gracefully shut down a router?

request system shutdown


shutdown now
request system halt
shutdown -r now

Which command correctly sets a Junos device’s date and time?

user@host# set date 199708290900.00


user@host# set system time 199708290900.00
user@host> set date 199708290900.00
user@host> set system time 199708290900.00

Which two statements are true about the rescue configuration file? (Choose two.)

It gets updated automatically when you commit.


You need to create it using the command request system configuration rescue save.
It is rollback file number 50 and you can recover it by issuing rollback 50.
You can load it by entering rollback rescue.
Which two statements are true about login classes in the Junos OS? (Choose two.)

A different login class must be configured for each user.


Individual commands can be explicitly allowed or denied.
A user must be assigned to one of the default login classes.
Each login class is associated with one or more permissions flags.

Which operational command allows you to quickly verify the state of all physical and logical
interfaces?

show interfaces summary


show interfaces terse
show interfaces brief
show interfaces routing

The monitor traffic command closely resembles which UNIX-based utility?

ps -x
passwd
ls -a-l
tcpdump

Which two statements are correct about the disable command and the deactivate commands?
(Choose two.)

If the interface is disabled, the logical unit will administratively shut down.
If the interface is deactivated, the physical interface will administratively shut down.
If the interface is deactivated, the interface configuration is ignored during commit.
If the interface is disabled, the logical unit configuration is ignored during commit.

In Ethernet networks, duplex mismatches will lower performance. Which error statistics can be
seen if a duplex mismatch is present?

collisions on the full-duplex side; runts on the half-duplex side


collisions on the full-duplex side; collisions on the half-duplex side
collisions on the half-duplex side; framing errors on the full-duplex side
collisions on the half-duplex side; giants on the full-duplex side
When a local loopback is activated on a PPP serial link, which of the following indicates that the
local interface is good?

A ping to the local address succeeds.


A ping to the remote address succeeds.
A ping to the remote address received a 'TTL expired' message.
The interface shows a flag indicating that a loop is detected.

Which operational command would you enter to see a concise display of which interfaces are up
and which are down?

show interfaces brief


show interfaces status
show ip interface brief
show interfaces terse

Which operational command is a valid way to view the status of an interface?

show interfaces fe-0/0/0 extensive


show interfaces fe-0/0/0 status
show interfaces fe-0/0/0 health-info
show interfaces fe-0/0/0 verbose

Which operational command is used to view status messages sent to a file named test as they are
sent?

monitor start test


show log test
view log test
show test

In which routing table would you find an OSPFv2 route?

ipv4-unicast
inet.0
inet.4
inet.ipv4
Which routing table is used for all IPv4 unicast forwarding?

inet.0
inet4.0
ipv4.0
forwarding.0

By default, which routing table is used to store unicast IPv4 routes?

inet.0
inet.1
inet.2
inet.3

Which two statements are correct about routing tables in a Junos device? (Choose two.)

There are separate tables for IPv4 and IPv6 called inet.0 and inet6.0, respectively.
They only contain the best possible route to each destination.
All running protocols can populate the routing tables at the same time.
Routes with the highest preference value are placed as active routes in the routing table.

Which type of routes are held in inet.0?

multicast and unicast IPv4 routes


ARP tables and MAC reachability
IPv4 unicast routes
IPv6 and IPv4 routes

What is the role of route preference?

It is used to determine which route should become active.


It is used to select which routing table to use for forwarding.
It is used to determine which routes to accept into the routing table.
It is used to select the best route between multiple equal cost paths.

What is a characteristic of route preference?

It is the same as a route metric.


It must be assigned manually for each protocol.
A higher preference is better than a lower preference.
A lower preference is better than a higher preference.
Which operational command displays the routing table?

show routing-table
route print
display routes
show route

Which operational command allows viewing of only OSPF routes?

show ip ospf route


show ip route protocol ospf
show route protocol ospf
show ospf table

Which statement is true about a forwarding table?

It stores a subset of information from the routing table.


It contains routes learned from all protocols to a destination.
It provides a database for routes selected and placed into the routing table.
Every routing protocol maintains its own forwarding table.

Which statement is correct about a routing policy term?

A term must contain a "from" statement.


A term acts like "if" and "then" statements.
The most specific term has precedence.
Terms can be written in any order to achieve the same behavior.

Your Junos device has a routing policy with three terms. The first term of the policy does not
contain a terminating action. What happens to the routes after they have been evaluated by the
first term?

In the absence of a terminating action, all routes are accepted.


The routes are evaluated by the second term in the policy.
The default action is applied to the routes.
In the absence of a termination action, all routes are rejected.
Which statement is true about import and export routing policies?

Import policies concern routes received and determine which routes get put into the
routing table.
Export policies concern routes received and determine which routes get put into the routing
table.
Export policies are applied before the routing table.
Import polices are applied after the routing table.

Your routing table contains four static routes, which you need to redistribute to your OSPF peers.
Which method would accomplish this task?

Apply an import policy to OSPF, which will import the static routes into OSPF.
Apply an export policy to the static route configuration, which will export the routes to other
protocols.
Apply an import policy to the forwarding table, which will import the routes, allowing them to
be forwarded to OSPF neighbors.
Apply an export policy to OSPF, which will export the static routes to your OSPF
neighbors.

Which three of the following are considered match criteria in a policy? (Choose three.)

prefix-list
protocol ospf
next-term
AS path
prefix-term

Which two of the following are considered match criteria in a policy? (Choose two.)

next-term
AS path
prefix-file
community

Which of the following is a valid match criteria for a firewall filter?

from protocol tcp


from url
from community
from acl
Which two policy actions are considered flow control actions? (Choose two.)

reject
community add
next term
next policy

What is a valid action for a firewall filter?

then count
then allow
then community add
then drop

What are three terminating actions for a firewall filter? (Choose three.)

accept
log
reject
discard
terminate

What are two functions of the Routing Engine? (Choose two.)

to build OSPF and IS-IS adjacencies


to build the Layer 2 and Layer 3 forwarding tables
to receive and process packets that could not be forwarded by the PFE
to verify that packets arriving at the router are allowed by any configured firewall filters

Which statement is true about the internal link between the Routing Engine and the Packet
Forwarding Engine?

It is only used for exception traffic.


It is an FE link called fxp2.
It is rate limited to avoid DDoS attacks.
It is only used to send the forwarding table from the Routing Engine to the Packet Forwarding
Engine.
How does a Junos device handle exception traffic?

Exception packets are dropped by the Packet Forwarding Engine.


Exception packets are sent to the Routing Engine and are then dropped.
Exception packets are sent to the Routing Engine for processing.
Exception packets are processed by the Packet Forwarding Engine.

Which two Junos product lines are used for switching? (Choose two.)

EX Series
T Series
MX Series
M Series

Which two Junos product lines are used primarily for security? (Choose two.)

J Series
SRX Series
PTX Series
QFX Series

Which two Junos product lines are used primarily for routing? (Choose two.)

J Series
M Series
MX Series
EX Series
Which two statements are true about the Junos OS? (Choose two.)

There are two variants of the OS: one for service provider and one for enterprise.
All variants of Junos OS are based on the same base-level software.
Junos OS images are platform-specific.
All Junos platforms run the same image.

You are in configuration mode at the top of the hierarchy. How would you save your
configuration to a file on the router?

save configuration <filename>


save config <filename>
save <filename>
save run <filename>

Which two CLI commands allow you to move between different configuration hierarchies?
(Choose two.)

cd
up
move
edit

Which key could you use to auto-complete a command in the Junos CLI?

Delete
Ctrl+Z
Spacebar
Right Arrow

You have made changes to the candidate configuration. Which action will make the router apply
these changes?

Commit each piece of configuration individually.


Commit all changes at once, whenever ready.
Exit to operational mode and save your changes.
Activate the configuration with the activate command.
You are in configuration mode at the top of the hierarchy. You need to abort the changes that
you have made and start again with a fresh copy of the active configuration. Which command
should you use to accomplish this task?

rollback 0
load active
reset config
clear candidate config

Which command allows you to commit your configuration changes, but has the device revert to
the previous configuration automatically after 10 minutes if you do not commit a second time?

commit 10
commit verify
commit confirmed
commit timeout

Which CLI command restores a previously active configuration?

return
redo
restore
rollback

Uncommitted changes configured in Junos are located in which location?

running configuration
candidate configuration
active configuration
current configuration

What is the maximum number of rollback files a Junos device can store?

5
10
49
50
Which method loads the configuration that was active before your last commit?

load replace last-active


load rollback 1
rollback 1
rollback last-active

Which command allows you to verify the syntax and consistency of your configuration without
actually activating your configuration?

commit verify
commit check
check commit
commit no-activate

Which operational command allows you to compare two files stored on your router?

file show File-A compare File-B


file compare files File-A File-B
compare files File-A File-B
compare File-A File-B

Which two statements are true regarding interface properties? (Choose two.)

MTU and speed must be configured under the logical unit.


Physical parameters such as MTU, duplex mode, and speed are configured under the
interface name.
IPv4 and IPv6 addresses are configured under the logical unit.
DLCI numbers, VPI/VCI values, and VLAN tags are physical parameters.

Which statement is correct about protocol families on an interface?

Only one family is allowed on an interface.


Only one address per family is allowed on an interface.
Only one address per family is allowed on a given logical unit.
Multiple families and addresses can be configured under the same logical unit.
What is the interface name for the third SONET interface on a PIC installed in PIC slot 1, FPC
slot 1?

interface sonet-1/1/3
interface so-1/1/2
interface so-3/1/1
interface so-0/1/1.2

Which operational CLI command displays packet and byte counts for an interface in real time?

monitor traffic
show interfaces
monitor interface
show traffic counts

Which protocol family is required prior to assigning an IP address to an interface?

ip
ip6
inet
inet4

Which command configures an address of 192.168.1.1 with a mask of 255.255.255.0 on


interface ge-0/0/0?

set ip interface ge-0/0/0 address 192.168.1.1 255.255.255.0


set ip interface ge-0/0/0 address 192.168.1.1/24
set interface ge-0/0/0 ip4 address 192.168.1.1 mask 255.255.255.0
set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24

Which statement is correct about logical units on Junos device interfaces?

Logical units are used only when a Layer 2 identifier, such as a VLAN, is present.
A logical unit of 0 is required when using a frame-relay DLCI.
A logical unit is always required.
Logical units are not required unless ATM or 802.1Q VLAN tagging is configured.
After issuing the show interfaces terse command, you notice that the status of one interface is
"up down." What does this status indicate?

Layer 1 on the interface is up, but Layer 2 is down.


Layer 2 on the interface is up, but Layer 3 has not been configured.
The interface is administratively up, but the link status is down.
The interface is up, but has been administratively turned off.

How many IP addresses can be configured on a given interface?

one primary and one secondary


one
as many as you want
one primary and multiple secondary

Which of the following commands will configure the maximum transmission unit (MTU) size of
a Fast Ethernet interface?

set interfaces fe-0/0/0 unit 0 ethernet-options mtu 1200


set interfaces fe-0/0/0 mtu 1200
set interfaces fe-0/0/0 unit 0 mtu 1200
set interfaces fe-0/0/0.0 mtu 1200

Which two statements are correct regarding logical units on Junos devices? (Choose two.)

Logical units are always required for any interface configured with logical addresses such
as IPv4 and IPv6.
Ethernet interfaces can be configured to use any logical unit number, regardless of whether
802.1Q VLAN tagging is enabled.
Logical unit numbers must match the DLCI or VCI numbers configured on the interface.
Logical unit 0 is the only value allowed on interfaces running HDLC or PPP
encapsulations.

The interface ge-0/2/3 is located in which flexible PIC concentrator slot?

0
2
3
4
Which logical unit number must be configured on an interface using PPP encapsulation?

Junos Configuration Basics

unit 0
unit 1
unit 100
unit 255

What are two logical interface properties? (Choose two.)

duplex
IP address
DLCI
speed

Which operational command is used to retrieve the serial numbers of components installed in a
Junos device?

show version
show chassis hardware
show hardware detail
view hardware database

Which operational command is used to show active alarms on a Junos device?

file list alarm


show chassis alarms
show chassis state
show hardware alarms

Which operational command allows a user to view the exhaust temperatures of a Junos device?

show chassis state


file list alarm
show chassis alarms
show chassis environment
Which operational command shows the contents of the LCD display on an MX Series device?

show chassis display


show chassis fpd
show chassis craft-interface
show chassis status-window

Which operational command displays the temperature of the Routing Engine's CPU?

show chassis hardware


show chassis routing-engine
show chassis temperatures
show chassis status

Which operational command allows you to decode packets, similar to tcpdump in UNIX?

debug packet interface-name


show interface extensive
traceoptions interface-name
monitor traffic interface interface-name

Which CLI command will ping destination 10.0.29.1?

user@host> ping 10.0.29.1


user@host# ping 10.0.29.1
user@host> ping host 10.0.29.1
user@host# ping host 10.0.29.1

The monitor traffic command provides access to which utility?

tcpdump
telnet
traceroute
netstat
Which two statements are correct about traceroute on Junos devices? (Choose two.)

It transmits ICMP echo-request packets.


It transmits UDP packets.
It receives ICMP echo-reply packets.
It receives ICMP time-exceeded packets.

Which command initiates a loopback on a Gigabit Ethernet interface ge-0/0/0?

user@host# set interfaces ge-0/0/0 unit 0 loopback


user@host# set interfaces ge-0/0/0 gigether-options loopback
user@host> set interfaces ge-0/0/0 loopback
user@host> loopback ge-0/0/0

Which three are examples of next hops that can be defined for static routes? (Choose three.)

egress interface name


next hop interface name
next hop IP address
discard
expel

Which statement accurately defines the role of a qualified next hop?

It is any alternative path for best-effort traffic.


It is the next hop of the active route to a directly attached device.
It is the next hop for a route from a qualified protocol.
It is an alternative next hop for a static route.

Which two statements are true about a qualified next hop? (Choose two.)

It is referred to as a floating static route.


It is referred to as a route of most concern.
It allows independent protocol preference for static routes.
It provides for ECMP routes in the forwarding table.
Which three statements are true about dynamic routing protocols? (Choose three.)

They are scalable.


They are Dijkstra based.
They share network layer reachability information among neighbors.
They automate next-hop decisions.
They are tolerant of configuration errors.

What are three advantages that dynamic routing protocols offer over static routing protocols?
(Choose three.)

lower administrative overhead


increased network availability
greater network scalability
easier to implement qualified next hops
easier ECMP route implementation

What happens when a route does not match any user-configured policies?

The route is rejected.


The route is accepted.
The route is given a lower priority.
The route is sent to the default policy.

Given the policy shown in the exhibit, which action will be taken when a static route to
172.10.16.0/24 is evaluated?

accept
reject
next policy
go to default policy
You are configuring a firewall filter. Which "from" configuration would match only those
packets destined for 10.10.10.1?

set term 1 from address 10.10.10.1


set term 1 from destination-address 10.10.10.1
set term 1 from destination 10.10.10.1
set term 1 from ip-prefix 10.10.10.1

How do you send static routes to a RIP neighbor?

By default, RIP automatically sends static routes.


Configure the static route with a next hop of the RIP neighbor.
Configure redistribute static under the [edit protocols rip] hierarchy.
Apply an export policy within RIP that matches on the routes and then accepts them.

Which two statements describe the default routing policy for BGP? (Choose two.)

Advertise only locally originated routes.


Accept all BGP routes and import into inet.0.
Advertise all active BGP routes.
Advertise only EBGP routes.

A BGP route does not match any term within a routing policy applied to BGP. Which action is
taken by the router for this route?

It discards the route by the implicit ‘discard all’ at the end of the policy.
It advertises the route according to BGP rules.
It discards the route by the default routing protocols policy.
It discards the route because it is unable to match the route to a configured action.

A packet has a source IP address of 20.2.2.1 and a destination address of 10.1.1.1. Given the
firewall filter shown in the exhibit, which configuration change should be made to the filter so
that this packet will be counted and discarded?

rename term 4 to term 1


rename term 1 to term 5
insert term 4 before term 1
insert term 4 before term 3
The routing policy shown in the exhibit has been applied as an export policy under protocols
OSPF. However, the static route for destination 10.1.1.0/24 is not being advertised. How can the
configuration be corrected to allow the route to be advertised?

rename term 2 to term 1


rename term 1 to term 3
insert term 1 after term 2
insert term 1 before term 2

You might also like