Lompat ke konten Lompat ke sidebar Lompat ke footer

Juniper | Administration & LLD


LLDP CONFIGURE:
vQFX-RE
set interfaces xe-0/0/0 unit 0 family inet address 10.0.1.1/30
set protocols lldp interface xe-0/0/0

vMC-R1
set interfaces ge-0/0/0 unit 0 family inet address 10.0.1.2/30
set protocols lldp interface ge-0/0/0
commit

VERIFKASI:
run show lld
run show lld neighbors
 --------------------------------SELESAI------------
 
DISACARD CONFIGURATION
Cara Mendiscard Configurasi: Artinya ketika melakuka beberapa konfigurasi yang sudah dilakuak, ternayat pengen dibatalkan.
Ex:

root@R-02# edit interfaces ge-0/0/3
[edit interfaces ge-0/0/3]
root@R-02# set unit 0 family inet address 172.16.0.254/24

[edit interfaces ge-0/0/3]
root@R-02#

[edit interfaces ge-0/0/3]
root@R-02# top

root@R-02# set system login user aguna1 class super-user

Lalu Verifrikasi:

root@R-02# show | compare
[edit interfaces]
+   ge-0/0/3 {
+       unit 0 {
+           family inet {
+               address 172.16.0.254/24;
+           }
+       }
+   }

[edit]
root@R-02#

Dari Verifikasi bahwa ada tanda (+) artinya penambahan konfigurasi sebagai "kandidat configurasi". Maka untuk membatalkan / menghapus cukup dilakukan dengan perintah rollback 0.
root@R-02#rollback 0
 
----------------SELESAI----------------------------
 
Active & Deactive
root@R-1# run show interfaces terse
Interface               Admin Link Proto    Local                 Remote
ge-0/0/0                up    up
ge-0/0/0.0              up    up   inet     12.12.12.1/30
ge-0/0/1                up    up
ge-0/0/1.0              up    up   inet     192.168.1.254/24

Lalu interface ge-0/0/1  kita mau non-aktifkan. Berikut commandnya.
Noted: pastikan sebelmnya masih bisa ping dari R2 / router tetangga.

root@R-1# deactivate interfaces ge-0/0/1
root@R-1# commit

Jika ingin meng-aktifkan kembali, cukup dengan perintah berikut:
root@R-1# activate interfaces ge-0/0/1
root@R-1# commit

Mk interface ge-0/0/1 sudah aktifi Kembali dan bisa di ping.
 ----------------SELESAI----------------------------
Rename Configuration
root@R-1# show system login
user aguna2 {
    uid 2000;
    class super-user;
    authentication {
        encrypted-password "$1$dnKAYQMY$6WNCkNlOwVFAabx/Q0GoE/"; ## SECRET-DATA
    }
}
-----
Lalu re-name user aguna2 menjadi user aguna1

root@R-1# edit system login
root@R-1# rename user aguna2 to user aguna1
-----
root@R-1# show | compare
[edit system login]
+  user aguna1 {
+      uid 2000;
+      class super-user;
+      authentication {
+          encrypted-password "$1$dnKAYQMY$6WNCkNlOwVFAabx/Q0GoE/"; ## SECRET-DATA
+      }
+  }

-  user aguna2 {
-      uid 2000;
-      class super-user;
-      authentication {
-          encrypted-password "$1$dnKAYQMY$6WNCkNlOwVFAabx/Q0GoE/"; ## SECRET-DATA
-      }
-  }

 ----------------SELESAI----------------------------
Replace Pattern : Tujuannya mengganti kata aguna ke login
root@R-1# show
user aguna1 {
    uid 2000;
    class super-user;
    authentication {
        encrypted-password "$1$dnKAYQMY$6WNCkNlOwVFAabx/Q0GoE/"; ## SECRET-DATA
    }
}
user aguna2 {
    uid 2001;
    class super-user;
    authentication {
        encrypted-password "$1$fqAqqIFw$nwp2SMMdAFynzLTbukJAd."; ## SECRET-DATA
    }
}
-------------BERIKUT COMMANDNYA----------
root@R-1# edit system login
root@R-1# replace pattern aguna with login
root@R-1# commit

--------------------END---------------------
VERIFIKASI:
root@R-1# show system login
user login1 {
    uid 2000;
    class super-user;
    authentication {
        encrypted-password "$1$dnKAYQMY$6WNCkNlOwVFAabx/Q0GoE/"; ## SECRET-DATA
    }
}
user login2 {
    uid 2001;
    class super-user;
    authentication {
        encrypted-password "$1$fqAqqIFw$nwp2SMMdAFynzLTbukJAd."; ## SECRET-DATA
    }
}

[edit]
----------------SELESAI---------------------------- 

Posting Komentar untuk "Juniper | Administration & LLD"