Author
iwing
View
224
Download
0
Embed Size (px)
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
1/19
Belajar Mengkonfigurasi MPLS di Junoshttp://iwing.wordpress.com
http://www.ittelkom.ac.id/pinguin
Berhubung masih nobitol makanya masih script kiddies, maklum baru belajar hehehehe...........@_@----------------------------------------------------------------------
Topology yang digunakan adalah sebagai berikut:----------------------------------------------------------------------
----------------------------------------------------------------------Konfigurasi di router 1 (cnc1)----------------------------------------------------------------------[edit][email protected]# show## Last changed: 2010-06-27 03:20:47 UTCversion 8.4R4.2;system {
host-name cnc1;root-authentication {
encrypted-password "$1$rdYbfs2s$UfeiORYzSrjvML7X.mIHy0"; ## SECRET-DATA}login {
message "\n\n!========================================================!\n\n!Router cnc, maintened by:iwing !\n\n!Access to this device is limited to authorized user only!\n\n!WARNING!!!:ALL unathourized access is prohibited. !\n\n!========================================================!\n\n";
user iwing {uid 2001;class super-user;authentication {
encrypted-password "$1$rQy0ZTV0$A1hVDjhzF2niCbd/4MI0K."; ## SECRET-DATA}
}user opera {
http://iwing.wordpress.com/http://iwing.wordpress.com/http://www.ittelkom.ac.id/pinguinhttp://www.ittelkom.ac.id/pinguinhttp://www.ittelkom.ac.id/pinguinhttp://iwing.wordpress.com/8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
2/19
uid 2004;class operator;authentication {
encrypted-password "$1$8L2psQbK$8J.P.pvyAlAb8Bg20tXl6."; ## SECRET-DATA}
}user read-only {
uid 2002;
class read-only;authentication {encrypted-password "$1$VgO2OXwN$PNs8KzL.tKe1848Wo1Fw4/"; ## SECRET-DATA
}}user unauthorized {
uid 2003;class unauthorized;authentication {
encrypted-password "$1$0hWrv0fl$yCjqi0n8XC4UxjqlZAA0m/"; ## SECRET-DATA}
}}services {
ftp;ssh;telnet;
web-management {http {port 80;
}}
}syslog {
user * {any emergency;
}file messages {
any notice;authorization info;
}file interactive-commands {
interactive-commands any;}
}}interfaces {
fxp0 {unit 0 {
family inet {address 192.168.10.1/24;
}family mpls;
}}fxp2 {
unit 0 {family inet {
address 192.168.80.1/24;}
}
}lo0 {
unit 0 {family inet {
address 1.1.1.1/32;}
}}
}routing-options {
router-id 1.1.1.1;autonomous-system 100;
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
3/19
}protocols {
rsvp {traceoptions {
file ldp-log;flag all;flag packets detail;
}
interface fxp0.0;interface fxp2.0 {disable;
}}mpls {
label-switched-path R1-to-R5 {to 5.5.5.5;
}interface fxp0.0;interface fxp2.0 {
disable;}
}ospf {
traffic-engineering;area 0.0.0.0 {
interface lo0.0 {passive;}interface fxp0.0;interface fxp1.0;interface fxp2.0;label-switched-path R1-to-R5;
}}
}
[edit][email protected]#----------------------------------------------------------------------Konfigurasi di router 2 (cnc2)----------------------------------------------------------------------[edit]
[email protected]# show## Last changed: 2010-06-27 03:21:57 UTCversion 8.4R4.2;system {
host-name cnc2;root-authentication {
encrypted-password "$1$QeV0HEqD$DcAIEpD8DU94YaIzoqsfo/"; ## SECRET-DATA}login {
message "\n\n!========================================================!\n\n!Router cnc, maintened by:iwing !\n\n!Access to this device is limited to authorized user only!\n\n!WARNING!!!:ALL unathourized access is prohibited. !\n\n!========================================================!\n\n";
user iwing {uid 2000;class super-user;
authentication {encrypted-password "$1$a1HVR5jH$yoUbW1IOcAHOdAQCahOpy0"; ## SECRET-DATA
}}
}services {
ftp;ssh;telnet;
}syslog {
user * {
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
4/19
any emergency;}file messages {
any notice;authorization info;
}file interactive-commands {
interactive-commands any;
}}}interfaces {
fxp0 {unit 0 {
family inet {address 192.168.10.2/24;
}family mpls;
}}fxp1 {
unit 0 {family inet {
address 192.168.20.1/24;}
family mpls;}}lo0 {
unit 0 {family inet {
address 2.2.2.2/32;}
}}
}routing-options {
router-id 2.2.2.2;autonomous-system 100;
}protocols {
rsvp {
traceoptions {file ldp-log;flag all;flag packets detail;
}interface fxp1.0;interface fxp0.0;
}mpls {
interface fxp1.0;interface fxp0.0;
}ospf {
traffic-engineering;area 0.0.0.0 {
interface lo0.0 {passive;
}interface fxp0.0;interface fxp1.0;
}}
}
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
5/19
[edit][email protected]#----------------------------------------------------------------------Konfigurasi di router 3 (cnc3)----------------------------------------------------------------------[edit][email protected]# show## Last changed: 2010-06-27 03:21:30 UTC
version 8.4R4.2;system {host-name cnc3;root-authentication {
encrypted-password "$1$rdYbfs2s$UfeiORYzSrjvML7X.mIHy0"; ## SECRET-DATA}login {
message "\n\n!========================================================!\n\n!Router cnc, maintened by:iwing !\n\n!Access to this device is limited to authorized user only!\n\n!WARNING!!!:ALL unathourized access is prohibited. !\n\n!========================================================!\n\n";
user iwing {uid 2000;class super-user;authentication {
encrypted-password "$1$nBU.RVsT$LMG9TWM9OUQZGvInqYfEu1"; ## SECRET-DATA
}}}services {
ftp;ssh;web-management {
http {port 80;
}}
}syslog {
user * {any emergency;
}file messages {
any notice;authorization info;
}file interactive-commands {
interactive-commands any;}
}}interfaces {
fxp0 {unit 0 {
family inet {address 192.168.30.1/24;
}family mpls;
}}
fxp1 {unit 0 {
family inet {address 192.168.20.2/24;
}family mpls;
}}lo0 {
unit 0 {family inet {
address 3.3.3.3/32;
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
6/19
}}
}}routing-options {
router-id 3.3.3.3;autonomous-system 100;
}
protocols {rsvp {traceoptions {
file ldp-log;flag all;flag packets detail;
}interface fxp0.0;interface fxp1.0;
}mpls {
interface all;interface fxp0.0;interface fxp1.0;
}ospf {
traffic-engineering;
area 0.0.0.0 {interface lo0.0 {passive;
}interface fxp0.0;interface fxp1.0;
}}
}
[edit][email protected]#----------------------------------------------------------------------Konfigurasi di router 4 (cnc4)----------------------------------------------------------------------[edit][email protected]# show
## Last changed: 2010-06-27 03:21:21 UTCversion 8.4R4.2;system {
host-name cnc4;root-authentication {
encrypted-password "$1$rdYbfs2s$UfeiORYzSrjvML7X.mIHy0"; ## SECRET-DATA}login {
message "\n\n!========================================================!\n\n!Router cnc, maintened by:iwing !\n\n!Access to this device is limited to authorized user only!\n\n!WARNING!!!:ALL unathourized access is prohibited. !\n\n!========================================================!\n\n";
user iwing {uid 2000;class super-user;authentication {
encrypted-password "$1$a4h8jH/6$WNgvFOgNFh2cnvlaHnZms1"; ## SECRET-DATA}
}}services {
ftp;ssh;web-management {
http {port 80;
}}
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
7/19
}syslog {
user * {any emergency;
}file messages {
any notice;authorization info;
}file interactive-commands {interactive-commands any;
}}
}interfaces {
fxp0 {unit 0 {
family inet {address 192.168.30.2/24;
}family mpls;
}}fxp2 {
unit 0 {
family inet {address 192.168.40.1/24;}family mpls;
}}lo0 {
unit 0 {family inet {
address 4.4.4.4/32;}
}}
}routing-options {
router-id 4.4.4.4;autonomous-system 100;
}protocols {
rsvp {traceoptions {
file ldp-log;flag all;flag packets detail;
}interface fxp0.0;interface fxp2.0;
}mpls {
interface fxp0.0;interface fxp2.0;
}ospf {
traffic-engineering;
area 0.0.0.0 {interface lo0.0 {
passive;}interface fxp0.0;interface fxp1.0;interface fxp2.0;
}}
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
8/19
[edit][email protected]#----------------------------------------------------------------------Konfigurasi di router 5 (cnc5)----------------------------------------------------------------------[edit][email protected]# show
## Last changed: 2010-06-27 03:22:02 UTCversion 8.4R4.2;system {
host-name cnc5;root-authentication {
encrypted-password "$1$rdYbfs2s$UfeiORYzSrjvML7X.mIHy0"; ## SECRET-DATA}login {
message "\n\n!========================================================!\n\n!Router cnc, maintened by:iwing !\n\n!Access to this device is limited to authorized user only!\n\n!WARNING!!!:ALL unathourized access is prohibited. !\n\n!========================================================!\n\n";
user iwing {uid 2000;class super-user;authentication {
encrypted-password "$1$nBU.RVsT$LMG9TWM9OUQZGvInqYfEu1"; ## SECRET-DATA}}
}services {
ftp;ssh;web-management {
http {port 80;
}}
}syslog {
user * {any emergency;
}
file messages {any notice;authorization info;
}file interactive-commands {
interactive-commands any;}
}}interfaces {
fxp2 {unit 0 {
family inet {address 192.168.40.2/24;
}family mpls;
}
}fxp4 {
unit 0 {family inet {
address 192.168.90.1/24;}
}}lo0 {
unit 0 {family inet {
address 5.5.5.5/32;
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
9/19
}}
}}routing-options {
router-id 5.5.5.5;autonomous-system 100;
}
protocols {rsvp {traceoptions {
file ldp-log;flag path;flag packets detail;flag route;flag all;
}interface fxp2.0;interface fxp4.0 {
disable;}
}mpls {
label-switched-path R5-to-R1 {to 1.1.1.1;
}interface fxp2.0;interface fxp4.0 {
disable;}interface fxp0.0;
}ospf {
traffic-engineering;area 0.0.0.0 {
interface lo0.0 {passive;
}interface fxp1.0;interface fxp2.0;interface fxp3.0;interface fxp4.0;
label-switched-path R5-to-R1;}
}}
[edit][email protected]#----------------------------------------------------------------------Pengecekan (run show mpls lsp)----------------------------------------------------------------------
[edit][email protected]# run show mpls lspIngress LSP: 1 sessionsTo From State Rt ActivePath P LSPname5.5.5.5 1.1.1.1 Up 5 * R1-to-R5Total 1 displayed, Up 1, Down 0
Egress LSP: 1 sessionsTo From State Rt Style Labelin Labelout LSPname1.1.1.1 5.5.5.5 Up 0 1 FF 3 - R5-to-R1Total 1 displayed, Up 1, Down 0
Transit LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0
[edit][email protected]#
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
10/19
[email protected]# run show mpls lspIngress LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0
Egress LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0
Transit LSP: 2 sessions
To From State Rt Style Labelin Labelout LSPname1.1.1.1 5.5.5.5 Up 1 1 FF 100000 3 R5-to-R15.5.5.5 1.1.1.1 Up 1 1 FF 100016 100016 R1-to-R5Total 2 displayed, Up 2, Down 0
[edit][email protected]#
[edit][email protected]# run show mpls lspIngress LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0
Egress LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0
Transit LSP: 2 sessions
To From State Rt Style Labelin Labelout LSPname1.1.1.1 5.5.5.5 Up 1 1 FF 100000 100000 R5-to-R15.5.5.5 1.1.1.1 Up 1 1 FF 100016 100016 R1-to-R5Total 2 displayed, Up 2, Down 0
[edit][email protected]#
[email protected]# run show mpls lspIngress LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0
Egress LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0
Transit LSP: 2 sessionsTo From State Rt Style Labelin Labelout LSPname
1.1.1.1 5.5.5.5 Up 1 1 FF 100000 100000 R5-to-R15.5.5.5 1.1.1.1 Up 1 1 FF 100016 3 R1-to-R5Total 2 displayed, Up 2, Down 0
[edit][email protected]#
[email protected]# run show mpls lspIngress LSP: 1 sessionsTo From State Rt ActivePath P LSPname1.1.1.1 5.5.5.5 Up 5 * R5-to-R1Total 1 displayed, Up 1, Down 0
Egress LSP: 1 sessionsTo From State Rt Style Labelin Labelout LSPname5.5.5.5 1.1.1.1 Up 0 1 FF 3 - R1-to-R5Total 1 displayed, Up 1, Down 0
Transit LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0
[edit][email protected]#
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
11/19
----------------------------------------------------------------------Pengecekan (run show route table mpls.0)----------------------------------------------------------------------[edit][email protected]# run show route table mpls.0
mpls.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:14:11, metric 1Receive
1 *[MPLS/0] 00:14:11, metric 1Receive
2 *[MPLS/0] 00:14:11, metric 1Receive
[edit][email protected]#
[edit][email protected]# run show route table mpls.0
mpls.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:16:42, metric 1Receive1 *[MPLS/0] 00:16:42, metric 1
Receive2 *[MPLS/0] 00:16:42, metric 1
Receive100336 *[RSVP/7] 00:15:29, metric 1
> to 192.168.10.1 via fxp0.0, label-switched-path R5-to-R1100336(S=0) *[RSVP/7] 00:15:29, metric 1
> to 192.168.10.1 via fxp0.0, label-switched-path R5-to-R1100320 *[RSVP/7] 00:15:26, metric 1
> to 192.168.20.2 via fxp1.0, label-switched-path R1-to-R5
[edit][email protected]#
[edit]
[email protected]# run show route table mpls.0
mpls.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:15:21, metric 1Receive
1 *[MPLS/0] 00:15:21, metric 1Receive
2 *[MPLS/0] 00:15:21, metric 1Receive
100288 *[RSVP/7] 00:14:20, metric 1> to 192.168.20.1 via fxp1.0, label-switched-path R5-to-R1
100272 *[RSVP/7] 00:14:17, metric 1> to 192.168.30.2 via fxp0.0, label-switched-path R1-to-R5
[edit]
[edit][email protected]# run show route table mpls.0
mpls.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:15:09, metric 1Receive
1 *[MPLS/0] 00:15:09, metric 1Receive
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
12/19
2 *[MPLS/0] 00:15:09, metric 1Receive
100352 *[RSVP/7] 00:14:11, metric 1> to 192.168.30.1 via fxp0.0, label-switched-path R5-to-R1
100336 *[RSVP/7] 00:14:08, metric 1> to 192.168.40.2 via fxp2.0, label-switched-path R1-to-R5
100336(S=0) *[RSVP/7] 00:14:08, metric 1> to 192.168.40.2 via fxp2.0, label-switched-path R1-to-R5
[edit][email protected]#
[edit][email protected]# run show route table mpls.0
mpls.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:16:31, metric 1Receive
1 *[MPLS/0] 00:16:31, metric 1Receive
2 *[MPLS/0] 00:16:31, metric 1Receive
[edit][email protected]#----------------------------------------------------------------------Pengecekan (run show route)----------------------------------------------------------------------[edit][email protected]# run show route
inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
1.1.1.1/32 *[Direct/0] 00:14:56> via lo0.0
2.2.2.2/32 *[OSPF/10] 00:14:03, metric 10> to 192.168.10.2 via fxp0.0
3.3.3.3/32 *[OSPF/10] 00:14:03, metric 20> to 192.168.10.2 via fxp0.0
4.4.4.4/32 *[OSPF/10] 00:13:48, metric 11> to 192.168.10.2 via fxp0.0, label-switched-path R1-to-R5
5.5.5.5/32 *[OSPF/10] 00:13:53, metric 1> to 192.168.10.2 via fxp0.0, label-switched-path R1-to-R5
192.168.10.0/24 *[Direct/0] 00:14:56> via fxp0.0
192.168.10.1/32 *[Local/0] 00:14:56Local via fxp0.0
192.168.20.0/24 *[OSPF/10] 00:14:03, metric 20> to 192.168.10.2 via fxp0.0
192.168.30.0/24 *[OSPF/10] 00:13:48, metric 21> to 192.168.10.2 via fxp0.0, label-switched-path R1-to-R5
192.168.40.0/24 *[OSPF/10] 00:13:48, metric 11> to 192.168.10.2 via fxp0.0, label-switched-path R1-to-R5
192.168.80.0/24 *[Direct/0] 00:14:56> via fxp2.0
192.168.80.1/32 *[Local/0] 00:14:56
Local via fxp2.0192.168.90.0/24 *[OSPF/10] 00:13:48, metric 11
> to 192.168.10.2 via fxp0.0, label-switched-path R1-to-R5224.0.0.5/32 *[OSPF/10] 00:14:58, metric 1
MultiRecv
inet.3: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
5.5.5.5/32 *[RSVP/7] 00:13:48, metric 1> to 192.168.10.2 via fxp0.0, label-switched-path R1-to-R5
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
13/19
__juniper_private2__.inet.0: 1 destinations, 1 routes (0 active, 0 holddown, 1 hidden)
mpls.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:14:57, metric 1Receive
1 *[MPLS/0] 00:14:57, metric 1
Receive2 *[MPLS/0] 00:14:57, metric 1Receive
[edit][email protected]#
[edit][email protected]# run show route
inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
1.1.1.1/32 *[OSPF/10] 00:16:27, metric 10> to 192.168.10.1 via fxp0.0
2.2.2.2/32 *[Direct/0] 00:17:35> via lo0.0
3.3.3.3/32 *[OSPF/10] 00:16:32, metric 10> to 192.168.20.2 via fxp1.04.4.4.4/32 *[OSPF/10] 00:16:22, metric 20
> to 192.168.20.2 via fxp1.05.5.5.5/32 *[OSPF/10] 00:16:17, metric 11
> to 192.168.10.1 via fxp0.0192.168.10.0/24 *[Direct/0] 00:17:35
> via fxp0.0192.168.10.2/32 *[Local/0] 00:17:35
Local via fxp0.0192.168.20.0/24 *[Direct/0] 00:17:35
> via fxp1.0192.168.20.1/32 *[Local/0] 00:17:35
Local via fxp1.0192.168.30.0/24 *[OSPF/10] 00:16:22, metric 20
> to 192.168.20.2 via fxp1.0192.168.40.0/24 *[OSPF/10] 00:16:17, metric 21
> to 192.168.10.1 via fxp0.0192.168.80.0/24 *[OSPF/10] 00:16:27, metric 20
> to 192.168.10.1 via fxp0.0192.168.90.0/24 *[OSPF/10] 00:16:17, metric 21
> to 192.168.10.1 via fxp0.0224.0.0.5/32 *[OSPF/10] 00:17:38, metric 1
MultiRecv
__juniper_private2__.inet.0: 1 destinations, 1 routes (0 active, 0 holddown, 1 hidden)
mpls.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:17:37, metric 1Receive
1 *[MPLS/0] 00:17:37, metric 1Receive
2 *[MPLS/0] 00:17:37, metric 1Receive
100336 *[RSVP/7] 00:16:24, metric 1> to 192.168.10.1 via fxp0.0, label-switched-path R5-to-R1
100336(S=0) *[RSVP/7] 00:16:24, metric 1> to 192.168.10.1 via fxp0.0, label-switched-path R5-to-R1
100320 *[RSVP/7] 00:16:21, metric 1> to 192.168.20.2 via fxp1.0, label-switched-path R1-to-R5
[edit][email protected]#
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
14/19
[edit][email protected]# run show route
inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
1.1.1.1/32 *[OSPF/10] 00:15:20, metric 20
> to 192.168.20.1 via fxp1.02.2.2.2/32 *[OSPF/10] 00:15:25, metric 10> to 192.168.20.1 via fxp1.0
3.3.3.3/32 *[Direct/0] 00:16:16> via lo0.0
4.4.4.4/32 *[OSPF/10] 00:15:20, metric 10> to 192.168.30.2 via fxp0.0
5.5.5.5/32 *[OSPF/10] 00:15:20, metric 20> to 192.168.30.2 via fxp0.0
192.168.10.0/24 *[OSPF/10] 00:15:25, metric 20> to 192.168.20.1 via fxp1.0
192.168.20.0/24 *[Direct/0] 00:16:16> via fxp1.0
192.168.20.2/32 *[Local/0] 00:16:16Local via fxp1.0
192.168.30.0/24 *[Direct/0] 00:16:16> via fxp0.0
192.168.30.1/32 *[Local/0] 00:16:16Local via fxp0.0192.168.40.0/24 *[OSPF/10] 00:15:20, metric 20
> to 192.168.30.2 via fxp0.0192.168.80.0/24 *[OSPF/10] 00:15:20, metric 30
> to 192.168.20.1 via fxp1.0192.168.90.0/24 *[OSPF/10] 00:15:20, metric 30
> to 192.168.30.2 via fxp0.0224.0.0.5/32 *[OSPF/10] 00:16:19, metric 1
MultiRecv
__juniper_private2__.inet.0: 1 destinations, 1 routes (0 active, 0 holddown, 1 hidden)
mpls.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:16:19, metric 1
Receive1 *[MPLS/0] 00:16:19, metric 1
Receive2 *[MPLS/0] 00:16:19, metric 1
Receive100288 *[RSVP/7] 00:15:18, metric 1
> to 192.168.20.1 via fxp1.0, label-switched-path R5-to-R1100272 *[RSVP/7] 00:15:15, metric 1
> to 192.168.30.2 via fxp0.0, label-switched-path R1-to-R5
[edit][email protected]#
[edit][edit]
[email protected]# run show route
inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
1.1.1.1/32 *[OSPF/10] 00:15:01, metric 11> to 192.168.40.2 via fxp2.0
2.2.2.2/32 *[OSPF/10] 00:15:06, metric 20> to 192.168.30.1 via fxp0.0
3.3.3.3/32 *[OSPF/10] 00:15:06, metric 10> to 192.168.30.1 via fxp0.0
4.4.4.4/32 *[Direct/0] 00:15:59> via lo0.0
5.5.5.5/32 *[OSPF/10] 00:15:11, metric 10
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
15/19
> to 192.168.40.2 via fxp2.0192.168.10.0/24 *[OSPF/10] 00:14:54, metric 21
> to 192.168.40.2 via fxp2.0192.168.20.0/24 *[OSPF/10] 00:15:06, metric 20
> to 192.168.30.1 via fxp0.0192.168.30.0/24 *[Direct/0] 00:16:00
> via fxp0.0192.168.30.2/32 *[Local/0] 00:16:00
Local via fxp0.0192.168.40.0/24 *[Direct/0] 00:15:59> via fxp2.0
192.168.40.1/32 *[Local/0] 00:15:59Local via fxp2.0
192.168.80.0/24 *[OSPF/10] 00:14:54, metric 21> to 192.168.40.2 via fxp2.0
192.168.90.0/24 *[OSPF/10] 00:15:11, metric 20> to 192.168.40.2 via fxp2.0
224.0.0.5/32 *[OSPF/10] 00:16:02, metric 1MultiRecv
__juniper_private2__.inet.0: 1 destinations, 1 routes (0 active, 0 holddown, 1 hidden)
mpls.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:16:01, metric 1Receive1 *[MPLS/0] 00:16:01, metric 1
Receive2 *[MPLS/0] 00:16:01, metric 1
Receive100352 *[RSVP/7] 00:15:03, metric 1
> to 192.168.30.1 via fxp0.0, label-switched-path R5-to-R1100336 *[RSVP/7] 00:15:00, metric 1
> to 192.168.40.2 via fxp2.0, label-switched-path R1-to-R5100336(S=0) *[RSVP/7] 00:15:00, metric 1
> to 192.168.40.2 via fxp2.0, label-switched-path R1-to-R5
[edit][email protected]#
[edit]
[email protected]# run show route
inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
1.1.1.1/32 *[OSPF/10] 00:16:04, metric 1> to 192.168.40.1 via fxp2.0, label-switched-path R5-to-R1
2.2.2.2/32 *[OSPF/10] 00:15:53, metric 11> to 192.168.40.1 via fxp2.0, label-switched-path R5-to-R1
3.3.3.3/32 *[OSPF/10] 00:16:04, metric 20> to 192.168.40.1 via fxp2.0
4.4.4.4/32 *[OSPF/10] 00:16:14, metric 10> to 192.168.40.1 via fxp2.0
5.5.5.5/32 *[Direct/0] 00:17:07> via lo0.0
192.168.10.0/24 *[OSPF/10] 00:15:53, metric 11> to 192.168.40.1 via fxp2.0, label-switched-path R5-to-R1
192.168.20.0/24 *[OSPF/10] 00:15:53, metric 21> to 192.168.40.1 via fxp2.0, label-switched-path R5-to-R1
192.168.30.0/24 *[OSPF/10] 00:16:14, metric 20> to 192.168.40.1 via fxp2.0
192.168.40.0/24 *[Direct/0] 00:17:07> via fxp2.0
192.168.40.2/32 *[Local/0] 00:17:07Local via fxp2.0
192.168.80.0/24 *[OSPF/10] 00:15:53, metric 11> to 192.168.40.1 via fxp2.0, label-switched-path R5-to-R1
192.168.90.0/24 *[Direct/0] 00:17:07> via fxp4.0
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
16/19
192.168.90.1/32 *[Local/0] 00:17:07Local via fxp4.0
224.0.0.5/32 *[OSPF/10] 00:17:11, metric 1MultiRecv
inet.3: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
1.1.1.1/32 *[RSVP/7] 00:15:59, metric 1> to 192.168.40.1 via fxp2.0, label-switched-path R5-to-R1
__juniper_private2__.inet.0: 1 destinations, 1 routes (0 active, 0 holddown, 1 hidden)
mpls.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:17:11, metric 1Receive
1 *[MPLS/0] 00:17:11, metric 1Receive
2 *[MPLS/0] 00:17:11, metric 1Receive
[edit][email protected]#
----------------------------------------------------------------------Pengecekan (run ping mpls rsvp [....])----------------------------------------------------------------------[edit][email protected]# run ping mpls rsvp R1-to-R5 count 100!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!--- lsping statistics ---100 packets transmitted, 100 packets received, 0% packet loss
[edit][email protected]#
[edit][email protected]# run ping mpls rsvp R5-to-R1 count 100!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- lsping statistics ---100 packets transmitted, 100 packets received, 0% packet loss
[edit][email protected]#
----------------------------------------------------------------------Pengecekan traceroute []----------------------------------------------------------------------[edit][email protected]# run traceroute 5.5.5.5 source 1.1.1.1traceroute to 5.5.5.5 (5.5.5.5) from 1.1.1.1, 30 hops max, 40 byte packets1 192.168.10.2 (192.168.10.2) 1.647 ms 1.823 ms 0.900 ms
MPLS Label=100320 CoS=0 TTL=1 S=12 192.168.20.2 (192.168.20.2) 3.514 ms 2.185 ms 2.560 ms
MPLS Label=100272 CoS=0 TTL=1 S=1
3 192.168.30.2 (192.168.30.2) 3.994 ms 4.416 ms 4.935 msMPLS Label=100336 CoS=0 TTL=1 S=1
4 5.5.5.5 (5.5.5.5) 6.037 ms 5.097 ms 4.926 ms
[edit][email protected]#
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
17/19
[email protected]# run traceroute 1.1.1.1 source 5.5.5.5traceroute to 1.1.1.1 (1.1.1.1) from 5.5.5.5, 30 hops max, 40 byte packets1 192.168.40.1 (192.168.40.1) 3.301 ms 1.532 ms 2.358 ms
MPLS Label=100352 CoS=0 TTL=1 S=12 192.168.30.1 (192.168.30.1) 5.027 ms 3.644 ms 3.152 ms
MPLS Label=100288 CoS=0 TTL=1 S=13 192.168.20.1 (192.168.20.1) 5.140 ms 4.520 ms 5.262 ms
MPLS Label=100336 CoS=0 TTL=1 S=1
4 1.1.1.1 (1.1.1.1) 8.094 ms 8.788 ms 5.301 ms
[edit][email protected]#----------------------------------------------------------------------Traceroute dari 1.1.1.1 ke 5.5.5.5----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
18/19
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------Traceroute dari 5.5.5.5 ke 1.1.1.1----------------------------------------------------------------------
----------------------------------------------------------------------
8/9/2019 Belajar Mengkonfigurasi MPLS di Junos
19/19
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
"Sekian dulu, semoga bermanfaat dan salam sedogedoi", saya mau belajar lagi teorinya T_T, kalauada yang keliru tolong beritahu saya, terima kasih... @_@ CMIIW