Konfigurasi Dasar Juniper.
Gambar 1.1 Router Juniper
Berikut ini adalah konfigurasi Juniper:
- Tampilan awal masuk ke Juniper, disini untuk masuk login ketikkan root setelah itu ketikkan masuk cli agar bisa masuk ke tampilan confignya.
Sun Jul 16 02:53:54 UTC 2017
Amnesiac (ttyd0)
login: root
--- JUNOS 12.1R1.9 built 2012-03-24 12:52:33 UTC
root@%
root@% cli
- Setelah ketikkan cli,akan masuk ke operational mode.
root@% cli
root> configure ?
Possible completions:
<[Enter]> Execute this command
batch Work in batch mode (commit happens in batch)
dynamic Work in dynamic database
exclusive Obtain exclusive lock (other users cannot make changes)
private Work in private database (other's changes do not show)
| Pipe through a command
root> configure ?
- Setelah dari operational mode,kita akan masuk ke configuration mode.
Root> configure
Entering configuration mode
[edit]
root#
|
- Jika lupa dengan perintah nya kita bisa melihat list perintah.
root> ?
Possible completions:
clear Clear information in the system
configure Manipulate software configuration information
file Perform file operations
help Provide help information
monitor Show real-time debugging information
mtrace Trace multicast path from source to receiver
op Invoke an operation script
ping Ping remote target
quit Exit the management session
request Make system-level requests
restart Restart software process
set Set CLI properties, date/time, craft interface message
show Show system information
ssh Start secure shell on another host
start Start shell
telnet Telnet to another host
test Perform diagnostic debugging
traceroute Trace route to remote host
- Setting hostname, untuk sebagai identitas dari perangkat itu sendiri.
root@R1# set system host-name belajar ---------> contoh hostname
|
- Tambahan jika di mode operational mode.
root# show cli
^
syntax error. ----> jika tidak menggunakan run hasilnya
[edit]
root# run show cli
CLI complete-on-space set to on
CLI idle-timeout disabled
CLI restart-on-upgrade set to on
CLI screen-length set to 24 ------>jika menggunakan run
CLI screen-width set to 80
CLI terminal is 'vt100'
CLI is operating in enhanced mode
CLI timestamp disabled
CLI working directory is '/root'
[edit]
root#
- Untuk melihat keseluruhan konfigurasi yang di setting.
root> show configuration -----> di mode operational mode
## Last commit: 2012-05-11 11:54:23 UTC by root
version 12.1R1.9;
system {
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
## Warning: missing mandatory statement(s): 'root-authentication'
}
root>
root# show ----------> di mode configuration mode
## Last changed: 2017-07-16 02:53:14 UTC
version 12.1R1.9;
system {
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
## Warning: missing mandatory statement(s): 'root-authentication'
}
[edit]
root#
|
- Untuk melihat settingan interface yang up dan lebih detail.
root> show interfaces brief
Physical interface: cbp0, Enabled, Physical link is Up
Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified,
Speed: Unspecified
Device flags : Present Running
Interface flags: SNMP-Traps
Physical interface: demux0, Enabled, Physical link is Up
Type: Software-Pseudo, Link-level type: Unspecified, MTU: 9192, Clocking: 1,
Speed: Unspecified
Device flags : Present Running
Interface flags: Point-To-Point SNMP-Traps
Physical interface: dsc, Enabled, Physical link is Up
Type: Software-Pseudo, Link-level type: Unspecified, MTU: Unlimited,
Clocking: Unspecified, Speed: Unspecified
Device flags : Present Running
Interface flags: Point-To-Point SNMP-Traps
Physical interface: em0, Enabled, Physical link is Up
Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified,
Speed: 1000mbps
Device flags : Present Running
Interface flags: SNMP-Traps
Physical interface: em1, Enabled, Physical link is Up
Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified,
Speed: 1000mbps
Device flags : Present Running
Interface flags: SNMP-Traps
Physical interface: em2, Enabled, Physical link is Up
Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified,
Speed: 1000mbps
Device flags : Present Running
Interface flags: SNMP-Traps
Physical interface: em3, Enabled, Physical link is Up
Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified,
Speed: 1000mbps
Device flags : Present Running
Interface flags: SNMP-Traps
Physical interface: em4, Enabled, Physical link is Up
Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified,
Speed: 1000mbps
Device flags : Present Running
Interface flags: SNMP-Traps
Physical interface: gre, Enabled, Physical link is Up
Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: Unlimited
Device flags : Present Running
Interface flags: Point-To-Point SNMP-Traps
Physical interface: ipip, Enabled, Physical link is Up
Type: IPIP, Link-level type: IP-over-IP, MTU: Unlimited, Speed: Unlimited
Device flags : Present Running
Interface flags: SNMP-Traps
Physical interface: irb, Enabled, Physical link is Up
Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified,
Speed: Unspecified
Device flags : Present Running
Interface flags: SNMP-Traps
Physical interface: lo0, Enabled, Physical link is Up
Type: Loopback, Link-level type: Unspecified, MTU: Unlimited,
Clocking: Unspecified, Speed: Unspecified
Device flags : Present Running Loopback
Interface flags: SNMP-Traps
Logical interface lo0.16384
Flags: SNMP-Traps Encapsulation: Unspecified
inet 127.0.0.1 --> 0/0
Logical interface lo0.16385
Flags: SNMP-Traps Encapsulation: Unspecified
inet 128.0.0.4 --> 0/0
inet6 fe80::2f2:140f:fcb2:8700
Physical interface: lsi, Enabled, Physical link is Up
Type: Software-Pseudo, Link-level type: LSI, MTU: 1496, Clocking: Unspecified,
Speed: Unlimited
Device flags : Present Running
Physical interface: mtun, Enabled, Physical link is Up
Type: Multicast-GRE, Link-level type: GRE, MTU: Unlimited, Speed: Unlimited
Device flags : Present Running
Interface flags: SNMP-Traps
Physical interface: pimd, Enabled, Physical link is Up
Type: PIMD, Link-level type: PIM-Decapsulator, MTU: Unlimited,
Speed: Unlimited
Device flags : Present Running
Physical interface: pime, Enabled, Physical link is Up
Type: PIME, Link-level type: PIM-Encapsulator, MTU: Unlimited,
Speed: Unlimited
Device flags : Present Running
Physical interface: pip0, Enabled, Physical link is Up
Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified,
Speed: Unspecified
Device flags : Present Running
Interface flags: SNMP-Traps
Physical interface: pp0, Enabled, Physical link is Up
Type: PPPoE, Link-level type: PPPoE, MTU: 1532, Speed: Unspecified
Device flags : Present Running
Interface flags: Point-To-Point SNMP-Traps
Physical interface: tap, Enabled, Physical link is Up
Type: Software-Pseudo, Link-level type: Interface-Specific, MTU: Unlimited,
Clocking: Unspecified, Speed: Unlimited
Device flags : Present Running
Interface flags: SNMP-Traps
root>
root> show interfaces terse
Interface Admin Link Proto Local Remote
cbp0 up up
demux0 up up
dsc up up
em0 up up
em1 up up
em2 up up
em3 up up
em4 up up
gre up up
ipip up up
irb up up
lo0 up up
lo0.16384 up up inet 127.0.0.1 --> 0/0
lo0.16385 up up inet 128.0.0.4 --> 0/0
inet6 fe80::2f2:140f:fcb2:8700
lsi up up
mtun up up
pimd up up
pime up up
pip0 up up
pp0 up up
tap up up
root>
- Mereset router juniper.
root# load factory-default
warning: activating factory configuration
[edit]
- Coba untuk mengganti password.
root# set system root-authentication plain-text-password
New password:
Retype new password:
[edit]
root#
Note :Ketentuan password minimal 6 karakter.
Referensi:
https://rivaldo-ibrahim.blogspot.co.id/2017/07/konfigurasi-dasar-juniper.html
Komentar
Posting Komentar