So, there are 3 types LSPs: Static LSPs, LDP-signaled LSPs and RSVP-signaled LSPs.
In this lab, I will use Juniper vMX to configure MPLS using LDP-Signaled on JunOS router.
For VMware setting:
1. Setting interface IP address:
set logical-systems R1 interfaces ge-0/0/1 unit 12 description TO_R2
set logical-systems R1 interfaces ge-0/0/1 unit 12 vlan-id 12
set logical-systems R1 interfaces ge-0/0/1 unit 12 family inet address 10.10.12.1/24
set logical-systems R1 interfaces ge-0/0/2 unit 14 description TO_R4
set logical-systems R1 interfaces ge-0/0/2 unit 14 vlan-id 14
set logical-systems R1 interfaces ge-0/0/2 unit 14 family inet address 172.16.14.1/24
set logical-systems R1 interfaces lo0 unit 1 family inet address 10.200.1.1/32
set logical-systems R2 interfaces ge-0/0/1 unit 23 description TO_R3
set logical-systems R2 interfaces ge-0/0/1 unit 23 vlan-id 23
set logical-systems R2 interfaces ge-0/0/1 unit 23 family inet address 10.10.23.2/24
set logical-systems R2 interfaces ge-0/0/2 unit 12 description TO_R1
set logical-systems R2 interfaces ge-0/0/2 unit 12 vlan-id 12
set logical-systems R2 interfaces ge-0/0/2 unit 12 family inet address 10.10.12.2/24
set logical-systems R2 interfaces lo0 unit 2 family inet address 10.200.1.2/32
set logical-systems R3 interfaces ge-0/0/2 unit 23 description TO_R2
set logical-systems R3 interfaces ge-0/0/2 unit 23 vlan-id 23
set logical-systems R3 interfaces ge-0/0/2 unit 23 family inet address 10.10.23.3/24
set logical-systems R3 interfaces ge-0/0/1 unit 35 description TO_R5
set logical-systems R3 interfaces ge-0/0/1 unit 35 vlan-id 35
set logical-systems R3 interfaces ge-0/0/1 unit 35 family inet address 172.16.35.3/24
set logical-systems R3 interfaces lo0 unit 3 family inet address 10.200.1.3/32
set logical-systems R4 interfaces ge-0/0/1 unit 14 description TO_R1
set logical-systems R4 interfaces ge-0/0/1 unit 14 vlan-id 14
set logical-systems R4 interfaces ge-0/0/1 unit 14 family inet address 172.16.14.4/24
set logical-systems R4 interfaces lo0 unit 4 family inet address 172.16.1.4/32
set logical-systems R5 interfaces ge-0/0/2 unit 35 description TO_R3
set logical-systems R5 interfaces ge-0/0/2 unit 35 vlan-id 35
set logical-systems R5 interfaces ge-0/0/2 unit 35 family inet address 172.16.35.5/24
set logical-systems R5 interfaces lo0 unit 5 family inet address 172.16.1.5/32
set interfaces ge-0/0/1 vlan-tagging
set interfaces ge-0/0/2 vlan-tagging
2. IS-IS setting:
In this part, I use command "group" to apply family iso in interface.
set groups INTERFACE logical-systems
set logical-systems R1 interfaces ge-0/0/1 apply-groups INTERFACE
set logical-systems R1 interfaces lo0 unit 1 family iso address 49.0001.0000.0001.00
set logical-systems R1 protocols isis level 1 disable
set logical-systems R1 protocols isis interface all
set logical-systems R2 interfaces apply-groups INTERFACE
set logical-systems R2 interfaces lo0 unit 2 family iso address 49.0001.0000.0002.00
set logical-systems R2 protocols isis level 1 disable
set logical-systems R2 protocols isis interface all
set logical-systems R3 interfaces ge-0/0/2 apply-groups INTERFACE
set logical-systems R3 interfaces lo0 unit 3 family iso address 49.0001.0000.0003.00
set logical-systems R3 protocols isis level 1 disable
set logical-systems R3 protocols isis interface all
Check:
[edit]
root@vMX-1# run show isis adjacency logical-system R2
Interface System L State Hold (secs) SNPA
ge-0/0/1.23 vMX-1-R3 2 Up 7 0:5:86:71:56:2
ge-0/0/2.12 vMX-1-R1 2 Up 21 0:5:86:71:56:1
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show route logical-system R2
inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.10.12.0/24 *[Direct/0] 00:19:14
> via ge-0/0/2.12
10.10.12.2/32 *[Local/0] 00:19:14
Local via ge-0/0/2.12
10.10.23.0/24 *[Direct/0] 00:19:14
> via ge-0/0/1.23
10.10.23.2/32 *[Local/0] 00:19:14
Local via ge-0/0/1.23
10.200.1.1/32 *[IS-IS/18] 00:07:43, metric 10
> to 10.10.12.1 via ge-0/0/2.12
10.200.1.2/32 *[Direct/0] 00:19:14
> via lo0.2
10.200.1.3/32 *[IS-IS/18] 00:08:09, metric 10
> to 10.10.23.3 via ge-0/0/1.23
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
49.0001.0000.0002/56
*[Direct/0] 00:11:07
> via lo0.2
[edit]
root@vMX-1#
[edit]
root@vMX-1# run ping 10.200.1.3 logical-system R1
PING 10.200.1.3 (10.200.1.3): 56 data bytes
64 bytes from 10.200.1.3: icmp_seq=0 ttl=63 time=24.969 ms
64 bytes from 10.200.1.3: icmp_seq=1 ttl=63 time=17.833 ms
^C
3. BGP Setting:
R1-R2-R3 is iBGP peering and R2 is RR in AS 65001.
R1-R4 & R3-R5 are eBGP peering.
set logical-systems R1 protocols bgp group TO_RR type internal
set logical-systems R1 protocols bgp group TO_RR local-address 10.200.1.1
set logical-systems R1 protocols bgp group TO_RR neighbor 10.200.1.2
set logical-systems R1 protocols bgp group TO_65002 type external
set logical-systems R1 protocols bgp group TO_65002 local-address 172.16.14.1
set logical-systems R1 protocols bgp group TO_65002 peer-as 65002
set logical-systems R1 protocols bgp group TO_65002 neighbor 172.16.14.4
set logical-systems R1 routing-options autonomous-system 65001
set logical-systems R1 policy-options policy-statement NHS term 1 from protocol bgp
set logical-systems R1 policy-options policy-statement NHS term 1 from route-type external
set logical-systems R1 policy-options policy-statement NHS term 1 then next-hop self
set logical-systems R1 protocols bgp group TO_RR export NHS
set logical-systems R2 protocols bgp group RR type internal
set logical-systems R2 protocols bgp group RR local-address 10.200.1.2
set logical-systems R2 protocols bgp group RR cluster 10.200.1.2
set logical-systems R2 protocols bgp group RR neighbor 10.200.1.1
set logical-systems R2 protocols bgp group RR neighbor 10.200.1.3
set logical-systems R2 routing-options autonomous-system 65001
set logical-systems R3 protocols bgp group TO_RR type internal
set logical-systems R3 protocols bgp group TO_RR local-address 10.200.1.3
set logical-systems R3 protocols bgp group TO_RR neighbor 10.200.1.2
set logical-systems R3 protocols bgp group TO_65003 type external
set logical-systems R3 protocols bgp group TO_65003 local-address 172.16.35.3
set logical-systems R3 protocols bgp group TO_65003 peer-as 65003
set logical-systems R3 protocols bgp group TO_65003 neighbor 172.16.35.5
set logical-systems R3 routing-options autonomous-system 65001
set logical-systems R3 policy-options policy-statement NHS term 1 from protocol bgp
set logical-systems R3 policy-options policy-statement NHS term 1 from route-type external
set logical-systems R3 policy-options policy-statement NHS term 1 then next-hop self
set logical-systems R3 protocols bgp group TO_RR export NHS
set logical-systems R4 protocols bgp group TO_65001 type external
set logical-systems R4 protocols bgp group TO_65001 local-address 172.16.14.4
set logical-systems R4 protocols bgp group TO_65001 peer-as 65001
set logical-systems R4 protocols bgp group TO_65001 neighbor 172.16.14.1
set logical-systems R4 routing-options autonomous-system 65002
set logical-systems R4 policy-options policy-statement 65002>65001 term 1 from protocol direct
set logical-systems R4 policy-options policy-statement 65002>65001 term 1 then accept
set logical-systems R4 protocols bgp group TO_65001 export 65002>65001
set logical-systems R5 protocols bgp group TO_65001 type external
set logical-systems R5 protocols bgp group TO_65001 local-address 172.16.35.5
set logical-systems R5 protocols bgp group TO_65001 peer-as 65001
set logical-systems R5 protocols bgp group TO_65001 neighbor 172.16.35.3
set logical-systems R5 routing-options autonomous-system 65003
set logical-systems R5 policy-options policy-statement 65003>65001 term 1 from protocol direct
set logical-systems R5 policy-options policy-statement 65003>65001 term 1 then accept
set logical-systems R5 protocols bgp group TO_65001 export 65003>65001
Check:
You should NOT see an "Active" state on this peering. If you see this, check your configuration.
[edit]
root@vMX-1# run show bgp summary logical-system R1
Groups: 2 Peers: 2 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
inet.0
3 2 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
10.200.1.2 65001 170 173 0 1 1:12:12 1/1/1/0 0/0/0/0
172.16.14.4 65002 166 170 0 1 1:12:08 1/2/2/0 0/0/0/0
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show bgp summary logical-system R2
Groups: 1 Peers: 2 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
inet.0
2 2 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
10.200.1.1 65001 164 164 0 1 1:12:15 1/1/1/0 0/0/0/0
10.200.1.3 65001 164 162 0 1 1:12:11 1/1/1/0 0/0/0/0
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show bgp summary logical-system R3
Groups: 2 Peers: 2 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
inet.0
3 2 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
10.200.1.2 65001 167 172 0 1 1:12:13 1/1/1/0 0/0/0/0
172.16.35.5 65003 163 164 0 1 1:12:10 1/2/2/0 0/0/0/0
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show bgp summary logical-system R4
Groups: 1 Peers: 1 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
inet.0
1 1 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
172.16.14.1 65001 166 163 0 1 1:12:15 1/1/1/0 0/0/0/0
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show bgp summary logical-system R5
Groups: 1 Peers: 1 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
inet.0
1 1 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
172.16.35.3 65001 172 171 0 1 1:12:14 1/1/1/0 0/0/0/0
[edit]
root@vMX-1#
[edit]
root@vMX-1# run ping 172.16.1.5 source 172.16.1.4 logical-system R4
PING 172.16.1.5 (172.16.1.5): 56 data bytes
64 bytes from 172.16.1.5: icmp_seq=0 ttl=61 time=17.511 ms
64 bytes from 172.16.1.5: icmp_seq=1 ttl=61 time=17.277 ms
^C
--- 172.16.1.5 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 17.277/17.394/17.511/0.117 ms
[edit]
root@vMX-1#
[edit]
root@vMX-1# run ping 172.16.1.4 source 172.16.1.5 logical-system R5
PING 172.16.1.4 (172.16.1.4): 56 data bytes
64 bytes from 172.16.1.4: icmp_seq=0 ttl=61 time=16.318 ms
64 bytes from 172.16.1.4: icmp_seq=1 ttl=61 time=23.902 ms
^C
--- 172.16.1.4 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 16.318/20.110/23.902/3.792 ms
[edit]
root@vMX-1#
[edit]
root@vMX-1# run traceroute 172.16.1.5 source 172.16.1.4 logical-system R4
traceroute to 172.16.1.5 (172.16.1.5) from 172.16.1.4, 30 hops max, 40 byte packets
1 172.16.14.1 (172.16.14.1) 2.577 ms 1.567 ms 1.160 ms
2 10.10.12.2 (10.10.12.2) 2.310 ms 2.675 ms 1.876 ms
3 10.10.23.3 (10.10.23.3) 4.642 ms 2.618 ms 2.334 ms
4 172.16.1.5 (172.16.1.5) 3.678 ms 4.866 ms 3.260 ms
[edit]
root@vMX-1#
[edit]
root@vMX-1# run traceroute 172.16.1.4 source 172.16.1.5 logical-system R5
traceroute to 172.16.1.4 (172.16.1.4) from 172.16.1.5, 30 hops max, 40 byte packets
1 172.16.35.3 (172.16.35.3) 3.345 ms 1.389 ms 1.163 ms
2 10.10.23.2 (10.10.23.2) 2.250 ms 2.746 ms 1.732 ms
3 10.10.12.1 (10.10.12.1) 4.809 ms 2.969 ms 2.847 ms
4 172.16.1.4 (172.16.1.4) 4.689 ms 3.187 ms 3.005 ms
[edit]
root@vMX-1#
4. MPLS setting:
For enable MPLS, you need to setup MPLS in "Interface Level" & "Protocol Level"
set groups INTERFACE logical-systems
set logical-systems R1 interfaces ge-0/0/1 apply-groups INTERFACE
set logical-systems R1 protocols mpls interface all
set logical-systems R2 interfaces apply-groups INTERFACE
set logical-systems R2 protocols mpls interface all
set logical-systems R3 interfaces ge-0/0/2 apply-groups INTERFACE
set logical-systems R3 protocols mpls interface all
Check:
[edit]
root@vMX-1# run show mpls interface logical-system R1
Interface State Administrative groups (x: extended)
ge-0/0/1.12 Up
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show mpls interface logical-system R2
Interface State Administrative groups (x: extended)
ge-0/0/1.23 Up
ge-0/0/2.12 Up
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show mpls interface logical-system R3
Interface State Administrative groups (x: extended)
ge-0/0/2.23 Up
[edit]
root@vMX-1#
5. LDP setting:
Setting LDP Signaling for MPLS
set logical-systems R1 protocols ldp interface all
set logical-systems R2 protocols ldp interface all
set logical-systems R3 protocols ldp interface all
Check:
[edit]
root@vMX-1# run show ldp neighbor logical-system R1
Address Interface Label space ID Hold time
10.10.12.2 ge-0/0/1.12 10.200.1.2:0 12
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show ldp neighbor logical-system R2
Address Interface Label space ID Hold time
10.10.23.3 ge-0/0/1.23 10.200.1.3:0 10
10.10.12.1 ge-0/0/2.12 10.200.1.1:0 14
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show ldp neighbor logical-system R3
Address Interface Label space ID Hold time
10.10.23.2 ge-0/0/2.23 10.200.1.2:0 11
[edit]
root@vMX-1#
[edit]
root@vMX-1# run traceroute 172.16.1.5 source 172.16.1.4 logical-system R4
traceroute to 172.16.1.5 (172.16.1.5) from 172.16.1.4, 30 hops max, 40 byte packets
1 172.16.14.1 (172.16.14.1) 1.983 ms 2.224 ms 1.145 ms
2 10.10.12.2 (10.10.12.2) 2.502 ms 3.295 ms 1.988 ms
MPLS Label=299792 CoS=0 TTL=1 S=1
3 10.10.23.3 (10.10.23.3) 3.756 ms 6.365 ms 2.950 ms
4 172.16.1.5 (172.16.1.5) 4.557 ms 3.598 ms 4.815 ms
[edit]
root@vMX-1#
[edit]
root@vMX-1# run traceroute 172.16.1.4 source 172.16.1.5 logical-system R5
traceroute to 172.16.1.4 (172.16.1.4) from 172.16.1.5, 30 hops max, 40 byte packets
1 172.16.35.3 (172.16.35.3) 48.412 ms 1.379 ms 1.264 ms
2 10.10.23.2 (10.10.23.2) 2.494 ms 2.008 ms 1.796 ms
MPLS Label=299776 CoS=0 TTL=1 S=1
3 10.10.12.1 (10.10.12.1) 4.485 ms 2.695 ms 3.023 ms
4 172.16.1.4 (172.16.1.4) 4.273 ms 5.314 ms 3.151 ms
[edit]
root@vMX-1#
Final configuration:
root@vMX-1# show | display set
set version 14.1R1.10
set groups INTERFACE logical-systems
set groups INTERFACE logical-systems
set system host-name vMX-1
set system root-authentication encrypted-password "$1$iiqdh9ru$CBQygri2MkpfgtgdGo8GO1"
set system login user lab uid 2000
set system login user lab class super-user
set system login user lab authentication encrypted-password "$1$oW1NeMUu$N7IVMfy8GfJ02jzQzJ39h/"
set system services telnet connection-limit 5
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any
set logical-systems R1 interfaces ge-0/0/1 apply-groups INTERFACE
set logical-systems R1 interfaces ge-0/0/1 unit 12 description TO_R2
set logical-systems R1 interfaces ge-0/0/1 unit 12 vlan-id 12
set logical-systems R1 interfaces ge-0/0/1 unit 12 family inet address 10.10.12.1/24
set logical-systems R1 interfaces ge-0/0/2 unit 14 description TO_R4
set logical-systems R1 interfaces ge-0/0/2 unit 14 vlan-id 14
set logical-systems R1 interfaces ge-0/0/2 unit 14 family inet address 172.16.14.1/24
set logical-systems R1 interfaces lo0 unit 1 family inet address 10.200.1.1/32
set logical-systems R1 interfaces lo0 unit 1 family iso address 49.0001.0000.0001.00
set logical-systems R1 protocols mpls interface all
set logical-systems R1 protocols bgp group TO_RR type internal
set logical-systems R1 protocols bgp group TO_RR local-address 10.200.1.1
set logical-systems R1 protocols bgp group TO_RR export NHS
set logical-systems R1 protocols bgp group TO_RR neighbor 10.200.1.2
set logical-systems R1 protocols bgp group TO_65002 type external
set logical-systems R1 protocols bgp group TO_65002 local-address 172.16.14.1
set logical-systems R1 protocols bgp group TO_65002 peer-as 65002
set logical-systems R1 protocols bgp group TO_65002 neighbor 172.16.14.4
set logical-systems R1 protocols isis level 1 disable
set logical-systems R1 protocols isis interface all
set logical-systems R1 protocols ldp interface all
set logical-systems R1 policy-options policy-statement NHS term 1 from protocol bgp
set logical-systems R1 policy-options policy-statement NHS term 1 from route-type external
set logical-systems R1 policy-options policy-statement NHS term 1 then next-hop self
set logical-systems R1 routing-options autonomous-system 65001
set logical-systems R2 interfaces apply-groups INTERFACE
set logical-systems R2 interfaces ge-0/0/1 unit 23 description TO_R3
set logical-systems R2 interfaces ge-0/0/1 unit 23 vlan-id 23
set logical-systems R2 interfaces ge-0/0/1 unit 23 family inet address 10.10.23.2/24
set logical-systems R2 interfaces ge-0/0/2 unit 12 description TO_R1
set logical-systems R2 interfaces ge-0/0/2 unit 12 vlan-id 12
set logical-systems R2 interfaces ge-0/0/2 unit 12 family inet address 10.10.12.2/24
set logical-systems R2 interfaces lo0 unit 2 family inet address 10.200.1.2/32
set logical-systems R2 interfaces lo0 unit 2 family iso address 49.0001.0000.0002.00
set logical-systems R2 protocols mpls interface all
set logical-systems R2 protocols bgp group RR type internal
set logical-systems R2 protocols bgp group RR local-address 10.200.1.2
set logical-systems R2 protocols bgp group RR cluster 10.200.1.2
set logical-systems R2 protocols bgp group RR neighbor 10.200.1.1
set logical-systems R2 protocols bgp group RR neighbor 10.200.1.3
set logical-systems R2 protocols isis level 1 disable
set logical-systems R2 protocols isis interface all
set logical-systems R2 protocols ldp interface all
set logical-systems R2 routing-options autonomous-system 65001
set logical-systems R3 interfaces ge-0/0/1 unit 35 description TO_R5
set logical-systems R3 interfaces ge-0/0/1 unit 35 vlan-id 35
set logical-systems R3 interfaces ge-0/0/1 unit 35 family inet address 172.16.35.3/24
set logical-systems R3 interfaces ge-0/0/2 apply-groups INTERFACE
set logical-systems R3 interfaces ge-0/0/2 unit 23 description TO_R2
set logical-systems R3 interfaces ge-0/0/2 unit 23 vlan-id 23
set logical-systems R3 interfaces ge-0/0/2 unit 23 family inet address 10.10.23.3/24
set logical-systems R3 interfaces lo0 unit 3 family inet address 10.200.1.3/32
set logical-systems R3 interfaces lo0 unit 3 family iso address 49.0001.0000.0003.00
set logical-systems R3 protocols mpls interface all
set logical-systems R3 protocols bgp group TO_RR type internal
set logical-systems R3 protocols bgp group TO_RR local-address 10.200.1.3
set logical-systems R3 protocols bgp group TO_RR export NHS
set logical-systems R3 protocols bgp group TO_RR neighbor 10.200.1.2
set logical-systems R3 protocols bgp group TO_65003 type external
set logical-systems R3 protocols bgp group TO_65003 local-address 172.16.35.3
set logical-systems R3 protocols bgp group TO_65003 peer-as 65003
set logical-systems R3 protocols bgp group TO_65003 neighbor 172.16.35.5
set logical-systems R3 protocols isis level 1 disable
set logical-systems R3 protocols isis interface all
set logical-systems R3 protocols ldp interface all
set logical-systems R3 policy-options policy-statement NHS term 1 from protocol bgp
set logical-systems R3 policy-options policy-statement NHS term 1 from route-type external
set logical-systems R3 policy-options policy-statement NHS term 1 then next-hop self
set logical-systems R3 routing-options autonomous-system 65001
set logical-systems R4 interfaces ge-0/0/1 unit 14 description TO_R1
set logical-systems R4 interfaces ge-0/0/1 unit 14 vlan-id 14
set logical-systems R4 interfaces ge-0/0/1 unit 14 family inet address 172.16.14.4/24
set logical-systems R4 interfaces lo0 unit 4 family inet address 172.16.1.4/32
set logical-systems R4 protocols bgp group TO_65001 type external
set logical-systems R4 protocols bgp group TO_65001 local-address 172.16.14.4
set logical-systems R4 protocols bgp group TO_65001 export 65002>65001
set logical-systems R4 protocols bgp group TO_65001 peer-as 65001
set logical-systems R4 protocols bgp group TO_65001 neighbor 172.16.14.1
set logical-systems R4 policy-options policy-statement 65002>65001 term 1 from protocol direct
set logical-systems R4 policy-options policy-statement 65002>65001 term 1 then accept
set logical-systems R4 routing-options autonomous-system 65002
set logical-systems R5 interfaces ge-0/0/2 unit 35 description TO_R3
set logical-systems R5 interfaces ge-0/0/2 unit 35 vlan-id 35
set logical-systems R5 interfaces ge-0/0/2 unit 35 family inet address 172.16.35.5/24
set logical-systems R5 interfaces lo0 unit 5 family inet address 172.16.1.5/32
set logical-systems R5 protocols bgp group TO_65001 type external
set logical-systems R5 protocols bgp group TO_65001 local-address 172.16.35.5
set logical-systems R5 protocols bgp group TO_65001 export 65003>65001
set logical-systems R5 protocols bgp group TO_65001 peer-as 65001
set logical-systems R5 protocols bgp group TO_65001 neighbor 172.16.35.3
set logical-systems R5 policy-options policy-statement 65003>65001 term 1 from protocol direct
set logical-systems R5 policy-options policy-statement 65003>65001 term 1 then accept
set logical-systems R5 routing-options autonomous-system 65003
set interfaces ge-0/0/1 vlan-tagging
set interfaces ge-0/0/2 vlan-tagging
[edit]
root@vMX-1#
Reference:
Example: Configuring LDP-Signaled LSPs
http://www.juniper.net/documentation/en_US/junos12.1/topics/example/mpls-security-ldp-signaled-lsp-configuring.html
Junos OS MPLS Applications Configuration Guide
http://www.juniper.net/techpubs/en_US/junos12.3/information-products/pathway-pages/config-guide-mpls-applications/index.html
JNCIP-SP Lab: Configuring LDP Signaling for MPLS - Ver. 2
http://juilin77.blogspot.com/2018/06/jncip-sp-lab-configuring-ldp-signaling_69.html
最初發表 / 最後更新: 2015.09.04 / 2018.06.15
0 comments:
張貼留言