Administrative groups, also known as link coloring or resource classes, are manually assigned attributes that describe the color of links.
Links with the same color conceptually belong to the same class.
You can use administrative groups to implement a variety of policy-based label-switched path (LSP) setups.
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:
In this lab, I use command "groups" and "apply-groups" to apply "family iso" in interface.
set groups INTERFACE logical-systems
set logical-systems R1 interfaces 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 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
set logical-systems R4 interfaces apply-groups INTERFACE
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:02:40, metric 20
to 10.10.13.3 via ge-0/0/2.13
> to 10.10.12.2 via ge-0/0/1.12
[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 3 4 0 1 17 1/1/1/0 0/0/0/0
[edit]
root@vMX-1#
[edit]
root@vMX-1#
[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 3 4 0 1 20 1/1/1/0 0/0/0/0
[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 11 10 0 1 24 1/1/1/0 0/0/0/0
10.200.1.3 65001 8 12 0 0 2:55 0/0/0/0 0/0/0/0
10.200.1.4 65001 9 12 0 0 2:55 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 12 9 0 0 3:00 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 12 10 0 0 3:02 1/1/1/0 0/0/0/0
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show route 172.16.1.4 logical-system R1
inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
172.16.1.4/32 *[BGP/170] 00:01:06, localpref 100, from 10.200.1.2
AS path: I, validation-state: unverified
to 10.10.13.3 via ge-0/0/2.13
> to 10.10.12.2 via ge-0/0/1.12
[edit]
root@vMX-1#
4. MPLS setting:
In this lab, I use command "groups" and "apply-groups" to apply "family mpls" in interface.
set groups INTERFACE logical-systems
set logical-systems R1 interfaces 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 apply-groups INTERFACE
set logical-systems R3 protocols mpls interface all
set logical-systems R4 interfaces apply-groups INTERFACE
set logical-systems R4 protocols mpls interface all
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
6. Administrative Groups
Now, I follow the topoplogy setup links color.
set logical-systems R1 protocols mpls admin-groups GOLD 1
set logical-systems R1 protocols mpls admin-groups SILVER 2
set logical-systems R1 protocols mpls interface ge-0/0/1.12 admin-group SILVER
set logical-systems R1 protocols mpls interface ge-0/0/2.13 admin-group GOLD
set logical-systems R2 protocols mpls admin-groups GOLD 1
set logical-systems R2 protocols mpls admin-groups SILVER 2
set logical-systems R2 protocols mpls interface ge-0/0/3.24 admin-group GOLD
set logical-systems R2 protocols mpls interface ge-0/0/2.12 admin-group SILVER
set logical-systems R2 protocols mpls interface ge-0/0/1.23 admin-group SILVER
set logical-systems R2 protocols mpls interface ge-0/0/1.23 admin-group GOLD
set logical-systems R3 protocols mpls admin-groups GOLD 1
set logical-systems R3 protocols mpls admin-groups SILVER 2
set logical-systems R3 protocols mpls interface ge-0/0/2.23 admin-group GOLD
set logical-systems R3 protocols mpls interface ge-0/0/2.23 admin-group SILVER
set logical-systems R3 protocols mpls interface ge-0/0/3.34 admin-group SILVER
set logical-systems R3 protocols mpls interface ge-0/0/1.13 admin-group GOLD
set logical-systems R4 protocols mpls admin-groups GOLD 1
set logical-systems R4 protocols mpls admin-groups SILVER 2
set logical-systems R4 protocols mpls interface ge-0/0/1.24 admin-group GOLD
set logical-systems R4 protocols mpls interface ge-0/0/2.34 admin-group SILVER
Check:
[edit]
root@vMX-1# run show mpls interface logical-system R1
Interface State Administrative groups (x: extended)
ge-0/0/2.13 Up GOLD
ge-0/0/1.12 Up SILVER
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show mpls interface logical-system R2
Interface State Administrative groups (x: extended)
ge-0/0/2.12 Up SILVER
ge-0/0/1.23 Up SILVER
GOLD
ge-0/0/3.24 Up GOLD
[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 SILVER
GOLD
ge-0/0/1.13 Up GOLD
ge-0/0/3.34 Up SILVER
[edit]
root@vMX-1#
[edit]
root@vMX-1# run show mpls interface logical-system R4
Interface State Administrative groups (x: extended)
ge-0/0/2.34 Up SILVER
ge-0/0/1.24 Up GOLD
[edit]
root@vMX-1#
7. Setting LSP
By default, R1 to R4 will use IGP to determine paths.
set logical-systems R1 protocols mpls label-switched-path R1_TO_R4 to 10.200.1.4
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: (primary)
LSPtype: Static Configured, Penultimate hop popping
LoadBalance: Random
Encoding type: Packet, Switching type: Packet, GPID: IPv4
*Primary State: Up
Priorities: 7 0
SmartOptimizeTimer: 180
Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 20)
10.10.12.2 S 10.10.24.4 S
Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
10.10.12.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 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) 8.919 ms 2.999 ms 3.448 ms
MPLS Label=299776 CoS=0 TTL=1 S=1
2 10.10.34.4 (10.10.34.4) 10.347 ms !N 5.182 ms !N 3.958 ms !N
[edit]
root@vMX-1#
7. Traffic Engineer
Now, I want the R1 to R4 traffic will via GOLD link in the topology. (R1 > R3 > R2 > R4)
set logical-systems R1 protocols mpls label-switched-path R1_TO_R4 admin-group include-all GOLD
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: (primary)
LSPtype: Static Configured, Penultimate hop popping
LoadBalance: Random
Encoding type: Packet, Switching type: Packet, GPID: IPv4
*Primary State: Up
Priorities: 7 0
SmartOptimizeTimer: 180
Include All: GOLD
Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 30)
10.10.13.3 S 10.10.23.2 S 10.10.24.4 S
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 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) 3.287 ms 5.144 ms 2.294 ms
MPLS Label=299792 CoS=0 TTL=1 S=1
2 10.10.23.2 (10.10.23.2) 7.861 ms 7.494 ms 3.529 ms
MPLS Label=299776 CoS=0 TTL=1 S=1
3 10.10.24.4 (10.10.24.4) 7.561 ms !N 7.349 ms !N 7.016 ms !N
[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 logical-systems R1 interfaces 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 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 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 admin-groups GOLD 1
set logical-systems R1 protocols mpls admin-groups SILVER 2
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 admin-group include-all GOLD
set logical-systems R1 protocols mpls interface all
set logical-systems R1 protocols mpls interface ge-0/0/1.12 admin-group SILVER
set logical-systems R1 protocols mpls interface ge-0/0/2.13 admin-group GOLD
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 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 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 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 admin-groups GOLD 1
set logical-systems R2 protocols mpls admin-groups SILVER 2
set logical-systems R2 protocols mpls interface all
set logical-systems R2 protocols mpls interface ge-0/0/3.24 admin-group GOLD
set logical-systems R2 protocols mpls interface ge-0/0/2.12 admin-group SILVER
set logical-systems R2 protocols mpls interface ge-0/0/1.23 admin-group SILVER
set logical-systems R2 protocols mpls interface ge-0/0/1.23 admin-group GOLD
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 apply-groups INTERFACE
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 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 admin-groups GOLD 1
set logical-systems R3 protocols mpls admin-groups SILVER 2
set logical-systems R3 protocols mpls interface all
set logical-systems R3 protocols mpls interface ge-0/0/2.23 admin-group GOLD
set logical-systems R3 protocols mpls interface ge-0/0/2.23 admin-group SILVER
set logical-systems R3 protocols mpls interface ge-0/0/3.34 admin-group SILVER
set logical-systems R3 protocols mpls interface ge-0/0/1.13 admin-group GOLD
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 apply-groups INTERFACE
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 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 admin-groups GOLD 1
set logical-systems R4 protocols mpls admin-groups SILVER 2
set logical-systems R4 protocols mpls interface all
set logical-systems R4 protocols mpls interface ge-0/0/1.24 admin-group GOLD
set logical-systems R4 protocols mpls interface ge-0/0/2.34 admin-group SILVER
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:
Junos MPLS and VPNs (JMV) Student Guide (10.a) Chapter 4
最初發表 / 最後更新: 2015.09.07 / 2018.06.15
0 comments:
張貼留言