Você está na página 1de 30

Infrastructure Concepts

2014 Juniper Networks, Inc. All rights reserved. | www.juniper.net | Worldwide Education Services
Objectives

After successfully completing this content, you will be


able to:
Describe the items that will be tested during the JNCIE-SEC
exam
Understand the basic steps of configuration of those items
Verify that your configuration meets defined objectives

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 2
Agenda: Infrastructure Concepts

Section Topics
System Tasks
Zones
Issues and Tips

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 3
Section Topics (1 of 2)

System Tasks
Login:
Users, Classes, Authentication
NTP
Services
FTP, Telnet, SSH, Web-management
SNMP
Syslog
Control
Data

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 4
Section Topics (2 of 2)

Zones
Functional zones
Management
Security zones
Template-defined, user-defined

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 5
Agenda: Infrastructure Concepts

Section Topics
System Tasks
Zones
Issues and Tips

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 6
System Infrastructure Tasks
The following items could be part of the system
infrastructure tasks
Login
Class
User
External Authentication Radius
NTP
Services
SNMP
Syslog

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7
Login: User Accounts

You could be asked to create user accounts


What are the pre-configured classes?
Super-user, read-only, operator, unauthorized
Deny-commands Allow-commands Authorized
User Class Permissions or
Deny-configuration Allow-configuration Denied

How do you create a user with certain permissions?


#set system login class <name> permissions <permissions>
#set system login user <name> class <class> authentication
plaintext-password (Optional)

How can you verify the permission you have?


>show cli authorization
>?

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 8
Radius

You could be asked to configure a Radius Server


What information do you need?
IP address
Secret
Source address (optional)
What hierarchy is used to configure Radius?
#set system radius-server 10.250.0.254 secret xyz
source-address <address>

How do you tell the system to use Radius?


#set system authentication-order [radius password]

How does the authentication order affect user logins?

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 9
NTP (1 of 3)

You could be asked to configure NTP


What should be configured first?
Time zone, and be sure to commit.
#set system time-zone America/Phoenix
What should be configured next?
NTP server and boot-server address
#set system ntp server <add> [prefer]
#set system ntp boot-server <add>
If more than one NTP server is defined, set the prefer option
If requested, a source address can be specified
#set system ntp source-address <add>
How can you force the system to sync with NTP without
rebooting the device?
#run set date ntp <addr>
2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 10
NTP (2 of 3)

You could be asked to configure NTP Authentication


What option do you need to add authentication?
#set system ntp authentication-key 1 type md5 value
jncie123
How do you apply it to NTP?
Apply key to individual NTP server
#set system ntp server <add> key 1
Apply key to all NTP servers
#set system ntp server trusted-key 1

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 11
NTP (3 of 3)

What commands can be used to verify NTP?


>show ntp associations

remote refid st t when poll reach delay offset jitter


==============================================================================
*10.210.20.130 64.6.144.6 3 - 7 64 1 1.600 -0.004 0.044

>show ntp status

status=0664 leap_none, sync_ntp, 6 events, event_peer/strat_chg,


version="ntpd 4.2.0-a Sat Mar 24 11:49:12 UTC 2012 (1)",
processor="octeon", system="JUNOS12.1R1.9", leap=00, stratum=4,
precision=-17, rootdelay=105.025, rootdispersion=457.233, peer=59340,
refid=10.210.20.130,
reftime=d602e482.56e08181 Fri, Oct 11 2013 13:56:34.339, poll=6,
clock=d602e4cb.2f33dc8c Fri, Oct 11 2013 13:57:47.184, state=4,
offset=-0.004, frequency=4.682, jitter=1.463, stability=0.000

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 12
Services (1 of 3)

You could be asked to allow or deny specific device


services on a Junos device
Where would you control device services?

#set system services ftp


#set system services telnet
#set system services ssh
#set system services web-management http
#set system services web-management https system-
generated-certificate

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 13
Services (2 of 3)

What options can be set?


FTP, Telnet, SSH
rate-limit
connection-limit
root-login [allow | deny] (ssh only)

Web
interface <name>
port <tcp port>

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 14
Services (3 of 3)

Any other items to ensure service operations?


host-inbound-traffic
ftp
telnet
ssh
http
https
(ntp)

Potentially firewall filters

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 15
SNMP

You could be asked to configure SNMP


What is configured to allow SNMP requests?
Host-inbound-traffic
SNMP community
#set snmp community jncie authorization read-only

What do you configure to allow the Junos OS to initiate


SNMP traffic?
#set snmp trap-group jncie categories <category>
(Categories include: chassis, chassis-cluster,
configuration, link, remote-operations, routing, services,
startup and vrrp-events)

#set snmp trap-group jncie targets 10.250.0.100

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 16
Syslog (1 of 3)

You could be asked to configure syslog


What is the default for logging on a branch SRX device?
Control plane logging (the only option if sending out fxp0)
user * {
any emergency;
}
file messages {
any critical;
authorization info;
}
file interactive-commands {
interactive-commands error;
}

What do these default configurations do?


2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 17
Syslog (2 of 3)

What type of logging is needed to support high speed


logging?
Data plane logging
#set security log mode stream
#set security log stream <stream-name> category <security-
content|all> severity <severity> host <add>

You do lose the ability to set match filters

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 18
Syslog (3 of 3)

What kind of options can be configured for syslog?


Size
Number
Match filters (if using control plane)

Where are these options configured?


Globally
Per file

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 19
Issues and Tips

Biggest issue is not changing ALL the required data


when copying from one router to another (i.e., source
addresses)
Make sure all names are spelled correctly
Use load merge terminal or | display
set

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 20
Agenda: Infrastructure Concepts

Section Topics
System Tasks
Zones
Issues and Tips

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 21
Zones

What are the two types of zones?


User defined (two types):
Functional zone
Managementtreats interface same as OOB port
Security zones
Interfaces must be associated with to pass traffic
System defined (three types):
Null
Every interface belongs to by defaultdoes not pass traffic
Junos-host
Global

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 22
Functional Zones

Under what hierarchy are functional zones created?


#set security zone functional-zone management
What are configured within zones?
Host-inbound-traffic
System services
Protocols
Interface
Any data interface can be used for management
Except OOB interfaces
Host-inbound-traffic
Screen options
Discussed in a subsequent chapter

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 23
Security Zones

Under what hierarchy are security zones created?


#set security zone security-zone <name>
What are configured within zones?
Address books
Host-inbound-traffic
System services:
all, any-service, <service: ftp,ntp,ssh,telnet,etc>
Protocols:
all, <protocol: bgp,ospf,rip,bfd,etc>
Interfaces
Host-inbound-traffic
Screen options
Discussed in a subsequent chapter
2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 24
Verification Commands

What command can you use to verify your


configuration?
>show security zones
Security zone: TRUST
Send reset for non-SYN session TCP packets: Off
Policy configurable: Yes
Interfaces bound: 2
Interfaces:
ge-0/0/2.0
ge-0/0/3.0

Security zone: UNTRUST


Send reset for non-SYN session TCP packets: Off
Policy configurable: Yes
Interfaces bound: 2
Interfaces:
ge-0/0/1.0
2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 25
Agenda: Infrastructure Concepts

Section Topics
System Tasks
Zones
Issues and Tips

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 26
Issues and Tips

Issues
Making sure the appropriate services and protocols are
turned on to support the task requirements
Naming of zones is important, use the zone names provided
for you
Tips
Use copy and paste options

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 27
Summary

In this content, we:


Describes the items that will be tested during the JNCIE-SEC
exam
Listed the basic steps of configuration of those items
Verified that your configuration meets defined objectives

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 28
Infrastructure and Zones Lab

Perform initial system configuration.

2014 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 29
Worldwide Education Services

Você também pode gostar