MPLS Labels can be assigned manually or by signaling protocol (LDP or RSVP) in each LSR.
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 RSVP-Signaled on JunOS router.
And RSVP is used for traffic engineering(TE). I will use Explicit Route Object (ERO) to do TE.
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 13 description TO_R3
set logical-systems R1 interfaces ge-0/0/2 unit 13 vlan-id 13
set logical-systems R1 interfaces ge-0/0/2 unit 13 family inet address 10.10.13.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 ge-0/0/3 unit 24 description TO_R4
set logical-systems R2 interfaces ge-0/0/3 unit 24 vlan-id 24
set logical-systems R2 interfaces ge-0/0/3 unit 24 family inet address 10.10.24.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/1 unit 13 description TO_R1
set logical-systems R3 interfaces ge-0/0/1 unit 13 vlan-id 13
set logical-systems R3 interfaces ge-0/0/1 unit 13 family inet address 10.10.13.3/24
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/3 unit 34 description TO_R4
set logical-systems R3 interfaces ge-0/0/3 unit 34 vlan-id 34
set logical-systems R3 interfaces ge-0/0/3 unit 34 family inet address 10.10.34.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 24 description TO_R2
set logical-systems R4 interfaces ge-0/0/1 unit 24 vlan-id 24
set logical-systems R4 interfaces ge-0/0/1 unit 24 family inet address 10.10.24.4/24
set logical-systems R4 interfaces ge-0/0/2 unit 34 description TO_R3
set logical-systems R4 interfaces ge-0/0/2 unit 34 vlan-id 34
set logical-systems R4 interfaces ge-0/0/2 unit 34 family inet address 10.10.34.4/24
set logical-systems R4 interfaces lo0 unit 4 family inet address 10.200.1.4/32
set interfaces ge-0/0/1 vlan-tagging
set interfaces ge-0/0/2 vlan-tagging
set interfaces ge-0/0/3 vlan-tagging
2. IS-IS setting:
set logical-systems R1 interfaces ge-0/0/1 unit 12 family iso
set logical-systems R1 interfaces ge-0/0/2 unit 13 family iso
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 ge-0/0/1 unit 23 family iso
set logical-systems R2 interfaces ge-0/0/2 unit 12 family iso
set logical-systems R2 interfaces ge-0/0/3 unit 24 family iso
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/1 unit 13 family iso
set logical-systems R3 interfaces ge-0/0/2 unit 23 family iso
set logical-systems R3 interfaces ge-0/0/3 unit 34 family iso
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
set logical-systems R4 interfaces ge-0/0/1 unit 24 family iso
set logical-systems R4 interfaces ge-0/0/2 unit 34 family iso
set logical-systems R4 interfaces lo0 unit 4 family iso address 49.0001.0000.0004.00
set logical-systems R4 protocols isis level 1 disable
set logical-systems R4 protocols isis interface all
Check:
[edit]
root@vMX-1# run show route 10.200.1.4 logical-system R1
inet.0: 11 destinations, 11 routes (11 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.200.1.4/32 *[IS-IS/18] 00:00:50, metric 20
to 10.10.12.2 via ge-0/0/1.12
> to 10.10.13.3 via ge-0/0/2.13
[edit]
root@vMX-1#
3. BGP Setting:
R1, R2 R3 R4 is iBGP peering and R2 is a RR.
In R1 and R4, I redistribute a static route into BGP.
So R1 will advertise a route (172.16.1.1) via BGP.
So R4 will advertise a route (172.16.1.4) via BGP.
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 routing-options autonomous-system 65001
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 bgp group RR neighbor 10.200.1.4
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 routing-options autonomous-system 65001
set logical-systems R4 protocols bgp group TO_RR type internal
set logical-systems R4 protocols bgp group TO_RR local-address 10.200.1.4
set logical-systems R4 protocols bgp group TO_RR neighbor 10.200.1.2
set logical-systems R4 routing-options autonomous-system 65001
set logical-systems R1 routing-options static route 172.16.1.1/32 reject
set logical-systems R1 policy-options policy-statement BGP_OUT term 1 from protocol static
set logical-systems R1 policy-options policy-statement BGP_OUT term 1 then accept
set logical-systems R1 protocols bgp group TO_RR export BGP_OUT
set logical-systems R4 routing-options static route 172.16.1.4/32 reject
set logical-systems R4 policy-options policy-statement BGP_OUT term 1 from protocol static
set logical-systems R4 policy-options policy-statement BGP_OUT term 1 then accept
set logical-systems R4 protocols bgp group TO_RR export BGP_OUT
Check:
[edit]
root@vMX-1# run show bgp summary logical-system R1
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...
10.200.1.2 65001 161 164 0 3 33 1/1/1/0 0/0/0/0
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show bgp summary logical-system R2
Groups: 1 Peers: 3 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 5 5 0 2 36 1/1/1/0 0/0/0/0
10.200.1.3 65001 4 5 0 2 33 0/0/0/0 0/0/0/0
10.200.1.4 65001 5 4 0 2 32 1/1/1/0 0/0/0/0
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show bgp summary logical-system R3
Groups: 1 Peers: 1 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.2 65001 169 154 0 3 34 2/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...
10.200.1.2 65001 160 162 0 3 35 1/1/1/0 0/0/0/0
[edit]
root@vMX-1#
4. MPLS setting:
set logical-systems R1 protocols mpls interface all
set logical-systems R2 protocols mpls interface all
set logical-systems R3 protocols mpls interface all
set logical-systems R4 protocols mpls interface all
Check:
[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
ge-0/0/3.24 Up
[edit]
root@vMX-1#
5. RSVP setting:
set logical-systems R1 protocols rsvp interface all
set logical-systems R2 protocols rsvp interface all
set logical-systems R3 protocols rsvp interface all
set logical-systems R4 protocols rsvp interface all
set logical-systems R1 protocols mpls label-switched-path R1_TO_R4 to 10.200.1.4 no-cspf
Check:
By default, RSVP use IGP to determine paths.
[edit]
root@vMX-1# run show rsvp interface logical-system R1
RSVP interface: 2 active
Active Subscr- Static Available Reserved Highwater
Interface State resv iption BW BW BW mark
ge-0/0/1.12 Up 0 100% 1000Mbps 1000Mbps 0bps 0bps
ge-0/0/2.13 Up 0 100% 1000Mbps 1000Mbps 0bps 0bps
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show mpls lsp logical-system R1
Ingress LSP: 1 sessions
To From State Rt P ActivePath LSPname
10.200.1.4 10.200.1.1 Up 0 * R1_TO_R4
Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show route logical-system R1
inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.10.12.0/24 *[Direct/0] 02:05:35
> via ge-0/0/1.12
10.10.12.1/32 *[Local/0] 02:05:35
Local via ge-0/0/1.12
10.10.13.0/24 *[Direct/0] 02:05:35
> via ge-0/0/2.13
10.10.13.1/32 *[Local/0] 02:05:35
Local via ge-0/0/2.13
10.10.23.0/24 *[IS-IS/18] 01:59:08, metric 20
> to 10.10.12.2 via ge-0/0/1.12
to 10.10.13.3 via ge-0/0/2.13
10.10.24.0/24 *[IS-IS/18] 01:59:08, metric 20
> to 10.10.12.2 via ge-0/0/1.12
10.10.34.0/24 *[IS-IS/18] 01:59:34, metric 20
> to 10.10.13.3 via ge-0/0/2.13
10.200.1.1/32 *[Direct/0] 02:05:35
> via lo0.1
10.200.1.2/32 *[IS-IS/18] 01:59:08, metric 10
> to 10.10.12.2 via ge-0/0/1.12
10.200.1.3/32 *[IS-IS/18] 01:59:34, metric 10
> to 10.10.13.3 via ge-0/0/2.13
10.200.1.4/32 *[IS-IS/18] 01:59:08, metric 20
to 10.10.12.2 via ge-0/0/1.12
> to 10.10.13.3 via ge-0/0/2.13
172.16.1.1/32 *[Static/5] 01:12:08
Reject
172.16.1.4/32 *[BGP/170] 00:35:54, localpref 100, from 10.200.1.2
AS path: I, validation-state: unverified
> to 10.10.12.2 via ge-0/0/1.12, label-switched-path R1_TO_R4
inet.3: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.200.1.4/32 *[RSVP/7/1] 00:00:49, metric 20
> to 10.10.12.2 via ge-0/0/1.12, label-switched-path R1_TO_R4
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
49.0001.0000.0001/56
*[Direct/0] 02:02:15
> via lo0.1
mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:48:53, metric 1
Receive
1 *[MPLS/0] 00:48:53, metric 1
Receive
2 *[MPLS/0] 00:48:53, metric 1
Receive
13 *[MPLS/0] 00:48:53, metric 1
Receive
[edit]
[edit]
root@vMX-1# run traceroute 172.16.1.4 logical-system R1
traceroute to 172.16.1.4 (172.16.1.4), 30 hops max, 40 byte packets
1 10.10.12.2 (10.10.12.2) 2.594 ms 1.631 ms 1.491 ms
MPLS Label=299888 CoS=0 TTL=1 S=1
2 10.10.24.4 (10.10.24.4) 2.264 ms !N 2.344 ms !N 2.159 ms !N
[edit]
root@vMX-1#
Now, I want change the MPLS LSP is from R1 to R3 to R2 and then to R4 (ERO).
set logical-systems R1 protocols mpls label-switched-path R1_TO_R4 primary ERO_TO_R3_R2_R4
set logical-systems R1 protocols mpls path ERO_TO_R3_R2_R4 10.10.13.3 strict
set logical-systems R1 protocols mpls path ERO_TO_R3_R2_R4 10.10.23.2 strict
set logical-systems R1 protocols mpls path ERO_TO_R3_R2_R4 10.200.1.4 loose
Check:
[edit]
root@vMX-1# run show mpls lsp detail logical-system R1
Ingress LSP: 1 sessions
10.200.1.4
From: 10.200.1.1, State: Up, ActiveRoute: 0, LSPname: R1_TO_R4
ActivePath: ERO_TO_R3_R2_R4 (primary)
LSPtype: Static Configured, Penultimate hop popping
LoadBalance: Random
Encoding type: Packet, Switching type: Packet, GPID: IPv4
*Primary ERO_TO_R3_R2_R4 State: Up
Priorities: 7 0
SmartOptimizeTimer: 180
Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
10.10.13.3 10.10.23.2 10.10.24.4
Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show route logical-system R1
inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.10.12.0/24 *[Direct/0] 02:09:48
> via ge-0/0/1.12
10.10.12.1/32 *[Local/0] 02:09:48
Local via ge-0/0/1.12
10.10.13.0/24 *[Direct/0] 02:09:48
> via ge-0/0/2.13
10.10.13.1/32 *[Local/0] 02:09:48
Local via ge-0/0/2.13
10.10.23.0/24 *[IS-IS/18] 02:03:21, metric 20
> to 10.10.12.2 via ge-0/0/1.12
to 10.10.13.3 via ge-0/0/2.13
10.10.24.0/24 *[IS-IS/18] 02:03:21, metric 20
> to 10.10.12.2 via ge-0/0/1.12
10.10.34.0/24 *[IS-IS/18] 02:03:47, metric 20
> to 10.10.13.3 via ge-0/0/2.13
10.200.1.1/32 *[Direct/0] 02:09:48
> via lo0.1
10.200.1.2/32 *[IS-IS/18] 02:03:21, metric 10
> to 10.10.12.2 via ge-0/0/1.12
10.200.1.3/32 *[IS-IS/18] 02:03:47, metric 10
> to 10.10.13.3 via ge-0/0/2.13
10.200.1.4/32 *[IS-IS/18] 02:03:21, metric 20
to 10.10.12.2 via ge-0/0/1.12
> to 10.10.13.3 via ge-0/0/2.13
172.16.1.1/32 *[Static/5] 01:16:21
Reject
172.16.1.4/32 *[BGP/170] 00:40:07, localpref 100, from 10.200.1.2
AS path: I, validation-state: unverified
> to 10.10.13.3 via ge-0/0/2.13, label-switched-path R1_TO_R4
inet.3: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.200.1.4/32 *[RSVP/7/1] 00:00:27, metric 20
> to 10.10.13.3 via ge-0/0/2.13, label-switched-path R1_TO_R4
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
49.0001.0000.0001/56
*[Direct/0] 02:06:28
> via lo0.1
mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:53:06, metric 1
Receive
1 *[MPLS/0] 00:53:06, metric 1
Receive
2 *[MPLS/0] 00:53:06, metric 1
Receive
13 *[MPLS/0] 00:53:06, metric 1
Receive
[edit]
root@vMX-1#
[edit]
root@vMX-1# run traceroute 172.16.1.4 logical-system R1
traceroute to 172.16.1.4 (172.16.1.4), 30 hops max, 40 byte packets
1 10.10.13.3 (10.10.13.3) 1.806 ms 2.828 ms 1.421 ms
MPLS Label=299872 CoS=0 TTL=1 S=1
2 10.10.23.2 (10.10.23.2) 3.247 ms 2.370 ms 2.202 ms
MPLS Label=299904 CoS=0 TTL=1 S=1
3 10.10.24.4 (10.10.24.4) 4.132 ms !N 4.526 ms !N 2.723 ms !N
[edit]
root@vMX-1#
Final configuration:
[edit]
root@vMX-1# show | display set
set version 14.1R1.10
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 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/1 unit 12 family iso
set logical-systems R1 interfaces ge-0/0/1 unit 12 family mpls
set logical-systems R1 interfaces ge-0/0/2 unit 13 description TO_R3
set logical-systems R1 interfaces ge-0/0/2 unit 13 vlan-id 13
set logical-systems R1 interfaces ge-0/0/2 unit 13 family inet address 10.10.13.1/24
set logical-systems R1 interfaces ge-0/0/2 unit 13 family iso
set logical-systems R1 interfaces ge-0/0/2 unit 13 family mpls
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 rsvp interface all
set logical-systems R1 protocols mpls label-switched-path R1_TO_R4 to 10.200.1.4
set logical-systems R1 protocols mpls label-switched-path R1_TO_R4 no-cspf
set logical-systems R1 protocols mpls label-switched-path R1_TO_R4 primary ERO_TO_R3_R2_R4
set logical-systems R1 protocols mpls path ERO_TO_R3_R2_R4 10.10.13.3 strict
set logical-systems R1 protocols mpls path ERO_TO_R3_R2_R4 10.10.23.2 strict
set logical-systems R1 protocols mpls path ERO_TO_R3_R2_R4 10.200.1.4 loose
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 BGP_OUT
set logical-systems R1 protocols bgp group TO_RR neighbor 10.200.1.2
set logical-systems R1 protocols isis level 1 disable
set logical-systems R1 protocols isis interface all
set logical-systems R1 policy-options policy-statement BGP_OUT term 1 from protocol static
set logical-systems R1 policy-options policy-statement BGP_OUT term 1 then accept
set logical-systems R1 routing-options static route 172.16.1.1/32 reject
set logical-systems R1 routing-options autonomous-system 65001
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/1 unit 23 family iso
set logical-systems R2 interfaces ge-0/0/1 unit 23 family mpls
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 ge-0/0/2 unit 12 family iso
set logical-systems R2 interfaces ge-0/0/2 unit 12 family mpls
set logical-systems R2 interfaces ge-0/0/3 unit 24 description TO_R4
set logical-systems R2 interfaces ge-0/0/3 unit 24 vlan-id 24
set logical-systems R2 interfaces ge-0/0/3 unit 24 family inet address 10.10.24.2/24
set logical-systems R2 interfaces ge-0/0/3 unit 24 family iso
set logical-systems R2 interfaces ge-0/0/3 unit 24 family mpls
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 rsvp interface all
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 bgp group RR neighbor 10.200.1.4
set logical-systems R2 protocols isis level 1 disable
set logical-systems R2 protocols isis interface all
set logical-systems R2 routing-options autonomous-system 65001
set logical-systems R3 interfaces ge-0/0/1 unit 13 description TO_R1
set logical-systems R3 interfaces ge-0/0/1 unit 13 vlan-id 13
set logical-systems R3 interfaces ge-0/0/1 unit 13 family inet address 10.10.13.3/24
set logical-systems R3 interfaces ge-0/0/1 unit 13 family iso
set logical-systems R3 interfaces ge-0/0/1 unit 13 family mpls
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/2 unit 23 family iso
set logical-systems R3 interfaces ge-0/0/2 unit 23 family mpls
set logical-systems R3 interfaces ge-0/0/3 unit 34 description TO_R4
set logical-systems R3 interfaces ge-0/0/3 unit 34 vlan-id 34
set logical-systems R3 interfaces ge-0/0/3 unit 34 family inet address 10.10.34.3/24
set logical-systems R3 interfaces ge-0/0/3 unit 34 family iso
set logical-systems R3 interfaces ge-0/0/3 unit 34 family mpls
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 rsvp interface all
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 neighbor 10.200.1.2
set logical-systems R3 protocols isis level 1 disable
set logical-systems R3 protocols isis interface all
set logical-systems R3 routing-options autonomous-system 65001
set logical-systems R4 interfaces ge-0/0/1 unit 24 description TO_R2
set logical-systems R4 interfaces ge-0/0/1 unit 24 vlan-id 24
set logical-systems R4 interfaces ge-0/0/1 unit 24 family inet address 10.10.24.4/24
set logical-systems R4 interfaces ge-0/0/1 unit 24 family iso
set logical-systems R4 interfaces ge-0/0/1 unit 24 family mpls
set logical-systems R4 interfaces ge-0/0/2 unit 34 description TO_R3
set logical-systems R4 interfaces ge-0/0/2 unit 34 vlan-id 34
set logical-systems R4 interfaces ge-0/0/2 unit 34 family inet address 10.10.34.4/24
set logical-systems R4 interfaces ge-0/0/2 unit 34 family iso
set logical-systems R4 interfaces ge-0/0/2 unit 34 family mpls
set logical-systems R4 interfaces lo0 unit 4 family inet address 10.200.1.4/32
set logical-systems R4 interfaces lo0 unit 4 family iso address 49.0001.0000.0004.00
set logical-systems R4 protocols rsvp interface all
set logical-systems R4 protocols mpls interface all
set logical-systems R4 protocols bgp group TO_RR type internal
set logical-systems R4 protocols bgp group TO_RR local-address 10.200.1.4
set logical-systems R4 protocols bgp group TO_RR export BGP_OUT
set logical-systems R4 protocols bgp group TO_RR neighbor 10.200.1.2
set logical-systems R4 protocols isis level 1 disable
set logical-systems R4 protocols isis interface all
set logical-systems R4 policy-options policy-statement BGP_OUT term 1 from protocol static
set logical-systems R4 policy-options policy-statement BGP_OUT term 1 then accept
set logical-systems R4 routing-options static route 172.16.1.4/32 reject
set logical-systems R4 routing-options autonomous-system 65001
set interfaces ge-0/0/1 vlan-tagging
set interfaces ge-0/0/2 vlan-tagging
set interfaces ge-0/0/3 vlan-tagging
[edit]
root@vMX-1#
Reference:
RSVP Configuration Guide
http://www.juniper.net/techpubs/en_US/junos12.1/information-products/pathway-pages/config-guide-mpls-applications/config-guide-mpls-applications-rsvp.html
最初發表 / 最後更新: 2015.09.06 / 2018.06.15
0 comments:
張貼留言