Professional Documents
Culture Documents
www.juniper.net
www.juniper.net
www.juniper.net
www.juniper.net
! Physical access to the router console port ! JUNOS version 5.1 or later ! Access to JUNOS documentation and Quick Reference Guides ! New, non-configured Juniper Network router
www.juniper.net
www.juniper.net
! Console cable (9-pin male to 9-pin female) shipped with router ! Communications application (ex Hyperterminal)
Settings are 9600, 8, N, 1 with VT100 terminal emulation
www.juniper.net
CLI Overview
! Command Line Interface access
Router console port Network access via SSH or Telnet
! Simple to use, text-based command interface ! Various commands for configuring JUNOS and Monitoring/Troubleshooting software, hardware, and network connectivity ! JUNOS supports two modes
Operational Mode Configuration Mode
juniper@host> ?
juniper@host > show ? juniper@host > show system ? [edit] juniper@host#> set protocols bgp ?
www.juniper.net
10
www.juniper.net
11
www.juniper.net
12
Invalid string a message "syntax error" or "unknown command" appears with a caret (^) indicating error location
user@host> clear route ^ syntax error, expecting <command>.
"
www.juniper.net
13
www.juniper.net
14
Example:
www.juniper.net
15
www.juniper.net
16
www.juniper.net
17
www.juniper.net
18
set cli
Change any of the CLI parameters
www.juniper.net
19
www.juniper.net
20
www.juniper.net
21
www.juniper.net
22
www.juniper.net
23
! These six packages, when grouped together, are know as a jbundle ! Download software packages from: www.juniper.net/support/ ! The same binary image of JUNOS runs across all Juniper platforms!
www.juniper.net
24
Operational Mode Software Naming Convention ! Package-m.nZnumber.tgz ! m.n is the major version ! Z is a single uppercase letter
A Alpha B Beta R Release I Internal Test or Experimental
www.juniper.net
25
Operational Mode Software Naming Convention (continued) ! jbundle-5.2R1.3-domestic.tgz ! Software version 5.2 ! Released software ! Release 1 ! Build 3 ! Domestic export restricted version
www.juniper.net
26
www.juniper.net
27
/altconfig
/config directory is backed up to /altconfig.
www.juniper.net
28
www.juniper.net
29
area traceoptions
dead-interval hello-interval interface-type metric passive poll-interval priority retransmit-interval transit-delay transmit-interval
www.juniper.net
30
user@host#
"
www.juniper.net
31
copy, save
Rollback
www.juniper.net
32
www.juniper.net
33
www.juniper.net
34
www.juniper.net
35
www.juniper.net
36
www.juniper.net
37
www.juniper.net
38
www.juniper.net
39
www.juniper.net
40
www.juniper.net
41
www.juniper.net
42
www.juniper.net
43
! Note: only commit activates and saves all your changes to flash (/config).
www.juniper.net
44
Configuration Mode Load a Configuration File ! Configuration information can come from an ASCII file prepared offline ! Use the load command to
override an existing configuration merge new statements into existing configuration replace existing statement in current configuration
www.juniper.net
45
www.juniper.net
46
www.juniper.net
47
www.juniper.net
48
OR
www.juniper.net
49
www.juniper.net
50
www.juniper.net
51
Trace Options
! set traceoptions file filename
files (default 10) size (default 128k) world-readable
www.juniper.net
52
Trace Options
! Example:
edit protocols bgp set traceoptions file bgp.log set traceoptions flag ?
all aspath damping General keepalive Normal open Packets Trace normal events Trace BGP open packets Trace all BGP protocol packets Trace general events Trace everything
www.juniper.net
53
www.juniper.net
54
www.juniper.net
55
www.juniper.net
56
Additional Information
! JUNOS Documentation
CD-ROM (included with every new router) Website www.juniper.net/support/techpubs/ Hardcopy manuals (orderable item)
www.juniper.net
57
www.juniper.net www.juniper.net/education
Thank You!
www.juniper.net
58