Junos Reference Guide. JUNOsReference. 1 P a g e

Similar documents
IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://

Configuring the JUNOS Software the First Time on a Router with a Single Routing Engine

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

JN0-343 Q&As. Juniper Networks Certified Internet Specialist (JNCIS-ENT) Pass Juniper JN0-343 Exam with 100% Guarantee

Network Configuration Example

Vendor: Juniper. Exam Code: JN Exam Name: JNCIA-JUNOS EXAM OBJECTIVES. Version: Demo

Juniper JN0-101 Questions & Answers

LARGE SCALE IP ROUTING

Juniper JN Enterprise Routing and Switching Support Professional (JNCSP-ENT)

Question: 3 Which LSA type describes the router ID of ASBR routers located in remote areas?

Specialist Level Certification JNCIS-ENT; 5 Days; Instructor-led

Network Configuration Example

Certkiller JN q

JUNIPER JN0-102 EXAM QUESTIONS & ANSWERS

Chapter 8 Configuring OSPF

Introduction to routing

Router Lab Reference

Lenovo Flex System SI Gb System Interconnect Module. Release Notes. for Networking OS 8.2

JUNIPER JN0-100 EXAM QUESTIONS & ANSWERS

JNCIS Enterprise Routing and Switching Certification Boot Camp (JIR, JEX)

Network Configuration Example

Junos OS. 2nd edition FOR. Walter Goralski, Cathy Gadecki, and Michael Bushong. John Wiley & Sons, Inc. WILEY

RIP. Table of Contents. General Information. Summary. Specifications

JN0-346 juniper

Example: Conditionally Generating Static Routes

Juniper Exam JN0-643 Enterprise Routing and Switching, Professional (JNCIP-ENT) Version: 13.0 [ Total Questions: 221 ]

Chapter 15 OSPF Commands

GuideTorrent. The best excellent exam certification guide torrent and dumps torrent provider

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

CCNP ROUTING & SWITCHING PRACTICAL LAB WORKBOOK DARE TO CHALLENGE YOUR SKILLS COMPLETE THE TESTS & TAKE YOUR CAREER TO NEXT LEVEL

Configuring OSPF with CLI

Juniper.Selftestengine.jn0-694.v by.KIM-HL.52q

Lenovo ThinkSystem NE1032/NE1032T/NE1072T. Release Notes. For Lenovo Cloud Network Operating System 10.6

Juniper Examsheets JNO-101 Questions and Answers

Skills Assessment (OSPF) Student Training Exam

A Commands. Send comments to

Supported Standards. Class of Service Tagging for Ethernet frames. Multiple Spanning Tree Protocol. Rapid Spanning Tree Protocol

Lab 1. JUNOS CLI & Initial Configuration. Overview. Introduction to JUNOS Software & Routing Essentials

Deployment Guide for SRX Series Services Gateways in Chassis Cluster Configuration

Network Configuration Example

for Hardware Installation: IG550 Integrated Gateway

Troubleshooting and Maintaining Cisco IP Networks v2 ( )

SEVENMENTOR TRAINING PVT.LTD

Chapter 16 OSPF Version 3 Commands

Cisco Certified Network Associate ( )

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

FiberstoreOS IP Routing Command Line Reference

FINAL INTERNSHIP REPORT

Chapter 17 BGP4 Commands

FSOS IP Routing Command Line Reference

CCNP (Routing & Switching and T.SHOOT)

Command Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

Introduction to Routing

Skills Assessment (OSPF) Student Training Exam

Network Configuration Example

Juniper JN0-647 Exam. Volume: 65 Questions. Question: 1 Which protocol is a multicast routing protocol? A. OSPF B. BGP C. PIM D. IS-IS.

CCIE R&S v5.0. Troubleshooting Lab. Q1. PC 110 cannot access R7/R8, fix the problem so that PC 110 can ping R7

Chapter 20 IPv6 BGP Unicast Address Family Commands

Example: Setting Up Basic Bridging and a VLAN for an EX Series Switch

Skills Assessment (EIGRP) Student Training Exam

Juniper JN0-101 Questions & Answers

Juniper Exam JN0-691 Junos Troubleshooting Version: 6.0 [ Total Questions: 135 ]

Juniper JN0-101 Exam Questions & Answers

Virtual Route Reflector

JUNIPER JN0-342 EXAM QUESTIONS & ANSWERS

Chapter 13 Configuring BGP4

Configuring Gigabit Ethernet Interfaces (J-Web Procedure)

Implementing Cisco IP Routing ( )

CCNA Routing and Switching (NI )

OSPFv3 Address Families

Routing Implementation

QUICKSTART GUIDE FOR BRANCH SRX SERIES SERVICES GATEWAYS

Network Configuration Example

CCIE Route & Switch Written (CCIERSW) 1.0

Vendor: Juniper. Exam Code: JN Exam Name: Enterprise Routing and Switching, Professional (JNCIP-ENT) Version: Demo

OSPFv3 Address Families

OSPFv3 Address Families

PREREQUISITES TARGET AUDIENCE. Length Days: 5

Dell EMC Switch Configuration Guide for iscsi and Software-Defined Storage

Vendor: Juniper. Exam Code: JN Exam Name: Enterprise Routing and Switching Support, Professional (JNCSP-ENT) Version: Demo

DE-CIX Academy: BGP - Multihoming

Lenovo Flex System Fabric EN4093R 10Gb Scalable Switch. Release Notes. for Lenovo Network OS 8.4

Lenovo RackSwitch G8272. Release Notes. For Cloud Network Operating System 10.2

Network Configuration Example

CCNA. Murlisona App. Hiralal Lane, Ravivar Karanja, Near Pethe High-School, ,

Lab 1-2Connecting to a Cisco Router or Switch via Console. Lab 1-6Basic Graphic Network Simulator v3 Configuration

BGP mvpn BGP safi IPv4

TestOut Routing and Switching Pro - English 6.0.x COURSE OUTLINE. Modified

JNCIA-Junos. Number: JN0-101 Passing Score: 800 Time Limit: 120 min File Version: 4.5. Juniper JN0-101

Lenovo ThinkSystem NE Release Notes. For Lenovo Cloud Network Operating System 10.6

Real4Test. Real IT Certification Exam Study materials/braindumps

ACI Transit Routing, Route Peering, and EIGRP Support

UniNets MPLS LAB MANUAL MPLS. UNiNets Multiprotocol label Switching MPLS LAB MANUAL. UniNets MPLS LAB MANUAL

EX2500 Ethernet Switch 3.1 Release Notes

Configure the IPv6 BGP Local Preference Feature

Defining Route Maps. Information About Route Maps CHAPTER

Accurate study guides, High passing rate! Testhorse provides update free of charge in one year!

DX 32xx and DX 36xx Quick Start

Table of Contents. 2 Static Route Configuration Commands 2-1 Static Route Configuration Commands 2-1 delete static-routes all 2-1 ip route-static 2-1

OSPF Filtering (Part I)

Transcription:

JUNOs 1 P a g e

Contents Help commands... 4 Rescue Configuration... 4... 4 Show commands... 4 Rollback... 4 Default Behavior... 4... 4... 4 Password Recovery... 5 Procedure... 5 Initial Configuration... 6 SSH and FTP... 6 Hostname... 6 Set Root Password... 6 Configuring an interface... 7 Layer 2... 7 Layer 3... 7 Disable and Enable... 7 Show commands... 7 Configuring Vlans... 7 Basic configuration... 7 Adding interfaces... 7... 7 Rapid Spanning Tree Protocol (RSTP)... 8... 8... 8 Configuring Routed Virtual Interfaces (RVI)... 8... 8... 8 Configuring an Aggregated Ethernet Interface... 8... 8 2 P a g e

Adding Ports to the AE... 8 Configuring the AE... 8... 9 Configuring Trunk Ports... 9 Basic configuration... 9 Adding Vlans... 9... 9 Static Route... 9... 9... 9 OSPF... 9... 9 Defining Area Types... 10 Passive Interface... 10... 10 Authentication... 10 BFD... 10 Virtual Link... 10 Static2OSPF redistribution example... 10 BGP... 11 Default Behavior:... 11... 11 Route Aggregation... 11... 11 Defining a policy... 11... 11 Policy Example... 12 3 P a g e

Help commands #help apropos Displays help about a text string contained in a statement or command name. #help reference Provides assistance with configuration syntax by displaying summary information for the statement. #help syslog Displays information on specific syslog events. #help tip Random tips for using the CLI #help topic Displays usage guidelines for configuration statements. Rescue Configuration #request system configuration rescue save #request system configuration rescue delete Show commands >file show /config/rescue.conf.gz Rollback Default Behavior Saves previous commits between with file values between 0-49 0 is the most recent commit #rollback <0-49> #commit #rollback rescue #commit >show compare rollback <0-49> 4 P a g e

Password Recovery Procedure 1. Power off your switch by unplugging the power cord or turning off the power at the wall switch. 2. Insert one end of the Ethernet cable into the serial port on the management device and connect the other end to the console port on the back of the switch. 3. On the management device, start your asynchronous terminal emulation application (such as Microsoft Windows Hyperterminal) and select the appropriate COM port to use (for example, COM1). 4. Configure the port settings as follows: Bits per second: 9600 Data bits: 8 Parity: None Stop bits: 1 Flow control: None 5. Power on your switch by plugging in the power cord or turning on the power atthe wall switch. 6. When the following prompt appears, press the Spacebar to access the switch's bootstrap loader command prompt: Hit [Enter] to boot immediately, or space bar for command prompt. Booting [kernel] in 1 second... 7. At the following prompt, type boot -s to start up the system in single-user mode: loader> boot -s 8. At the following prompt, type recovery to start the root password recovery procedure: Enter full path name of shell or 'recovery' for root password recovery or RETURN for /bin/sh: recovery A series of messages describe consistency checks, mounting of filesystems, and initialization and checkout of management services. Then the CLI prompt appears. 9. Enter configuration mode in the CLI: user@switch> cli 5 P a g e

10. Set the root password. For example: user@switch# set system root-authentication plain-text-password 11. At the following prompt, enter the new root password. For example: New password: juniper1 Retype new password: 12. At the second prompt, reenter the new root password. 13. If you are finished configuring the network, commit the configuration.root@switch# commit commit complete 14. Exit configuration mode in the CLI. root@switch# exit 15. Exit operational mode in the CLI. root@switch> exit 16. At the prompt, enter y to reboot the switch. Reboot the system? [y/n] y Initial Configuration SSH and FTP #set system services ssh #set system services ftp Hostname #set system host-name<hostname> Set Root Password #set system root-authentication plain-text-password 6 P a g e

Configuring an interface Layer 2 #edit interfaces #set <interface> unit 0 family Ethernet-switching #set <interface> unit 0 family Ethernet-switching port-mode access #set <interface> ether-options link-mode (full-duplex half-duplex) #set <interface> ether-options speed (100m 1g 10g) #set <interface> ethernet-switching vlan members <Vlan ID> Layer 3 #set interface <interface> unit 0 family inet address <IP address/mask> Disable and Enable #set interfaces <interface> disable #delete interfaces <interface> disable Show commands >show interface s terse >show interfaces terse match <interface> >show interfaces <interface> terse >show interfaces <interface> >show interfaces <interface> extensive Configuring Vlans Basic configuration #edit vlans #set <Vlan Name> vlan-id <Vlan ID> Adding interfaces #edit vlans #set <Vlan Name> vlan-id <Vlan ID> interfaces <Interface> >show vlans >show Ethernet-switching interfaces >show Ethernet-switching table 7 P a g e

Rapid Spanning Tree Protocol (RSTP) #set protocols rstp >show spanning-tree bridge >show spanning-tree interface >show spanning-tree interface <interface> detail >show ethernet-switching interfaces Configuring Routed Virtual Interfaces (RVI) #edit interfaces #set vlan unit <#> family inet address <IP Address/Mask> #top edit vlans #set <Vlan Name> L3-interface vlan.<#> >show interfaces vlan terse >show configuration routing-instances Configuring an Aggregated Ethernet Interface #set chassis aggregated-devices Ethernet device-count <#> Adding Ports to the AE #edit interfaces #set ae<#> unit 0 family ethernet-switching #set <Interface> ether-options 802.3ad ae<#> Configuring the AE #set interfaces ae<#> unit 0 family inet address <IP address/mask> #set interfaces ae<#> aggregated-ether-options lacp active 8 P a g e

>show interfaces terse >show interfaces ae<#> terse Configuring Trunk Ports Basic configuration #edit interfaces #set <interface> unit 0 family Ethernet-switching port-mode trunk Adding Vlans #edit interfaces #set <interface> unit 0 family Ethernet-switching vlan members <Vlan ID> #set <interface> unit 0 family Ethernet-switching vlan members all >show vlans >show Ethernet-switching interfaces >show Ethernet-switching table Static Route #set routing-options static route <Destination> next-hop <nexthopip> >show route protocol static >show Ethernet-switching interfaces >show Ethernet-switching table >show router forwarding-table destination <Destination IP> OSPF #edit protocols ospf #set area <Area ID> interface <Interface> 9 P a g e

Defining Area Types #set area<area ID> stub #set area<area ID> stub default-metric 1 #set area<area ID> nssa #set area <Area ID> nssa default-lsa default-metric 1 Passive Interface #edit protocols ospf #set area <Area ID> interface <Interface> passive >show ospf neighbor >show route protocol ospf >show router forwarding-table destination <Destination IP> >show route <Destination IP> Authentication #edit protocols ospf area <Area ID> #set interface <interface> authentication md5 1 key <Key> BFD #edit protocols ospf area 0 interface <Interface> bfd-liveness-detection #set minimum-interval <interval> #multiplier <value> Virtual Link #edit protocols ospf area <area id> virtual-link #set neighbor-id <Neighbor IP> transit-area <Transit area ID> Static2OSPF redistribution example policy-statement static2ospf{ term match-internal-static{ from{ protocol static; route-filter 192.168.0.0/16 orlonger; then { metric 100; external{ type 2; 10 P a g e

accept; BGP Default Behavior: Accept all routes advertised from established BGP peers Send all EBGP peers all BGP-received routes that area active in the routing table IBGP-learned routes area not advertised to IBGP peers #edit protocols bgp #set group <groupname> local-address <Source Address or Loopback> #set group <groupname> type (internal external) #set group <groupname> peer-as <AS number> #set group <groupname> neighbor <Neighbor IP> Route Aggregation #set routing-options aggregate route <Aggregate Route IP> >show bgp summary >show bgp neighbor >show router advertising-protocol bgp <Neighbor IP> >show route receive-protocol bgp <Neighbor IP> >show bgp neighbor <Neighbor IP> >show router forwarding-table destination <Destination IP> Defining a policy #set policy-options prefix-list <Prefix list Name> <IP/mask> #edit policy-options policy-statement <Statement Name> 11 P a g e

#edit term <Term Name> #set from prefix-list-filter <Prefix list Name> (orlonger exact Refer to options available) #set then reject Policy Example prefix-list internal-prefixes{ 172.20.4.0/22; policy-statement block-internal-routes{ term internal-routes{ from{ prefix-list-filter internal-prefixes orlonger; then reject; policy-statement send-internal-routes-only{ term accept-internal-routes{ from { prefix-list-filter internal-prefixes exact; then accept; term reject-all{ then reject; 12 P a g e