-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathJuniper Basics.txt
64 lines (40 loc) · 1.36 KB
/
Juniper Basics.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Juniper Basics
Routing
------------
Screening Router -> Security Gateway -> Internet Border Router -> Core Routers
[Device Selection]
J-Series or SRX = Screening Routers
SRX Services Gateway, Branch Office SRX, Data Center SRX = Security Gateway
MX, SRX(dc), M7i, M10i = Internet Border Router
EX8000, MX = Core Routers
EX,MX = Access Routers
Working the CLI
---------------------
[The Hierarchy]
edit (top)
system firewall interfaces protocols chassis etc
services login syslog
finger
ftp
ssh
telnet
xnm-ssl
> show // operational mode
> configure // similar to "conf t"
# show // configuration mode
[edit]
# edit system services // changes my location in the configuration tree
[edit system services]
# commit // write changes to running config
# commit confirmed 1 // requires that another commit command be issued in 1 min or a automatic rollback is performed
# set system services telnet // "set" command allows me to add a configuration
# delete system services telnet // removes a configuration
# show interfaces terese ge-0/0/0
# edit interfaces ge-0/0/0
# set unit 0 family inet address 10.10.20.122/24
show route
show | display detail
show log messages | match fail
show | compare // compares candidate and active configs
rollback 0 // restores a fresh candidate config (prior to committing)
rollback 1 // rolls back to previously commited config