-1643 Removals
+658 Additions
1exit all1/configure system name "S-Edge"
2configure2/configure system selective-fib
3#--------------------------------------------------3/configure system time sntp shutdown
4echo "System Configuration"4/configure system time zone UTC
5#--------------------------------------------------5/configure system script-control script "save_config" location "cf3:\save_cfg.script"
6 system6/configure system script-control script "save_config" no shutdown
7 name "S-Edge"7/configure system script-control script-policy "Save_cfg_script-policy" results "cf3:\Script_results\save_cfg"
8 selective-fib8/configure system script-control script-policy "Save_cfg_script-policy" script "save_config"
9 time9/configure system script-control script-policy "Save_cfg_script-policy" no shutdown
10 sntp10/configure system cron schedule "Save_config_job" interval 3600
11 shutdown11/configure system cron schedule "Save_config_job" script-policy "Save_cfg_script-policy"
12 exit12/configure system cron schedule "Save_config_job" no shutdown
13 zone UTC 13/configure system security user "admin" password "$2y$10$Gp99Bkz2P.GUK"
14 exit14/configure system security user "admin" access console
15 script-control15/configure system security user "admin" console member "administrative"
16 script "save_config"16/configure system security user "andrej" password "$2y$10$D9oBRSC2GYAiixsILWFceqcbOzOI3wQxuDTBWzbOJKs6"
17 location "cf3:\save_cfg.script"17/configure system security user "andrej" access console
18 no shutdown18/configure system security user "andrej" console member "default"
19 exit19/configure system security user "andrej" console member "administrative"
20 script-policy "Save_cfg_script-policy"20/configure system security user "gilles" password "$2y$10$lb54LAzQ.i6.BQ635vXjV.xhDtpbrFM7A/vE7Xnw4KG"
21 results "cf3:\Script_results\save_cfg"21/configure system security user "gilles" access console
22 script "save_config"22/configure system security user "gilles" console member "default"
23 no shutdown23/configure system security user "gilles" console member "administrative"
24 exit24/configure system security ssh preserve-key
25 exit25/configure system security per-peer-queuing
26#--------------------------------------------------26/configure system security keychain "ISIS_auth_keychain" description "Auth keychain for ISIS"
27echo "Cron Configuration"27/configure system security keychain "ISIS_auth_keychain" direction bi entry 10 key "IOQHDf6BPLbm3KmtpvEKaN20/W5HU" hash2 algorithm hmac-sha-256 begin-time 2017/07/31 00:00:00 UTC
28#--------------------------------------------------28/configure system security keychain "ISIS_auth_keychain" no shutdown
29 cron29/configure system security cpu-protection policy 254 create
30 schedule "Save_config_job"30/configure system security cpu-protection policy 255 create
31 interval 360031/configure system security cpu-protection protocol-protection
32 script-policy "Save_cfg_script-policy"32/configure system security dist-cpu-protection policy "_default-access-policy" create
33 no shutdown33/configure system security dist-cpu-protection policy "_default-network-policy" create
34 exit34/configure system security vprn-network-exceptions
35 exit35/configure system login-control idle-timeout disable
36 exit36/configure log log-id 78 from debug-trace
37#--------------------------------------------------37/configure log log-id 78 no shutdown
38echo "System Security Configuration"38/configure log log-id 90 from change
39#--------------------------------------------------39/configure log log-id 90 to memory 3000
40 system40/configure log log-id 90 no shutdown
41 security41/configure qos scheduler-policy "VPLS_adv_eg_scheduler_policy" create
42 user "admin"42/configure qos scheduler-policy "VPLS_adv_ing_scheduler_policy" create
43 password "$2y$10$Gp99Bkz2P.GUK"43/configure qos scheduler-policy "VPLS_egress_scheduler_policy" create tier 1 scheduler "VPLS_egress_t1_scheduler" create
44 access console 44/configure qos scheduler-policy "VPLS_ingress_scheduler_policy" create tier 1 scheduler "VPLS_ingress_t1_scheduler" create
45 console45/configure qos scheduler-policy "VPWS_adv_egr_scheduler_policy" create
46 member "administrative"46/configure qos scheduler-policy "VPWS_adv_ing_scheduler_policy" create
47 exit47/configure qos scheduler-policy "VPWS_egress_scheduler_policy" create tier 1 scheduler "VPWS_egress_t1_scheduler" create
48 exit48/configure qos scheduler-policy "VPWS_ingress_scheduler_policy" create tier 1 scheduler "VPWS_ingress_t1_scheduler" create
49 user "andrej"49/configure connection-profile-vlan 1091 create description "test_profile_for_VPLS_1091"
50 password "$2y$10$D9oBRSC2GYAiixsILWFceqcbOzOI3wQxuDTBWzbOJKs6"50/configure connection-profile-vlan 1091 vlan-range 101 to 104
51 access console 51/configure sfm 1 sfm-type m-sfm5-12e
52 console52/configure sfm 1 no shutdown
53 member "default"53/configure sfm 2 sfm-type m-sfm5-12e
54 member "administrative"54/configure sfm 2 no shutdown
55 exit55/configure sfm 3 sfm-type m-sfm5-12e
56 exit56/configure sfm 3 no shutdown
57 user "gilles"57/configure card 5 card-type iom4-e
58 password "$2y$10$lb54LAzQ.i6.BQ635vXjV.xhDtpbrFM7A/vE7Xnw4KG"58/configure card 5 mda 1 mda-type me2-100gb-qsfp28
59 access console 59/configure card 5 mda 1 no shutdown
60 console60/configure card 5 no shutdown
61 member "default"61/configure card 6 card-type iom4-e
62 member "administrative"62/configure card 6 mda 1 mda-type me2-100gb-qsfp28
63 exit63/configure card 6 mda 1 no shutdown
64 exit64/configure card 6 mda 2 mda-type me10-10gb-sfp+
65 ssh65/configure card 6 mda 2 no shutdown
66 preserve-key66/configure card 6 no shutdown
67 exit67/configure port 5/1/1 description "to_TiC02lab02"
68 per-peer-queuing68/configure port 5/1/1 ethernet encap-type dot1q
69 keychain "ISIS_auth_keychain"69/configure port 5/1/1 ethernet lldp dest-mac nearest-bridge admin-status tx-rx
70 description "Auth keychain for ISIS"70/configure port 5/1/1 ethernet lldp dest-mac nearest-bridge tx-tlvs port-desc sys-name sys-desc sys-cap
71 direction71/configure port 5/1/1 no shutdown
72 bi72/configure port 5/1/2 shutdown
73 entry 10 key "IOQHDf6BPLbm3KmtpvEKaN20/W5HU" hash2 algorithm hmac-sha-25673/configure port 5/1/2 ethernet
74 begin-time 2017/07/31 00:00:00 UTC74/configure port 6/1/1 description "to_TiC02lab01"
75 exit75/configure port 6/1/1 ethernet encap-type dot1q
76 exit76/configure port 6/1/1 ethernet lldp dest-mac nearest-bridge admin-status tx-rx
77 exit77/configure port 6/1/1 ethernet lldp dest-mac nearest-bridge tx-tlvs port-desc sys-name sys-desc sys-cap
78 no shutdown78/configure port 6/1/1 no shutdown
79 exit79/configure port 6/1/2 shutdown
80 cpu-protection80/configure port 6/1/2 ethernet
81 policy 254 create81/configure port 6/2/1 description "to_STC-P8"
82 exit82/configure port 6/2/1 ethernet mode access
83 policy 255 create83/configure port 6/2/1 ethernet encap-type qinq
84 exit84/configure port 6/2/1 no otu
85 protocol-protection 85/configure port 6/2/1 no shutdown
86 exit86/configure port 6/2/2 description "to_STC_Port_6"
87 dist-cpu-protection87/configure port 6/2/2 ethernet mode access
88 policy "_default-access-policy" create88/configure port 6/2/2 ethernet encap-type qinq
89 exit89/configure port 6/2/2 no otu
90 policy "_default-network-policy" create90/configure port 6/2/2 no shutdown
91 exit91/configure port 6/2/3 description "to_STC_Port_5"
92 exit92/configure port 6/2/3 ethernet mode access
93 vprn-network-exceptions93/configure port 6/2/3 ethernet encap-type qinq
94 exit94/configure port 6/2/3 no otu
95 exit95/configure port 6/2/3 no shutdown
96#--------------------------------------------------96/configure port 6/2/4 shutdown
97echo "System Login Control Configuration"97/configure port 6/2/4 ethernet
98#--------------------------------------------------98/configure port 6/2/4 no otu
99 system99/configure port 6/2/5 description "LOOP_TO_6/2/6"
100 login-control100/configure port 6/2/5 ethernet mode access
101 idle-timeout disable101/configure port 6/2/5 ethernet lldp dest-mac nearest-bridge admin-status tx-rx
102 exit102/configure port 6/2/5 ethernet lldp dest-mac nearest-bridge tx-tlvs port-desc sys-name sys-desc sys-cap
103 exit103/configure port 6/2/5 no otu
104#--------------------------------------------------104/configure port 6/2/5 no shutdown
105echo "Log Configuration"105/configure port 6/2/6 description "LOOP_TO_6/2/5"
106#--------------------------------------------------106/configure port 6/2/6 ethernet mode access
107 log 107/configure port 6/2/6 ethernet lldp dest-mac nearest-bridge admin-status tx-rx
108 log-id 78108/configure port 6/2/6 ethernet lldp dest-mac nearest-bridge tx-tlvs port-desc sys-name sys-desc sys-cap
109 from debug-trace 109/configure port 6/2/6 no otu
110 no shutdown110/configure port 6/2/6 no shutdown
111 exit111/configure port 6/2/7 shutdown
112 log-id 90112/configure port 6/2/7 ethernet
113 from change 113/configure port 6/2/7 no otu
114 to memory 3000114/configure port 6/2/8 shutdown
115 no shutdown115/configure port 6/2/8 ethernet
116 exit116/configure port 6/2/8 no otu
117 exit 117/configure port 6/2/9 shutdown
118#--------------------------------------------------118/configure port 6/2/9 ethernet encap-type dot1q
119echo "QoS Policy Configuration"119/configure port 6/2/9 ethernet lldp dest-mac nearest-bridge admin-status tx-rx
120#--------------------------------------------------120/configure port 6/2/9 ethernet lldp dest-mac nearest-bridge tx-tlvs port-desc sys-name sys-desc sys-cap
121 qos121/configure port 6/2/9 no otu
122 scheduler-policy "VPLS_adv_eg_scheduler_policy" create122/configure port 6/2/10 shutdown
123 exit123/configure port 6/2/10 ethernet encap-type dot1q
124 scheduler-policy "VPLS_adv_ing_scheduler_policy" create124/configure port 6/2/10 ethernet lldp dest-mac nearest-bridge admin-status tx-rx
125 exit125/configure port 6/2/10 ethernet lldp dest-mac nearest-bridge tx-tlvs port-desc sys-name sys-desc sys-cap
126 scheduler-policy "VPLS_egress_scheduler_policy" create126/configure port 6/2/10 no otu
127 tier 1127/configure system sync-if-timing begin
128 scheduler "VPLS_egress_t1_scheduler" create128/configure system sync-if-timing commit
129 exit129/configure lag 10 description "to_STC_P5_P6"
130 exit130/configure lag 10 mode access
131 exit131/configure lag 10 encap-type qinq
132 scheduler-policy "VPLS_ingress_scheduler_policy" create132/configure lag 10 port 6/2/2
133 tier 1133/configure lag 10 port 6/2/3
134 scheduler "VPLS_ingress_t1_scheduler" create134/configure lag 10 no shutdown
135 exit135/configure redundancy bgp-evpn-multi-homing boot-timer 90
136 exit136/configure qos sap-ingress 5001 create policy-name "VPWS_4-class_policy"
137 exit137/configure qos sap-ingress 5001 description "VPWS 4-class sap-ingress policy"
138 scheduler-policy "VPWS_adv_egr_scheduler_policy" create138/configure qos sap-ingress 5001 queue 1 create parent "VPWS_ingress_t1_scheduler" weight 20
139 exit139/configure qos sap-ingress 5001 queue 4 create parent "VPWS_ingress_t1_scheduler" weight 80
140 scheduler-policy "VPWS_adv_ing_scheduler_policy" create140/configure qos sap-ingress 5001 queue 5 create parent "VPWS_ingress_t1_scheduler" level 5 cir-level 5
141 exit141/configure qos sap-ingress 5001 queue 5 percent-rate 40.00 cir 40.00 local-limit
142 scheduler-policy "VPWS_egress_scheduler_policy" create142/configure qos sap-ingress 5001 queue 6 create parent "VPWS_ingress_t1_scheduler" level 6 cir-level 6
143 tier 1143/configure qos sap-ingress 5001 queue 6 percent-rate 10.00 cir 10.00 local-limit
144 scheduler "VPWS_egress_t1_scheduler" create144/configure qos sap-ingress 5001 queue 11 multipoint create
145 exit145/configure qos sap-ingress 5001 fc "be" create queue 1
146 exit146/configure qos sap-ingress 5001 fc "ef" create queue 6
147 exit147/configure qos sap-ingress 5001 fc "h2" create queue 5
148 scheduler-policy "VPWS_ingress_scheduler_policy" create148/configure qos sap-ingress 5001 fc "l1" create queue 4
149 tier 1149/configure qos sap-ingress 5001 dot1p 0 fc "be"
150 scheduler "VPWS_ingress_t1_scheduler" create150/configure qos sap-ingress 5001 dot1p 3 fc "l1"
151 exit151/configure qos sap-ingress 5001 dot1p 4 fc "h2"
152 exit152/configure qos sap-ingress 5001 dot1p 5 fc "ef"
153 exit153/configure qos sap-ingress 5002 create queue 1 create
154 exit154/configure qos sap-ingress 5002 create queue 11 multipoint create
155#--------------------------------------------------155/configure qos sap-ingress 6001 create policy-name "VPLS_4-class_policy"
156echo "Connection Profile Vlan Configuration"156/configure qos sap-ingress 6001 description "VPLS 4-class sap-ingress policy"
157#--------------------------------------------------157/configure qos sap-ingress 6001 queue 1 create parent "VPLS_ingress_t1_scheduler" weight 20
158 connection-profile-vlan 1091 create158/configure qos sap-ingress 6001 queue 4 create parent "VPLS_ingress_t1_scheduler" weight 80
159 description "test_profile_for_VPLS_1091"159/configure qos sap-ingress 6001 queue 5 create parent "VPLS_ingress_t1_scheduler" level 5 cir-level 5
160 vlan-range 101 to 104160/configure qos sap-ingress 6001 queue 5 percent-rate 40.00 cir 40.00 local-limit
161 exit161/configure qos sap-ingress 6001 queue 6 create parent "VPLS_ingress_t1_scheduler" level 6 cir-level 6
162#--------------------------------------------------162/configure qos sap-ingress 6001 queue 6 percent-rate 10.00 cir 10.00 local-limit
163echo "Switch Fabric Configuration"163/configure qos sap-ingress 6001 queue 11 multipoint create parent "VPLS_ingress_t1_scheduler" weight 20
164#--------------------------------------------------164/configure qos sap-ingress 6001 queue 14 multipoint create parent "VPLS_ingress_t1_scheduler" weight 80
165 sfm 1165/configure qos sap-ingress 6001 queue 15 multipoint create parent "VPLS_ingress_t1_scheduler" level 5 cir-level 5
166 sfm-type m-sfm5-12e166/configure qos sap-ingress 6001 queue 16 multipoint create parent "VPLS_ingress_t1_scheduler" level 6 cir-level 6
167 no shutdown167/configure qos sap-ingress 6001 fc "be" create queue 1
168 exit168/configure qos sap-ingress 6001 fc "be" broadcast-queue 11
169 sfm 2169/configure qos sap-ingress 6001 fc "be" multicast-queue 11
170 sfm-type m-sfm5-12e170/configure qos sap-ingress 6001 fc "be" unknown-queue 11
171 no shutdown171/configure qos sap-ingress 6001 fc "ef" create queue 6
172 exit172/configure qos sap-ingress 6001 fc "ef" broadcast-queue 16
173 sfm 3173/configure qos sap-ingress 6001 fc "ef" multicast-queue 16
174 sfm-type m-sfm5-12e174/configure qos sap-ingress 6001 fc "ef" unknown-queue 16
175 no shutdown175/configure qos sap-ingress 6001 fc "h2" create queue 5
176 exit176/configure qos sap-ingress 6001 fc "h2" broadcast-queue 15
177#--------------------------------------------------177/configure qos sap-ingress 6001 fc "h2" multicast-queue 15
178echo "Card Configuration"178/configure qos sap-ingress 6001 fc "h2" unknown-queue 15
179#--------------------------------------------------179/configure qos sap-ingress 6001 fc "l1" create queue 4
180 card 5180/configure qos sap-ingress 6001 fc "l1" broadcast-queue 14
181 card-type iom4-e181/configure qos sap-ingress 6001 fc "l1" multicast-queue 14
182 mda 1182/configure qos sap-ingress 6001 fc "l1" unknown-queue 14
183 mda-type me2-100gb-qsfp28183/configure qos sap-ingress 6001 dot1p 0 fc "be"
184 no shutdown184/configure qos sap-ingress 6001 dot1p 3 fc "l1"
185 exit185/configure qos sap-ingress 6001 dot1p 4 fc "h2"
186 no shutdown186/configure qos sap-ingress 6001 dot1p 5 fc "ef"
187 exit187/configure qos sap-egress 5001 create policy-name "VPWS_4-class_policy"
188 card 6188/configure qos sap-egress 5001 description "VPWS 4-class sap-egress policy"
189 card-type iom4-e189/configure qos sap-egress 5001 queue 1 create parent "VPWS_egress_t1_scheduler" weight 20
190 mda 1190/configure qos sap-egress 5001 queue 4 create parent "VPWS_egress_t1_scheduler" weight 80
191 mda-type me2-100gb-qsfp28191/configure qos sap-egress 5001 queue 5 create parent "VPWS_egress_t1_scheduler" level 5 cir-level 5
192 no shutdown192/configure qos sap-egress 5001 queue 5 percent-rate 40.00 cir 40.00 local-limit
193 exit193/configure qos sap-egress 5001 queue 6 create parent "VPWS_egress_t1_scheduler" level 6 cir-level 6
194 mda 2194/configure qos sap-egress 5001 queue 6 percent-rate 10.00 cir 10.00 local-limit
195 mda-type me10-10gb-sfp+195/configure qos sap-egress 5001 fc be create queue 1
196 no shutdown196/configure qos sap-egress 5001 fc ef create queue 6
197 exit197/configure qos sap-egress 5001 fc h2 create queue 5
198 no shutdown198/configure qos sap-egress 5001 fc l1 create queue 4
199 exit199/configure qos sap-egress 5002 create queue 1 create
200#--------------------------------------------------200/configure qos sap-egress 6001 create policy-name "VPLS_4-class_policy"
201echo "Port Configuration"201/configure qos sap-egress 6001 description "VPLS 4-class sap-egress policy"
202#--------------------------------------------------202/configure qos sap-egress 6001 queue 1 create parent "VPLS_egress_t1_scheduler" weight 20
203 port 5/1/1203/configure qos sap-egress 6001 queue 4 create parent "VPLS_egress_t1_scheduler" weight 80
204 description "to_TiC02lab02"204/configure qos sap-egress 6001 queue 5 create parent "VPLS_egress_t1_scheduler" level 5 cir-level 5
205 ethernet205/configure qos sap-egress 6001 queue 5 percent-rate 40.00 cir 40.00 local-limit
206 encap-type dot1q206/configure qos sap-egress 6001 queue 6 create parent "VPLS_egress_t1_scheduler" level 6 cir-level 6
207 lldp207/configure qos sap-egress 6001 queue 6 percent-rate 10.00 cir 10.00 local-limit
208 dest-mac nearest-bridge208/configure qos sap-egress 6001 fc be create queue 1
209 admin-status tx-rx209/configure qos sap-egress 6001 fc ef create queue 6
210 tx-tlvs port-desc sys-name sys-desc sys-cap210/configure qos sap-egress 6001 fc h2 create queue 5
211 exit211/configure qos sap-egress 6001 fc l1 create queue 4
212 exit212/configure router management
213 exit213/configure router Base interface "system" address 10.0.1.5/32
214 no shutdown214/configure router Base interface "system" ipv6 address fd00::1:5/128
215 exit215/configure router Base interface "system" no shutdown
216 port 5/1/2216/configure router Base interface "to_TiC02lab01" address 2.0.0.8/31
217 shutdown217/configure router Base interface "to_TiC02lab01" port 6/1/1:0
218 ethernet218/configure router Base interface "to_TiC02lab01" ipv6
219 exit219/configure router Base interface "to_TiC02lab01" bfd 100 receive 100 multiplier 3 type cpm-np
220 exit220/configure router Base interface "to_TiC02lab01" no shutdown
221 port 6/1/1221/configure router Base interface "to_TiC02lab02" address 2.0.0.10/31
222 description "to_TiC02lab01"222/configure router Base interface "to_TiC02lab02" port 5/1/1:0
223 ethernet223/configure router Base interface "to_TiC02lab02" ipv6
224 encap-type dot1q224/configure router Base interface "to_TiC02lab02" bfd 100 receive 100 multiplier 3 type cpm-np
225 lldp225/configure router Base interface "to_TiC02lab02" no shutdown
226 dest-mac nearest-bridge226/configure router Base autonomous-system 64774
227 admin-status tx-rx227/configure router Base ecmp 8
228 tx-tlvs port-desc sys-name sys-desc sys-cap228/configure router Base ip-fast-reroute
229 exit229/configure router Base mpls-labels sr-labels start 20000 end 20999
230 exit230/configure router Base isis 0 level-capability level-2
231 exit231/configure router Base isis 0 area-id 49.0000
232 no shutdown232/configure router Base isis 0 auth-keychain ISIS_auth_keychain
233 exit233/configure router Base isis 0 database-export
234 port 6/1/2234/configure router Base isis 0 traffic-engineering
235 shutdown235/configure router Base isis 0 reference-bandwidth 1000000000
236 ethernet236/configure router Base isis 0 advertise-passive-only
237 exit237/configure router Base isis 0 advertise-router-capability area
238 exit238/configure router Base isis 0 loopfree-alternate remote-lfa ti-lfa max-sr-frr-labels 3
239 port 6/2/1239/configure router Base isis 0 ipv6-routing native
240 description "to_STC-P8"240/configure router Base isis 0 timers lsp-wait 1000 lsp-initial-wait 10 lsp-second-wait 100
241 ethernet241/configure router Base isis 0 timers spf-wait 1000 spf-initial-wait 10 spf-second-wait 100
242 mode access242/configure router Base isis 0 level 2 wide-metrics-only
243 encap-type qinq243/configure router Base isis 0 interface "system" ipv4-node-sid index 5
244 exit244/configure router Base isis 0 interface "system" ipv6-node-sid index 105
245 no otu245/configure router Base isis 0 interface "system" passive
246 no shutdown246/configure router Base isis 0 interface "system" no shutdown
247 exit247/configure router Base isis 0 interface "to_TiC02lab01" interface-type point-to-point
248 port 6/2/2248/configure router Base isis 0 interface "to_TiC02lab01" bfd-enable ipv4 include-bfd-tlv
249 description "to_STC_Port_6"249/configure router Base isis 0 interface "to_TiC02lab01" no shutdown
250 ethernet250/configure router Base isis 0 interface "to_TiC02lab02" interface-type point-to-point
251 mode access251/configure router Base isis 0 interface "to_TiC02lab02" bfd-enable ipv4 include-bfd-tlv
252 encap-type qinq252/configure router Base isis 0 interface "to_TiC02lab02" no shutdown
253 exit253/configure router Base isis 0 segment-routing prefix-sid-range global
254 no otu254/configure router Base isis 0 segment-routing tunnel-table-pref 8
255 no shutdown255/configure router Base isis 0 segment-routing no shutdown
256 exit256/configure router Base isis 0 no shutdown
257 port 6/2/3257/configure router Base mpls interface "system" no shutdown
258 description "to_STC_Port_5"258/configure router Base mpls interface "to_TiC02lab01" no shutdown
259 ethernet259/configure router Base mpls interface "to_TiC02lab02" no shutdown
260 mode access260/configure router Base rsvp shutdown
261 encap-type qinq261/configure router Base rsvp interface "system" no shutdown
262 exit262/configure router Base rsvp interface "to_TiC02lab01" no shutdown
263 no otu263/configure router Base rsvp interface "to_TiC02lab02" no shutdown
264 no shutdown264/configure router Base mpls no shutdown
265 exit265/configure router Base ldp interface-parameters interface "to_TiC02lab01" dual-stack ipv4 no shutdown
266 port 6/2/4266/configure router Base ldp interface-parameters interface "to_TiC02lab01" dual-stack no shutdown
267 shutdown267/configure router Base ldp interface-parameters interface "to_TiC02lab02" dual-stack ipv4 no shutdown
268 ethernet268/configure router Base ldp interface-parameters interface "to_TiC02lab02" dual-stack no shutdown
269 exit269/configure router Base ldp targeted-session
270 no otu270/configure router Base ldp no shutdown
271 exit271/configure service sdp 1001 mpls create description "to_Ti2lab01"
272 port 6/2/5272/configure service sdp 1001 mpls far-end 10.0.1.1
273 description "LOOP_TO_6/2/6"273/configure service sdp 1001 mpls sr-isis
274 ethernet274/configure service sdp 1001 mpls keep-alive shutdown
275 mode access275/configure service sdp 1001 mpls no shutdown
276 lldp276/configure service customer 1 create description "Default customer"
277 dest-mac nearest-bridge277/configure service system bgp-evpn route-distinguisher 0.1.0.5:0
278 admin-status tx-rx278/configure service system bgp-evpn ethernet-segment "STC_P5-7" create esi 00:10:00:00:00:00:00:00:00:01
279 tx-tlvs port-desc sys-name sys-desc sys-cap279/configure service system bgp-evpn ethernet-segment "STC_P5-7" service-carving mode manual
280 exit280/configure service system bgp-evpn ethernet-segment "STC_P5-7" service-carving manual evi 1 to 700
281 exit281/configure service system bgp-evpn ethernet-segment "STC_P5-7" multi-homing single-active
282 exit282/configure service system bgp-evpn ethernet-segment "STC_P5-7" lag 10
283 no otu283/configure service system bgp-evpn ethernet-segment "STC_P5-7" no shutdown
284 no shutdown284/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_AA" virtual create esi 00:10:00:00:00:00:00:00:00:03
285 exit285/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_AA" virtual service-carving mode manual
286 port 6/2/6286/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_AA" virtual multi-homing all-active
287 description "LOOP_TO_6/2/5"287/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_AA" virtual shutdown
288 ethernet288/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_SA" virtual create esi 00:10:00:00:00:00:00:00:00:02
289 mode access289/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_SA" virtual service-carving mode manual
290 lldp290/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_SA" virtual multi-homing single-active
291 dest-mac nearest-bridge291/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_SA" virtual shutdown
292 admin-status tx-rx292/configure service vprn 2501 customer 1 create interface "to_STC" create
293 tx-tlvs port-desc sys-name sys-desc sys-cap293/configure service vprn 2502 customer 1 create interface "to_STC" create
294 exit294/configure service vprn 2503 customer 1 create interface "to_STC" create
295 exit295/configure service vprn 2504 customer 1 create interface "to_STC" create
296 exit296/configure service vprn 2505 customer 1 create interface "to_STC" create
297 no otu297/configure service vprn 2506 customer 1 create interface "to_STC" create
298 no shutdown298/configure service vprn 2507 customer 1 create interface "to_STC" create
299 exit299/configure service vprn 2508 customer 1 create interface "to_STC" create
300 port 6/2/7300/configure service vprn 2509 customer 1 create interface "to_Port_B" create
301 shutdown301/configure service vprn 2510 customer 1 create interface "to_Port_A" create
302 ethernet302/configure service vprn 2990 customer 1 create interface "to_MCAST_Source1" create
303 exit303/configure service vprn 2990 customer 1 create interface "to_MCAST_Source2" create
304 no otu304/configure service vprn 2990 customer 1 create interface "to_MCAST_Source3" create
305 exit305/configure service vprn 2990 customer 1 create interface "to_MCAST_Source4" create
306 port 6/2/8306/configure service epipe 1 customer 1 create bgp route-distinguisher 0.1.0.5:1
307 shutdown307/configure service epipe 1 bgp-evpn local-ac-name "S_ac" eth-tag 1001101
308 ethernet308/configure service epipe 1 bgp-evpn remote-ac-name "L_ac" eth-tag 11
309 exit309/configure service epipe 1 bgp-evpn evi 1
310 no otu310/configure service epipe 1 bgp-evpn mpls control-word
311 exit311/configure service epipe 1 bgp-evpn mpls force-vlan-vc-forwarding
312 port 6/2/9312/configure service epipe 1 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
313 shutdown313/configure service epipe 1 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
314 ethernet314/configure service epipe 1 bgp-evpn mpls auto-bind-tunnel resolution filter
315 encap-type dot1q315/configure service epipe 1 bgp-evpn mpls no shutdown
316 lldp316/configure service epipe 1 service-name "EVPN_VPWS_1"
317 dest-mac nearest-bridge317/configure service epipe 1 sap lag-10:1001.101 create ingress scheduler-policy "VPWS_ingress_scheduler_policy"
318 admin-status tx-rx318/configure service epipe 1 sap lag-10:1001.101 create ingress qos 5001
319 tx-tlvs port-desc sys-name sys-desc sys-cap319/configure service epipe 1 sap lag-10:1001.101 egress scheduler-policy "VPWS_egress_scheduler_policy"
320 exit320/configure service epipe 1 sap lag-10:1001.101 egress qos 5001
321 exit321/configure service epipe 1 sap lag-10:1001.101 no shutdown
322 exit322/configure service epipe 1 no shutdown
323 no otu323/configure service epipe 801 customer 1 create bgp route-distinguisher 0.1.0.5:801
324 exit324/configure service epipe 801 bgp-evpn local-ac-name "S_ac" eth-tag 1090101
325 port 6/2/10325/configure service epipe 801 bgp-evpn remote-ac-name "L_ac" eth-tag 901
326 shutdown326/configure service epipe 801 bgp-evpn evi 801
327 ethernet327/configure service epipe 801 bgp-evpn mpls control-word
328 encap-type dot1q328/configure service epipe 801 bgp-evpn mpls force-vlan-vc-forwarding
329 lldp329/configure service epipe 801 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
330 dest-mac nearest-bridge330/configure service epipe 801 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
331 admin-status tx-rx331/configure service epipe 801 bgp-evpn mpls auto-bind-tunnel resolution filter
332 tx-tlvs port-desc sys-name sys-desc sys-cap332/configure service epipe 801 bgp-evpn mpls no shutdown
333 exit333/configure service epipe 801 service-name "EVPN_VPWS_801"
334 exit334/configure service epipe 801 sap lag-10:1090.101 create ingress scheduler-policy "VPWS_adv_ing_scheduler_policy"
335 exit335/configure service epipe 801 sap lag-10:1090.101 create ingress qos 5002
336 no otu336/configure service epipe 801 sap lag-10:1090.101 egress scheduler-policy "VPWS_adv_egr_scheduler_policy"
337 exit337/configure service epipe 801 sap lag-10:1090.101 egress qos 5002
338#--------------------------------------------------338/configure service epipe 801 sap lag-10:1090.101 no shutdown
339echo "System Sync-If-Timing Configuration"339/configure service epipe 801 no shutdown
340#--------------------------------------------------340/configure service epipe 802 customer 1 create bgp route-distinguisher 0.1.0.5:802
341 system341/configure service epipe 802 bgp-evpn local-ac-name "S_ac" eth-tag 1090102
342 sync-if-timing342/configure service epipe 802 bgp-evpn remote-ac-name "L_ac" eth-tag 902
343 begin343/configure service epipe 802 bgp-evpn evi 802
344 commit344/configure service epipe 802 bgp-evpn mpls control-word
345 exit345/configure service epipe 802 bgp-evpn mpls force-vlan-vc-forwarding
346 exit346/configure service epipe 802 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
347#--------------------------------------------------347/configure service epipe 802 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
348echo "LAG Configuration"348/configure service epipe 802 bgp-evpn mpls auto-bind-tunnel resolution filter
349#--------------------------------------------------349/configure service epipe 802 bgp-evpn mpls no shutdown
350 lag 10350/configure service epipe 802 service-name "EVPN_VPWS_802"
351 description "to_STC_P5_P6"351/configure service epipe 802 sap lag-10:1090.102 create ingress scheduler-policy "VPWS_adv_ing_scheduler_policy"
352 mode access352/configure service epipe 802 sap lag-10:1090.102 create ingress qos 5002
353 encap-type qinq353/configure service epipe 802 sap lag-10:1090.102 egress scheduler-policy "VPWS_adv_egr_scheduler_policy"
354 port 6/2/2 354/configure service epipe 802 sap lag-10:1090.102 egress qos 5002
355 port 6/2/3 355/configure service epipe 802 sap lag-10:1090.102 no shutdown
356 no shutdown356/configure service epipe 802 no shutdown
357 exit357/configure service epipe 803 customer 1 create bgp route-distinguisher 0.1.0.5:803
358#--------------------------------------------------358/configure service epipe 803 bgp-evpn local-ac-name "S_ac" eth-tag 1090103
359echo "Redundancy Configuration"359/configure service epipe 803 bgp-evpn remote-ac-name "L_ac" eth-tag 903
360#--------------------------------------------------360/configure service epipe 803 bgp-evpn evi 803
361 redundancy 361/configure service epipe 803 bgp-evpn mpls control-word
362 bgp-evpn-multi-homing362/configure service epipe 803 bgp-evpn mpls force-vlan-vc-forwarding
363 boot-timer 90363/configure service epipe 803 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
364 exit364/configure service epipe 803 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
365 exit 365/configure service epipe 803 bgp-evpn mpls auto-bind-tunnel resolution filter
366#--------------------------------------------------366/configure service epipe 803 bgp-evpn mpls no shutdown
367echo "QoS Policy Configuration"367/configure service epipe 803 service-name "EVPN_VPWS_803"
368#--------------------------------------------------368/configure service epipe 803 sap lag-10:1090.103 create ingress scheduler-policy "VPWS_adv_ing_scheduler_policy"
369 qos369/configure service epipe 803 sap lag-10:1090.103 create ingress qos 5002
370 sap-ingress 5001 create370/configure service epipe 803 sap lag-10:1090.103 egress scheduler-policy "VPWS_adv_egr_scheduler_policy"
371 policy-name "VPWS_4-class_policy"371/configure service epipe 803 sap lag-10:1090.103 egress qos 5002
372 description "VPWS 4-class sap-ingress policy"372/configure service epipe 803 sap lag-10:1090.103 no shutdown
373 queue 1 create373/configure service epipe 803 no shutdown
374 parent "VPWS_ingress_t1_scheduler" weight 20374/configure service epipe 804 customer 1 create bgp route-distinguisher 0.1.0.5:804
375 exit375/configure service epipe 804 bgp-evpn local-ac-name "S_ac" eth-tag 1090104
376 queue 4 create376/configure service epipe 804 bgp-evpn remote-ac-name "L_ac" eth-tag 904
377 parent "VPWS_ingress_t1_scheduler" weight 80377/configure service epipe 804 bgp-evpn evi 804
378 exit378/configure service epipe 804 bgp-evpn mpls control-word
379 queue 5 create379/configure service epipe 804 bgp-evpn mpls force-vlan-vc-forwarding
380 parent "VPWS_ingress_t1_scheduler" level 5 cir-level 5380/configure service epipe 804 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
381 percent-rate 40.00 cir 40.00 local-limit381/configure service epipe 804 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
382 exit382/configure service epipe 804 bgp-evpn mpls auto-bind-tunnel resolution filter
383 queue 6 create383/configure service epipe 804 bgp-evpn mpls no shutdown
384 parent "VPWS_ingress_t1_scheduler" level 6 cir-level 6384/configure service epipe 804 service-name "EVPN_VPWS_804"
385 percent-rate 10.00 cir 10.00 local-limit385/configure service epipe 804 sap lag-10:1090.104 create ingress scheduler-policy "VPWS_adv_ing_scheduler_policy"
386 exit386/configure service epipe 804 sap lag-10:1090.104 create ingress qos 5002
387 queue 11 multipoint create387/configure service epipe 804 sap lag-10:1090.104 egress scheduler-policy "VPWS_adv_egr_scheduler_policy"
388 exit388/configure service epipe 804 sap lag-10:1090.104 egress qos 5002
389 fc "be" create389/configure service epipe 804 sap lag-10:1090.104 no shutdown
390 queue 1390/configure service epipe 804 no shutdown
391 exit391/configure service vpls 1001 customer 1 create selective-learned-fdb
392 fc "ef" create392/configure service vpls 1001 fdb-table-size 10000
393 queue 6393/configure service vpls 1001 split-horizon-group "SHG_1" create
394 exit394/configure service vpls 1001 bgp route-distinguisher 0.1.0.5:1001
395 fc "h2" create395/configure service vpls 1001 bgp-evpn evi 1001
396 queue 5396/configure service vpls 1001 bgp-evpn mac-duplication black-hole-dup-mac
397 exit397/configure service vpls 1001 bgp-evpn vxlan shutdown
398 fc "l1" create398/configure service vpls 1001 bgp-evpn mpls control-word
399 queue 4399/configure service vpls 1001 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
400 exit400/configure service vpls 1001 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
401 dot1p 0 fc "be"401/configure service vpls 1001 bgp-evpn mpls auto-bind-tunnel resolution filter
402 dot1p 3 fc "l1"402/configure service vpls 1001 bgp-evpn mpls no shutdown
403 dot1p 4 fc "h2"403/configure service vpls 1001 stp shutdown
404 dot1p 5 fc "ef"404/configure service vpls 1001 service-name "EVPN_VPLS_1001"
405 exit405/configure service vpls 1001 sap lag-10:1101.1 split-horizon-group "SHG_1" create ingress scheduler-policy "VPLS_ingress_scheduler_policy"
406 sap-ingress 5002 create406/configure service vpls 1001 sap lag-10:1101.1 split-horizon-group "SHG_1" create ingress qos 6001
407 queue 1 create407/configure service vpls 1001 sap lag-10:1101.1 split-horizon-group "SHG_1" egress scheduler-policy "VPLS_egress_scheduler_policy"
408 exit408/configure service vpls 1001 sap lag-10:1101.1 split-horizon-group "SHG_1" egress qos 6001
409 queue 11 multipoint create409/configure service vpls 1001 sap lag-10:1101.1 split-horizon-group "SHG_1" no shutdown
410 exit410/configure service vpls 1001 mac-move no shutdown
411 exit411/configure service vpls 1001 no shutdown
412 sap-ingress 6001 create412/configure service vpls 1091 customer 1 create selective-learned-fdb
413 policy-name "VPLS_4-class_policy"413/configure service vpls 1091 fdb-table-size 10000
414 description "VPLS 4-class sap-ingress policy"414/configure service vpls 1091 split-horizon-group "SHG_1" create
415 queue 1 create415/configure service vpls 1091 bgp route-distinguisher 0.1.0.5:1091
416 parent "VPLS_ingress_t1_scheduler" weight 20416/configure service vpls 1091 bgp-evpn evi 1091
417 exit417/configure service vpls 1091 bgp-evpn mac-duplication black-hole-dup-mac
418 queue 4 create418/configure service vpls 1091 bgp-evpn vxlan shutdown
419 parent "VPLS_ingress_t1_scheduler" weight 80419/configure service vpls 1091 bgp-evpn mpls control-word
420 exit420/configure service vpls 1091 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
421 queue 5 create421/configure service vpls 1091 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
422 parent "VPLS_ingress_t1_scheduler" level 5 cir-level 5422/configure service vpls 1091 bgp-evpn mpls auto-bind-tunnel resolution filter
423 percent-rate 40.00 cir 40.00 local-limit423/configure service vpls 1091 bgp-evpn mpls no shutdown
424 exit424/configure service vpls 1091 stp shutdown
425 queue 6 create425/configure service vpls 1091 service-name "EVPN_VPLS_1091"
426 parent "VPLS_ingress_t1_scheduler" level 6 cir-level 6426/configure service vpls 1091 sap lag-10:1190.cp-1091 create no shutdown
427 percent-rate 10.00 cir 10.00 local-limit427/configure service vpls 1091 mac-move no shutdown
428 exit428/configure service vpls 1091 no shutdown
429 queue 11 multipoint create429/configure service vprn 2501 customer 1 create autonomous-system 64774
430 parent "VPLS_ingress_t1_scheduler" weight 20430/configure service vprn 2501 route-distinguisher 0.0.1.5:2501
431 exit431/configure service vprn 2501 auto-bind-tunnel resolution-filter sr-isis
432 queue 14 multipoint create432/configure service vprn 2501 auto-bind-tunnel resolution filter
433 parent "VPLS_ingress_t1_scheduler" weight 80433/configure service vprn 2501 vrf-target target:64774:2501
434 exit434/configure service vprn 2501 interface "to_STC" create address 10.4.11.1/30
435 queue 15 multipoint create435/configure service vprn 2501 interface "to_STC" ipv6 address fd00::411:1/126
436 parent "VPLS_ingress_t1_scheduler" level 5 cir-level 5436/configure service vprn 2501 interface "to_STC" sap lag-10:1250.1 create
437 exit437/configure service vprn 2501 bgp group "to_CE" neighbor 10.4.11.2 prefix-limit ipv4 1000
438 queue 16 multipoint create438/configure service vprn 2501 bgp group "to_CE" neighbor 10.4.11.2 prefix-limit ipv6 1000
439 parent "VPLS_ingress_t1_scheduler" level 6 cir-level 6439/configure service vprn 2501 bgp group "to_CE" neighbor 10.4.11.2 peer-as 65501
440 exit440/configure service vprn 2501 bgp group "to_CE" neighbor fd00::411:2 prefix-limit ipv4 1000
441 fc "be" create441/configure service vprn 2501 bgp group "to_CE" neighbor fd00::411:2 prefix-limit ipv6 1000
442 queue 1442/configure service vprn 2501 bgp group "to_CE" neighbor fd00::411:2 peer-as 65501
443 broadcast-queue 11443/configure service vprn 2501 bgp no shutdown
444 multicast-queue 11444/configure service vprn 2501 no shutdown
445 unknown-queue 11445/configure service vprn 2502 customer 1 create autonomous-system 64774
446 exit446/configure service vprn 2502 route-distinguisher 0.0.1.5:2502
447 fc "ef" create447/configure service vprn 2502 auto-bind-tunnel resolution-filter sr-isis
448 queue 6448/configure service vprn 2502 auto-bind-tunnel resolution filter
449 broadcast-queue 16449/configure service vprn 2502 vrf-target export target:64774:42502 import target:64774:2502
450 multicast-queue 16450/configure service vprn 2502 interface "to_STC" create address 10.4.12.1/30
451 unknown-queue 16451/configure service vprn 2502 interface "to_STC" ipv6 address fd00::412:1/126
452 exit452/configure service vprn 2502 interface "to_STC" sap lag-10:1250.2 create
453 fc "h2" create453/configure service vprn 2502 bgp group "to_CE" neighbor 10.4.12.2 prefix-limit ipv4 1000
454 queue 5454/configure service vprn 2502 bgp group "to_CE" neighbor 10.4.12.2 prefix-limit ipv6 1000
455 broadcast-queue 15455/configure service vprn 2502 bgp group "to_CE" neighbor 10.4.12.2 peer-as 65502
456 multicast-queue 15456/configure service vprn 2502 bgp group "to_CE" neighbor fd00::412:2 prefix-limit ipv4 1000
457 unknown-queue 15457/configure service vprn 2502 bgp group "to_CE" neighbor fd00::412:2 prefix-limit ipv6 1000
458 exit458/configure service vprn 2502 bgp group "to_CE" neighbor fd00::412:2 peer-as 65502
459 fc "l1" create459/configure service vprn 2502 bgp no shutdown
460 queue 4460/configure service vprn 2502 no shutdown
461 broadcast-queue 14461/configure service vprn 2503 customer 1 create autonomous-system 64774
462 multicast-queue 14462/configure service vprn 2503 route-distinguisher 0.0.1.5:2503
463 unknown-queue 14463/configure service vprn 2503 auto-bind-tunnel resolution-filter sr-isis
464 exit464/configure service vprn 2503 auto-bind-tunnel resolution filter
465 dot1p 0 fc "be"465/configure service vprn 2503 vrf-target export target:64774:42503 import target:64774:2503
466 dot1p 3 fc "l1"466/configure service vprn 2503 interface "to_STC" create address 10.4.13.1/30
467 dot1p 4 fc "h2"467/configure service vprn 2503 interface "to_STC" ipv6 address fd00::413:1/126
468 dot1p 5 fc "ef"468/configure service vprn 2503 interface "to_STC" sap lag-10:1250.3 create
469 exit469/configure service vprn 2503 bgp group "to_CE" neighbor 10.4.13.2 prefix-limit ipv4 1000
470 sap-egress 5001 create470/configure service vprn 2503 bgp group "to_CE" neighbor 10.4.13.2 prefix-limit ipv6 1000
471 policy-name "VPWS_4-class_policy"471/configure service vprn 2503 bgp group "to_CE" neighbor 10.4.13.2 peer-as 65503
472 description "VPWS 4-class sap-egress policy"472/configure service vprn 2503 bgp group "to_CE" neighbor fd00::413:2 prefix-limit ipv4 1000
473 queue 1 create473/configure service vprn 2503 bgp group "to_CE" neighbor fd00::413:2 prefix-limit ipv6 1000
474 parent "VPWS_egress_t1_scheduler" weight 20474/configure service vprn 2503 bgp group "to_CE" neighbor fd00::413:2 peer-as 65503
475 exit475/configure service vprn 2503 bgp no shutdown
476 queue 4 create476/configure service vprn 2503 no shutdown
477 parent "VPWS_egress_t1_scheduler" weight 80477/configure service vprn 2504 customer 1 create vrf-export "PS_EXP_VPRN_2504"
478 exit478/configure service vprn 2504 autonomous-system 64774
479 queue 5 create479/configure service vprn 2504 route-distinguisher 0.0.1.5:2504
480 parent "VPWS_egress_t1_scheduler" level 5 cir-level 5480/configure service vprn 2504 auto-bind-tunnel resolution-filter sr-isis
481 percent-rate 40.00 cir 40.00 local-limit481/configure service vprn 2504 auto-bind-tunnel resolution filter
482 exit482/configure service vprn 2504 vrf-target target:64774:2504
483 queue 6 create483/configure service vprn 2504 interface "to_STC" create address 10.4.14.1/30
484 parent "VPWS_egress_t1_scheduler" level 6 cir-level 6484/configure service vprn 2504 interface "to_STC" ipv6 address fd00::414:1/126
485 percent-rate 10.00 cir 10.00 local-limit485/configure service vprn 2504 interface "to_STC" sap lag-10:1250.4 create
486 exit486/configure service vprn 2504 static-route-entry 10.10.10.10/32 next-hop 10.4.14.2 no shutdown
487 fc be create487/configure service vprn 2504 bgp group "to_CE" neighbor 10.4.14.2 import "PS_IMP_VRF2504_BGP"
488 queue 1488/configure service vprn 2504 bgp group "to_CE" neighbor 10.4.14.2 export "PS_EXP_VRF2504_BGP"
489 exit 489/configure service vprn 2504 bgp group "to_CE" neighbor 10.4.14.2 peer-as 65504
490 fc ef create490/configure service vprn 2504 bgp group "to_CE" neighbor fd00::414:2 peer-as 65504
491 queue 6491/configure service vprn 2504 bgp no shutdown
492 exit 492/configure service vprn 2504 no shutdown
493 fc h2 create493/configure service vprn 2505 customer 1 create autonomous-system 64774
494 queue 5494/configure service vprn 2505 route-distinguisher 0.0.1.5:2505
495 exit 495/configure service vprn 2505 auto-bind-tunnel resolution-filter sr-isis
496 fc l1 create496/configure service vprn 2505 auto-bind-tunnel resolution filter
497 queue 4497/configure service vprn 2505 vrf-target export target:64774:2505 import target:64774:42505
498 exit 498/configure service vprn 2505 interface "to_STC" create address 10.4.15.1/30
499 exit499/configure service vprn 2505 interface "to_STC" ipv6 address fd00::415:1/126
500 sap-egress 5002 create500/configure service vprn 2505 interface "to_STC" sap lag-10:1250.5 create
501 queue 1 create501/configure service vprn 2505 bgp group "to_CE" neighbor 10.4.15.2 peer-as 65505
502 exit502/configure service vprn 2505 bgp group "to_CE" neighbor fd00::415:2 peer-as 65505
503 exit503/configure service vprn 2505 bgp no shutdown
504 sap-egress 6001 create504/configure service vprn 2505 no shutdown
505 policy-name "VPLS_4-class_policy"505/configure service vprn 2506 customer 1 create autonomous-system 64774
506 description "VPLS 4-class sap-egress policy"506/configure service vprn 2506 route-distinguisher 0.0.1.5:2506
507 queue 1 create507/configure service vprn 2506 auto-bind-tunnel resolution-filter sr-isis
508 parent "VPLS_egress_t1_scheduler" weight 20508/configure service vprn 2506 auto-bind-tunnel resolution filter
509 exit509/configure service vprn 2506 vrf-target export target:64774:42506 import target:64774:2506
510 queue 4 create510/configure service vprn 2506 interface "to_STC" create address 10.4.16.1/30
511 parent "VPLS_egress_t1_scheduler" weight 80511/configure service vprn 2506 interface "to_STC" ipv6 address fd00::416:1/126
512 exit512/configure service vprn 2506 interface "to_STC" sap lag-10:1250.6 create
513 queue 5 create513/configure service vprn 2506 bgp group "to_CE" neighbor 10.4.16.2 peer-as 65506
514 parent "VPLS_egress_t1_scheduler" level 5 cir-level 5514/configure service vprn 2506 bgp group "to_CE" neighbor fd00::416:2 peer-as 65506
515 percent-rate 40.00 cir 40.00 local-limit515/configure service vprn 2506 bgp no shutdown
516 exit516/configure service vprn 2506 no shutdown
517 queue 6 create517/configure service vprn 2507 customer 1 create autonomous-system 64774
518 parent "VPLS_egress_t1_scheduler" level 6 cir-level 6518/configure service vprn 2507 route-distinguisher 0.0.1.5:2507
519 percent-rate 10.00 cir 10.00 local-limit519/configure service vprn 2507 auto-bind-tunnel resolution-filter sr-isis
520 exit520/configure service vprn 2507 auto-bind-tunnel resolution filter
521 fc be create521/configure service vprn 2507 vrf-target target:64774:2507
522 queue 1522/configure service vprn 2507 interface "to_STC" create address 10.4.17.1/30
523 exit 523/configure service vprn 2507 interface "to_STC" ipv6 address fd00::417:1/126
524 fc ef create524/configure service vprn 2507 interface "to_STC" sap lag-10:1250.7 create
525 queue 6525/configure service vprn 2507 bgp group "to_CE" neighbor 10.4.17.2 peer-as 65507
526 exit 526/configure service vprn 2507 bgp group "to_CE" neighbor fd00::417:2 peer-as 65507
527 fc h2 create527/configure service vprn 2507 bgp no shutdown
528 queue 5528/configure service vprn 2507 no shutdown
529 exit 529/configure service vprn 2508 customer 1 create autonomous-system 64774
530 fc l1 create530/configure service vprn 2508 route-distinguisher 0.0.1.5:2508
531 queue 4531/configure service vprn 2508 auto-bind-tunnel resolution-filter sr-isis
532 exit 532/configure service vprn 2508 auto-bind-tunnel resolution filter
533 exit533/configure service vprn 2508 vrf-target target:64774:2508
534 exit534/configure service vprn 2508 interface "to_STC" create address 10.4.18.1/30
535#--------------------------------------------------535/configure service vprn 2508 interface "to_STC" ipv6 address fd00::418:1/126
536echo "Management Router Configuration"536/configure service vprn 2508 interface "to_STC" sap lag-10:1250.8 create
537#--------------------------------------------------537/configure service vprn 2508 bgp group "to_CE" neighbor 10.4.18.2 peer-as 65508
538 router management538/configure service vprn 2508 bgp group "to_CE" neighbor fd00::418:2 peer-as 65508
539 exit539/configure service vprn 2508 bgp no shutdown
540540/configure service vprn 2508 no shutdown
541#--------------------------------------------------541/configure service vprn 2509 customer 1 create vrf-export "PS_CE_EXPORT"
542echo "Router (Network Side) Configuration"542/configure service vprn 2509 router-id 10.4.40.2
543#--------------------------------------------------543/configure service vprn 2509 autonomous-system 65509
544 router Base544/configure service vprn 2509 route-distinguisher 0.0.1.5:2509
545 interface "system"545/configure service vprn 2509 auto-bind-tunnel resolution-filter sr-isis
546 address 10.0.1.5/32546/configure service vprn 2509 auto-bind-tunnel resolution filter
547 ipv6547/configure service vprn 2509 vrf-target import target:64774:2509
548 address fd00::1:5/128 548/configure service vprn 2509 interface "to_Port_B" create address 10.4.40.2/30
549 exit549/configure service vprn 2509 interface "to_Port_B" sap 6/2/5 create
550 no shutdown550/configure service vprn 2509 bgp disable-communities extended
551 exit551/configure service vprn 2509 bgp group "to_PE" neighbor 10.4.40.1 import "PS_IMP_PE"
552 interface "to_TiC02lab01"552/configure service vprn 2509 bgp group "to_PE" neighbor 10.4.40.1 export "PS_MPBGP-TO-BGP"
553 address 2.0.0.8/31553/configure service vprn 2509 bgp group "to_PE" neighbor 10.4.40.1 local-as 65509
554 port 6/1/1:0554/configure service vprn 2509 bgp group "to_PE" neighbor 10.4.40.1 peer-as 65510
555 ipv6555/configure service vprn 2509 bgp no shutdown
556 exit556/configure service vprn 2509 no shutdown
557 bfd 100 receive 100 multiplier 3 type cpm-np557/configure service vprn 2510 customer 1 create description "VPRN 2510: PE emulation"
558 no shutdown558/configure service vprn 2510 vrf-export "PS_PE_EXPORT"
559 exit559/configure service vprn 2510 router-id 10.4.40.1
560 interface "to_TiC02lab02"560/configure service vprn 2510 autonomous-system 65510
561 address 2.0.0.10/31561/configure service vprn 2510 route-distinguisher 0.0.1.5:2510
562 port 5/1/1:0562/configure service vprn 2510 auto-bind-tunnel resolution-filter sr-isis
563 ipv6563/configure service vprn 2510 auto-bind-tunnel resolution filter
564 exit564/configure service vprn 2510 vrf-target import target:64774:2510
565 bfd 100 receive 100 multiplier 3 type cpm-np565/configure service vprn 2510 interface "to_Port_A" create address 10.4.40.1/30
566 no shutdown566/configure service vprn 2510 interface "to_Port_A" sap 6/2/6 create
567 exit567/configure service vprn 2510 bgp disable-communities extended
568 autonomous-system 64774568/configure service vprn 2510 bgp group "to_CE" neighbor 10.4.40.2 export "PS_MPBGP-TO-BGP"
569 ecmp 8569/configure service vprn 2510 bgp group "to_CE" neighbor 10.4.40.2 local-as 65510
570 ip-fast-reroute570/configure service vprn 2510 bgp group "to_CE" neighbor 10.4.40.2 peer-as 65509
571#--------------------------------------------------571/configure service vprn 2510 bgp no shutdown
572echo "MPLS Label Range Configuration"572/configure service vprn 2510 no shutdown
573#--------------------------------------------------573/configure service vprn 2990 customer 1 create description "NG-MVPN"
574 mpls-labels574/configure service vprn 2990 route-distinguisher 0.0.1.5:2990
575 sr-labels start 20000 end 20999575/configure service vprn 2990 auto-bind-tunnel resolution-filter sr-isis
576 exit576/configure service vprn 2990 auto-bind-tunnel resolution filter
577#--------------------------------------------------577/configure service vprn 2990 vrf-target target:64774:2990
578echo "ISIS Configuration"578/configure service vprn 2990 interface "to_MCAST_Source1" create address 10.2.1.1/30
579#--------------------------------------------------579/configure service vprn 2990 interface "to_MCAST_Source1" sap 6/2/1:1252.10 create
580 isis 0580/configure service vprn 2990 interface "to_MCAST_Source2" create address 10.2.2.1/30
581 level-capability level-2581/configure service vprn 2990 interface "to_MCAST_Source2" sap 6/2/1:1252.11 create
582 area-id 49.0000582/configure service vprn 2990 interface "to_MCAST_Source3" create address 10.2.3.1/30
583 auth-keychain ISIS_auth_keychain583/configure service vprn 2990 interface "to_MCAST_Source3" sap 6/2/1:1252.12 create
584 database-export584/configure service vprn 2990 interface "to_MCAST_Source4" create address 10.2.4.1/30
585 traffic-engineering585/configure service vprn 2990 interface "to_MCAST_Source4" sap 6/2/1:1252.13 create
586 reference-bandwidth 1000000000586/configure service vprn 2990 pim interface "to_MCAST_Source1"
587 advertise-passive-only587/configure service vprn 2990 pim interface "to_MCAST_Source2"
588 advertise-router-capability area588/configure service vprn 2990 pim interface "to_MCAST_Source3"
589 loopfree-alternate remote-lfa ti-lfa max-sr-frr-labels 3589/configure service vprn 2990 pim interface "to_MCAST_Source4"
590 ipv6-routing native590/configure service vprn 2990 pim rp static
591 timers591/configure service vprn 2990 pim rp bsr-candidate shutdown
592 lsp-wait 1000 lsp-initial-wait 10 lsp-second-wait 100592/configure service vprn 2990 pim rp rp-candidate shutdown
593 spf-wait 1000 spf-initial-wait 10 spf-second-wait 100593/configure service vprn 2990 pim no shutdown
594 exit594/configure service vprn 2990 mvpn auto-discovery default
595 level 2595/configure service vprn 2990 mvpn c-mcast-signaling bgp
596 wide-metrics-only596/configure service vprn 2990 mvpn provider-tunnel inclusive mldp no shutdown
597 exit597/configure service vprn 2990 mvpn provider-tunnel selective mldp no shutdown
598 interface "system"598/configure service vprn 2990 mvpn provider-tunnel selective no auto-discovery-disable
599 ipv4-node-sid index 5599/configure service vprn 2990 mvpn provider-tunnel selective data-threshold 230.0.0.0/8 10
600 ipv6-node-sid index 105600/configure service vprn 2990 mvpn vrf-target unicast
601 passive601/configure service vprn 2990 no shutdown
602 no shutdown602/configure router Base isis 0 no shutdown
603 exit603/configure router Base policy-options begin
604 interface "to_TiC02lab01"604/configure router Base policy-options community "COM_CE" members "target:64774:2509"
605 interface-type point-to-point605/configure router Base policy-options community "COM_PE" members "target:64774:2510"
606 bfd-enable ipv4 include-bfd-tlv606/configure router Base policy-options community "COM_L2504" members "64774:100"
607 no shutdown607/configure router Base policy-options community "COM_EXT-2504" members "target:64774:2504"
608 exit608/configure router Base policy-options community "COM_L2504-300" members "64774:300"
609 interface "to_TiC02lab02"609/configure router Base policy-options community "COM_L2504-500" members "64774:500"
610 interface-type point-to-point610/configure router Base policy-options community "COM_NO-EXPORT" members "no-export"
611 bfd-enable ipv4 include-bfd-tlv611/configure router Base policy-options as-path "NULL" expression "null"
612 no shutdown612/configure router Base policy-options policy-statement "PS_IMP_PE" entry 10 from protocol bgp
613 exit613/configure router Base policy-options policy-statement "PS_IMP_PE" entry 10 action accept as-path replace "NULL"
614 segment-routing614/configure router Base policy-options policy-statement "PS_CE_EXPORT" entry 10 from protocol bgp
615 prefix-sid-range global615/configure router Base policy-options policy-statement "PS_CE_EXPORT" entry 10 action accept community add "COM_CE"
616 tunnel-table-pref 8616/configure router Base policy-options policy-statement "PS_CE_EXPORT" entry 20 from protocol direct
617 no shutdown617/configure router Base policy-options policy-statement "PS_CE_EXPORT" entry 20 action accept community add "COM_CE"
618 exit618/configure router Base policy-options policy-statement "PS_PE_EXPORT" entry 10 from protocol bgp
619 no shutdown619/configure router Base policy-options policy-statement "PS_PE_EXPORT" entry 10 action accept community add "COM_PE"
620 exit620/configure router Base policy-options policy-statement "PS_PE_EXPORT" entry 20 from protocol direct
621#--------------------------------------------------621/configure router Base policy-options policy-statement "PS_PE_EXPORT" entry 20 action accept community add "COM_PE"
622echo "MPLS Configuration"622/configure router Base policy-options policy-statement "PS_BGP-TO-MPBGP" entry 10 from protocol bgp
623#--------------------------------------------------623/configure router Base policy-options policy-statement "PS_BGP-TO-MPBGP" entry 10 action accept
624 mpls624/configure router Base policy-options policy-statement "PS_MPBGP-TO-BGP" entry 10 from protocol bgp-vpn
625 interface "system"625/configure router Base policy-options policy-statement "PS_MPBGP-TO-BGP" entry 10 action accept
626 no shutdown626/configure router Base policy-options policy-statement "PS_EXP_VPRN_2504" entry 5 action next-entry community add "COM_EXT-2504"
627 exit627/configure router Base policy-options policy-statement "PS_EXP_VPRN_2504" entry 10 from protocol static
628 interface "to_TiC02lab01"628/configure router Base policy-options policy-statement "PS_EXP_VPRN_2504" entry 10 action accept community add "COM_NO-EXPORT"
629 no shutdown629/configure router Base policy-options policy-statement "PS_EXP_VPRN_2504" entry 10 action accept origin igp
630 exit630/configure router Base policy-options policy-statement "PS_EXP_VPRN_2504" entry 15 action accept
631 interface "to_TiC02lab02"631/configure router Base policy-options policy-statement "PS_EXP_VPRN_2504" default-action accept
632 no shutdown632/configure router Base policy-options policy-statement "PS_EXP_VRF2504_BGP" entry 10 from community "COM_L2504-500"
633 exit633/configure router Base policy-options policy-statement "PS_EXP_VRF2504_BGP" entry 10 action accept community replace "COM_L2504-300"
634 exit634/configure router Base policy-options policy-statement "PS_EXP_VRF2504_BGP" entry 10 action accept metric set 100
635#--------------------------------------------------635/configure router Base policy-options policy-statement "PS_EXP_VRF2504_BGP" default-action drop
636echo "RSVP Configuration"636/configure router Base policy-options policy-statement "PS_IMP_VRF2504_BGP" entry 10 from protocol bgp
637#--------------------------------------------------637/configure router Base policy-options policy-statement "PS_IMP_VRF2504_BGP" entry 10 action accept as-path-prepend 64774 3
638 rsvp638/configure router Base policy-options policy-statement "PS_IMP_VRF2504_BGP" entry 10 action accept community add "COM_L2504"
639 shutdown639/configure router Base policy-options policy-statement "PS_IMP_VRF2504_BGP" entry 10 action accept local-preference 500
640 interface "system"640/configure router Base policy-options commit
641 no shutdown641/configure router Base bgp multipath 4
642 exit642/configure router Base bgp rapid-withdrawal
643 interface "to_TiC02lab01"643/configure router Base bgp link-state-import-enable
644 no shutdown644/configure router Base bgp add-paths vpn-ipv4 send 16 receive
645 exit645/configure router Base bgp add-paths vpn-ipv6 send 16 receive
646 interface "to_TiC02lab02"646/configure router Base bgp add-paths label-ipv4 send 16 receive
647 no shutdown647/configure router Base bgp add-paths label-ipv6 send 16 receive
648 exit648/configure router Base bgp backup-path ipv4 ipv6 label-ipv4 label-ipv6
649 exit649/configure router Base bgp error-handling update-fault-tolerance
650#--------------------------------------------------650/configure router Base bgp group "to_RR" family vpn-ipv4 vpn-ipv6 mvpn-ipv4 route-target mvpn-ipv6 evpn label-ipv4 label-ipv6 bgp-ls
651echo "MPLS LSP Configuration"651/configure router Base bgp group "to_RR" authentication-key "yvYQDulXv.ieJtaRU0US" hash2
652#--------------------------------------------------652/configure router Base bgp group "to_RR" min-route-advertisement 5
653 mpls653/configure router Base bgp group "to_RR" type internal
654 no shutdown654/configure router Base bgp group "to_RR" path-mtu-discovery
655 exit655/configure router Base bgp group "to_RR" neighbor 10.0.2.1
656#--------------------------------------------------656/configure router Base bgp no shutdown
657echo "LDP Configuration"657/configure mirror mirror-dest 66666 create sap lag-10:123.456 create
658#--------------------------------------------------658/configure mirror mirror-dest 66666 create no shutdown
659 ldp
660 interface-parameters
661 interface "to_TiC02lab01" dual-stack
662 ipv4
663 no shutdown
664 exit
665 no shutdown
666 exit
667 interface "to_TiC02lab02" dual-stack
668 ipv4
669 no shutdown
670 exit
671 no shutdown
672 exit
673 exit
674 targeted-session
675 exit
676 no shutdown
677 exit
678 exit
679
680#--------------------------------------------------
681echo "Service Configuration"
682#--------------------------------------------------
683 service
684 sdp 1001 mpls create
685 description "to_Ti2lab01"
686 far-end 10.0.1.1
687 sr-isis
688 keep-alive
689 shutdown
690 exit
691 no shutdown
692 exit
693 customer 1 create
694 description "Default customer"
695 exit
696 system
697 bgp-evpn
698 route-distinguisher 0.1.0.5:0
699 ethernet-segment "STC_P5-7" create
700 esi 00:10:00:00:00:00:00:00:00:01
701 service-carving
702 mode manual
703 manual
704 evi 1 to 700
705 exit
706 exit
707 multi-homing single-active
708 lag 10
709 no shutdown
710 exit
711 ethernet-segment "STC_P5-7_virtal_AA" virtual create
712 esi 00:10:00:00:00:00:00:00:00:03
713 service-carving
714 mode manual
715 exit
716 multi-homing all-active
717 shutdown
718 exit
719 ethernet-segment "STC_P5-7_virtal_SA" virtual create
720 esi 00:10:00:00:00:00:00:00:00:02
721 service-carving
722 mode manual
723 exit
724 multi-homing single-active
725 shutdown
726 exit
727 exit
728 exit
729 vprn 2501 customer 1 create
730 interface "to_STC" create
731 exit
732 exit
733 vprn 2502 customer 1 create
734 interface "to_STC" create
735 exit
736 exit
737 vprn 2503 customer 1 create
738 interface "to_STC" create
739 exit
740 exit
741 vprn 2504 customer 1 create
742 interface "to_STC" create
743 exit
744 exit
745 vprn 2505 customer 1 create
746 interface "to_STC" create
747 exit
748 exit
749 vprn 2506 customer 1 create
750 interface "to_STC" create
751 exit
752 exit
753 vprn 2507 customer 1 create
754 interface "to_STC" create
755 exit
756 exit
757 vprn 2508 customer 1 create
758 interface "to_STC" create
759 exit
760 exit
761 vprn 2509 customer 1 create
762 interface "to_Port_B" create
763 exit
764 exit
765 vprn 2510 customer 1 create
766 interface "to_Port_A" create
767 exit
768 exit
769 vprn 2990 customer 1 create
770 interface "to_MCAST_Source1" create
771 exit
772 interface "to_MCAST_Source2" create
773 exit
774 interface "to_MCAST_Source3" create
775 exit
776 interface "to_MCAST_Source4" create
777 exit
778 exit
779 epipe 1 customer 1 create
780 bgp
781 route-distinguisher 0.1.0.5:1
782 exit
783 bgp-evpn
784 local-ac-name "S_ac"
785 eth-tag 1001101
786 exit
787 remote-ac-name "L_ac"
788 eth-tag 11
789 exit
790 evi 1
791 mpls
792 control-word
793 force-vlan-vc-forwarding
794 auto-bind-tunnel
795 resolution-filter
796 sr-isis
797 sr-te
798 exit
799 resolution filter
800 exit
801 no shutdown
802 exit
803 exit
804 service-name "EVPN_VPWS_1"
805 sap lag-10:1001.101 create
806 ingress
807 scheduler-policy "VPWS_ingress_scheduler_policy"
808 qos 5001
809 exit
810 egress
811 scheduler-policy "VPWS_egress_scheduler_policy"
812 qos 5001
813 exit
814 no shutdown
815 exit
816 no shutdown
817 exit
818 epipe 801 customer 1 create
819 bgp
820 route-distinguisher 0.1.0.5:801
821 exit
822 bgp-evpn
823 local-ac-name "S_ac"
824 eth-tag 1090101
825 exit
826 remote-ac-name "L_ac"
827 eth-tag 901
828 exit
829 evi 801
830 mpls
831 control-word
832 force-vlan-vc-forwarding
833 auto-bind-tunnel
834 resolution-filter
835 sr-isis
836 sr-te
837 exit
838 resolution filter
839 exit
840 no shutdown
841 exit
842 exit
843 service-name "EVPN_VPWS_801"
844 sap lag-10:1090.101 create
845 ingress
846 scheduler-policy "VPWS_adv_ing_scheduler_policy"
847 qos 5002
848 exit
849 egress
850 scheduler-policy "VPWS_adv_egr_scheduler_policy"
851 qos 5002
852 exit
853 no shutdown
854 exit
855 no shutdown
856 exit
857 epipe 802 customer 1 create
858 bgp
859 route-distinguisher 0.1.0.5:802
860 exit
861 bgp-evpn
862 local-ac-name "S_ac"
863 eth-tag 1090102
864 exit
865 remote-ac-name "L_ac"
866 eth-tag 902
867 exit
868 evi 802
869 mpls
870 control-word
871 force-vlan-vc-forwarding
872 auto-bind-tunnel
873 resolution-filter
874 sr-isis
875 sr-te
876 exit
877 resolution filter
878 exit
879 no shutdown
880 exit
881 exit
882 service-name "EVPN_VPWS_802"
883 sap lag-10:1090.102 create
884 ingress
885 scheduler-policy "VPWS_adv_ing_scheduler_policy"
886 qos 5002
887 exit
888 egress
889 scheduler-policy "VPWS_adv_egr_scheduler_policy"
890 qos 5002
891 exit
892 no shutdown
893 exit
894 no shutdown
895 exit
896 epipe 803 customer 1 create
897 bgp
898 route-distinguisher 0.1.0.5:803
899 exit
900 bgp-evpn
901 local-ac-name "S_ac"
902 eth-tag 1090103
903 exit
904 remote-ac-name "L_ac"
905 eth-tag 903
906 exit
907 evi 803
908 mpls
909 control-word
910 force-vlan-vc-forwarding
911 auto-bind-tunnel
912 resolution-filter
913 sr-isis
914 sr-te
915 exit
916 resolution filter
917 exit
918 no shutdown
919 exit
920 exit
921 service-name "EVPN_VPWS_803"
922 sap lag-10:1090.103 create
923 ingress
924 scheduler-policy "VPWS_adv_ing_scheduler_policy"
925 qos 5002
926 exit
927 egress
928 scheduler-policy "VPWS_adv_egr_scheduler_policy"
929 qos 5002
930 exit
931 no shutdown
932 exit
933 no shutdown
934 exit
935 epipe 804 customer 1 create
936 bgp
937 route-distinguisher 0.1.0.5:804
938 exit
939 bgp-evpn
940 local-ac-name "S_ac"
941 eth-tag 1090104
942 exit
943 remote-ac-name "L_ac"
944 eth-tag 904
945 exit
946 evi 804
947 mpls
948 control-word
949 force-vlan-vc-forwarding
950 auto-bind-tunnel
951 resolution-filter
952 sr-isis
953 sr-te
954 exit
955 resolution filter
956 exit
957 no shutdown
958 exit
959 exit
960 service-name "EVPN_VPWS_804"
961 sap lag-10:1090.104 create
962 ingress
963 scheduler-policy "VPWS_adv_ing_scheduler_policy"
964 qos 5002
965 exit
966 egress
967 scheduler-policy "VPWS_adv_egr_scheduler_policy"
968 qos 5002
969 exit
970 no shutdown
971 exit
972 no shutdown
973 exit
974 vpls 1001 customer 1 create
975 selective-learned-fdb
976 fdb-table-size 10000
977 split-horizon-group "SHG_1" create
978 exit
979 bgp
980 route-distinguisher 0.1.0.5:1001
981 exit
982 bgp-evpn
983 evi 1001
984 mac-duplication
985 black-hole-dup-mac
986 exit
987 vxlan
988 shutdown
989 exit
990 mpls
991 control-word
992 auto-bind-tunnel
993 resolution-filter
994 sr-isis
995 sr-te
996 exit
997 resolution filter
998 exit
999 no shutdown
1000 exit
1001 exit
1002 stp
1003 shutdown
1004 exit
1005 service-name "EVPN_VPLS_1001"
1006 sap lag-10:1101.1 split-horizon-group "SHG_1" create
1007 ingress
1008 scheduler-policy "VPLS_ingress_scheduler_policy"
1009 qos 6001
1010 exit
1011 egress
1012 scheduler-policy "VPLS_egress_scheduler_policy"
1013 qos 6001
1014 exit
1015 no shutdown
1016 exit
1017 mac-move
1018 no shutdown
1019 exit
1020 no shutdown
1021 exit
1022 vpls 1091 customer 1 create
1023 selective-learned-fdb
1024 fdb-table-size 10000
1025 split-horizon-group "SHG_1" create
1026 exit
1027 bgp
1028 route-distinguisher 0.1.0.5:1091
1029 exit
1030 bgp-evpn
1031 evi 1091
1032 mac-duplication
1033 black-hole-dup-mac
1034 exit
1035 vxlan
1036 shutdown
1037 exit
1038 mpls
1039 control-word
1040 auto-bind-tunnel
1041 resolution-filter
1042 sr-isis
1043 sr-te
1044 exit
1045 resolution filter
1046 exit
1047 no shutdown
1048 exit
1049 exit
1050 stp
1051 shutdown
1052 exit
1053 service-name "EVPN_VPLS_1091"
1054 sap lag-10:1190.cp-1091 create
1055 no shutdown
1056 exit
1057 mac-move
1058 no shutdown
1059 exit
1060 no shutdown
1061 exit
1062 vprn 2501 customer 1 create
1063 autonomous-system 64774
1064 route-distinguisher 0.0.1.5:2501
1065 auto-bind-tunnel
1066 resolution-filter
1067 sr-isis
1068 exit
1069 resolution filter
1070 exit
1071 vrf-target target:64774:2501
1072 interface "to_STC" create
1073 address 10.4.11.1/30
1074 ipv6
1075 address fd00::411:1/126
1076 exit
1077 sap lag-10:1250.1 create
1078 exit
1079 exit
1080 bgp
1081 group "to_CE"
1082 neighbor 10.4.11.2
1083 prefix-limit ipv4 1000
1084 prefix-limit ipv6 1000
1085 peer-as 65501
1086 exit
1087 neighbor fd00::411:2
1088 prefix-limit ipv4 1000
1089 prefix-limit ipv6 1000
1090 peer-as 65501
1091 exit
1092 exit
1093 no shutdown
1094 exit
1095 no shutdown
1096 exit
1097 vprn 2502 customer 1 create
1098 autonomous-system 64774
1099 route-distinguisher 0.0.1.5:2502
1100 auto-bind-tunnel
1101 resolution-filter
1102 sr-isis
1103 exit
1104 resolution filter
1105 exit
1106 vrf-target export target:64774:42502 import target:64774:2502
1107 interface "to_STC" create
1108 address 10.4.12.1/30
1109 ipv6
1110 address fd00::412:1/126
1111 exit
1112 sap lag-10:1250.2 create
1113 exit
1114 exit
1115 bgp
1116 group "to_CE"
1117 neighbor 10.4.12.2
1118 prefix-limit ipv4 1000
1119 prefix-limit ipv6 1000
1120 peer-as 65502
1121 exit
1122 neighbor fd00::412:2
1123 prefix-limit ipv4 1000
1124 prefix-limit ipv6 1000
1125 peer-as 65502
1126 exit
1127 exit
1128 no shutdown
1129 exit
1130 no shutdown
1131 exit
1132 vprn 2503 customer 1 create
1133 autonomous-system 64774
1134 route-distinguisher 0.0.1.5:2503
1135 auto-bind-tunnel
1136 resolution-filter
1137 sr-isis
1138 exit
1139 resolution filter
1140 exit
1141 vrf-target export target:64774:42503 import target:64774:2503
1142 interface "to_STC" create
1143 address 10.4.13.1/30
1144 ipv6
1145 address fd00::413:1/126
1146 exit
1147 sap lag-10:1250.3 create
1148 exit
1149 exit
1150 bgp
1151 group "to_CE"
1152 neighbor 10.4.13.2
1153 prefix-limit ipv4 1000
1154 prefix-limit ipv6 1000
1155 peer-as 65503
1156 exit
1157 neighbor fd00::413:2
1158 prefix-limit ipv4 1000
1159 prefix-limit ipv6 1000
1160 peer-as 65503
1161 exit
1162 exit
1163 no shutdown
1164 exit
1165 no shutdown
1166 exit
1167 vprn 2504 customer 1 create
1168 vrf-export "PS_EXP_VPRN_2504"
1169 autonomous-system 64774
1170 route-distinguisher 0.0.1.5:2504
1171 auto-bind-tunnel
1172 resolution-filter
1173 sr-isis
1174 exit
1175 resolution filter
1176 exit
1177 vrf-target target:64774:2504
1178 interface "to_STC" create
1179 address 10.4.14.1/30
1180 ipv6
1181 address fd00::414:1/126
1182 exit
1183 sap lag-10:1250.4 create
1184 exit
1185 exit
1186 static-route-entry 10.10.10.10/32
1187 next-hop 10.4.14.2
1188 no shutdown
1189 exit
1190 exit
1191 bgp
1192 group "to_CE"
1193 neighbor 10.4.14.2
1194 import "PS_IMP_VRF2504_BGP"
1195 export "PS_EXP_VRF2504_BGP"
1196 peer-as 65504
1197 exit
1198 neighbor fd00::414:2
1199 peer-as 65504
1200 exit
1201 exit
1202 no shutdown
1203 exit
1204 no shutdown
1205 exit
1206 vprn 2505 customer 1 create
1207 autonomous-system 64774
1208 route-distinguisher 0.0.1.5:2505
1209 auto-bind-tunnel
1210 resolution-filter
1211 sr-isis
1212 exit
1213 resolution filter
1214 exit
1215 vrf-target export target:64774:2505 import target:64774:42505
1216 interface "to_STC" create
1217 address 10.4.15.1/30
1218 ipv6
1219 address fd00::415:1/126
1220 exit
1221 sap lag-10:1250.5 create
1222 exit
1223 exit
1224 bgp
1225 group "to_CE"
1226 neighbor 10.4.15.2
1227 peer-as 65505
1228 exit
1229 neighbor fd00::415:2
1230 peer-as 65505
1231 exit
1232 exit
1233 no shutdown
1234 exit
1235 no shutdown
1236 exit
1237 vprn 2506 customer 1 create
1238 autonomous-system 64774
1239 route-distinguisher 0.0.1.5:2506
1240 auto-bind-tunnel
1241 resolution-filter
1242 sr-isis
1243 exit
1244 resolution filter
1245 exit
1246 vrf-target export target:64774:42506 import target:64774:2506
1247 interface "to_STC" create
1248 address 10.4.16.1/30
1249 ipv6
1250 address fd00::416:1/126
1251 exit
1252 sap lag-10:1250.6 create
1253 exit
1254 exit
1255 bgp
1256 group "to_CE"
1257 neighbor 10.4.16.2
1258 peer-as 65506
1259 exit
1260 neighbor fd00::416:2
1261 peer-as 65506
1262 exit
1263 exit
1264 no shutdown
1265 exit
1266 no shutdown
1267 exit
1268 vprn 2507 customer 1 create
1269 autonomous-system 64774
1270 route-distinguisher 0.0.1.5:2507
1271 auto-bind-tunnel
1272 resolution-filter
1273 sr-isis
1274 exit
1275 resolution filter
1276 exit
1277 vrf-target target:64774:2507
1278 interface "to_STC" create
1279 address 10.4.17.1/30
1280 ipv6
1281 address fd00::417:1/126
1282 exit
1283 sap lag-10:1250.7 create
1284 exit
1285 exit
1286 bgp
1287 group "to_CE"
1288 neighbor 10.4.17.2
1289 peer-as 65507
1290 exit
1291 neighbor fd00::417:2
1292 peer-as 65507
1293 exit
1294 exit
1295 no shutdown
1296 exit
1297 no shutdown
1298 exit
1299 vprn 2508 customer 1 create
1300 autonomous-system 64774
1301 route-distinguisher 0.0.1.5:2508
1302 auto-bind-tunnel
1303 resolution-filter
1304 sr-isis
1305 exit
1306 resolution filter
1307 exit
1308 vrf-target target:64774:2508
1309 interface "to_STC" create
1310 address 10.4.18.1/30
1311 ipv6
1312 address fd00::418:1/126
1313 exit
1314 sap lag-10:1250.8 create
1315 exit
1316 exit
1317 bgp
1318 group "to_CE"
1319 neighbor 10.4.18.2
1320 peer-as 65508
1321 exit
1322 neighbor fd00::418:2
1323 peer-as 65508
1324 exit
1325 exit
1326 no shutdown
1327 exit
1328 no shutdown
1329 exit
1330 vprn 2509 customer 1 create
1331 vrf-export "PS_CE_EXPORT"
1332 router-id 10.4.40.2
1333 autonomous-system 65509
1334 route-distinguisher 0.0.1.5:2509
1335 auto-bind-tunnel
1336 resolution-filter
1337 sr-isis
1338 exit
1339 resolution filter
1340 exit
1341 vrf-target import target:64774:2509
1342 interface "to_Port_B" create
1343 address 10.4.40.2/30
1344 sap 6/2/5 create
1345 exit
1346 exit
1347 bgp
1348 disable-communities extended
1349 group "to_PE"
1350 neighbor 10.4.40.1
1351 import "PS_IMP_PE"
1352 export "PS_MPBGP-TO-BGP"
1353 local-as 65509
1354 peer-as 65510
1355 exit
1356 exit
1357 no shutdown
1358 exit
1359 no shutdown
1360 exit
1361 vprn 2510 customer 1 create
1362 description "VPRN 2510: PE emulation"
1363 vrf-export "PS_PE_EXPORT"
1364 router-id 10.4.40.1
1365 autonomous-system 65510
1366 route-distinguisher 0.0.1.5:2510
1367 auto-bind-tunnel
1368 resolution-filter
1369 sr-isis
1370 exit
1371 resolution filter
1372 exit
1373 vrf-target import target:64774:2510
1374 interface "to_Port_A" create
1375 address 10.4.40.1/30
1376 sap 6/2/6 create
1377 exit
1378 exit
1379 bgp
1380 disable-communities extended
1381 group "to_CE"
1382 neighbor 10.4.40.2
1383 export "PS_MPBGP-TO-BGP"
1384 local-as 65510
1385 peer-as 65509
1386 exit
1387 exit
1388 no shutdown
1389 exit
1390 no shutdown
1391 exit
1392 vprn 2990 customer 1 create
1393 description "NG-MVPN"
1394 route-distinguisher 0.0.1.5:2990
1395 auto-bind-tunnel
1396 resolution-filter
1397 sr-isis
1398 exit
1399 resolution filter
1400 exit
1401 vrf-target target:64774:2990
1402 interface "to_MCAST_Source1" create
1403 address 10.2.1.1/30
1404 sap 6/2/1:1252.10 create
1405 exit
1406 exit
1407 interface "to_MCAST_Source2" create
1408 address 10.2.2.1/30
1409 sap 6/2/1:1252.11 create
1410 exit
1411 exit
1412 interface "to_MCAST_Source3" create
1413 address 10.2.3.1/30
1414 sap 6/2/1:1252.12 create
1415 exit
1416 exit
1417 interface "to_MCAST_Source4" create
1418 address 10.2.4.1/30
1419 sap 6/2/1:1252.13 create
1420 exit
1421 exit
1422 pim
1423 interface "to_MCAST_Source1"
1424 exit
1425 interface "to_MCAST_Source2"
1426 exit
1427 interface "to_MCAST_Source3"
1428 exit
1429 interface "to_MCAST_Source4"
1430 exit
1431 rp
1432 static
1433 exit
1434 bsr-candidate
1435 shutdown
1436 exit
1437 rp-candidate
1438 shutdown
1439 exit
1440 exit
1441 no shutdown
1442 exit
1443 mvpn
1444 auto-discovery default
1445 c-mcast-signaling bgp
1446 provider-tunnel
1447 inclusive
1448 mldp
1449 no shutdown
1450 exit
1451 exit
1452 selective
1453 mldp
1454 no shutdown
1455 exit
1456 no auto-discovery-disable
1457 data-threshold 230.0.0.0/8 10
1458 exit
1459 exit
1460 vrf-target unicast
1461 exit
1462 exit
1463 no shutdown
1464 exit
1465 exit
1466#--------------------------------------------------
1467echo "Router (Service Side) Configuration"
1468#--------------------------------------------------
1469 router Base
1470#--------------------------------------------------
1471echo "ISIS Configuration"
1472#--------------------------------------------------
1473 isis 0
1474 no shutdown
1475 exit
1476#--------------------------------------------------
1477echo "Policy Configuration"
1478#--------------------------------------------------
1479 policy-options
1480 begin
1481 community "COM_CE" members "target:64774:2509"
1482 community "COM_PE" members "target:64774:2510"
1483 community "COM_L2504" members "64774:100"
1484 community "COM_EXT-2504" members "target:64774:2504"
1485 community "COM_L2504-300" members "64774:300"
1486 community "COM_L2504-500" members "64774:500"
1487 community "COM_NO-EXPORT" members "no-export"
1488 as-path "NULL" expression "null"
1489 policy-statement "PS_IMP_PE"
1490 entry 10
1491 from
1492 protocol bgp
1493 exit
1494 action accept
1495 as-path replace "NULL"
1496 exit
1497 exit
1498 exit
1499 policy-statement "PS_CE_EXPORT"
1500 entry 10
1501 from
1502 protocol bgp
1503 exit
1504 action accept
1505 community add "COM_CE"
1506 exit
1507 exit
1508 entry 20
1509 from
1510 protocol direct
1511 exit
1512 action accept
1513 community add "COM_CE"
1514 exit
1515 exit
1516 exit
1517 policy-statement "PS_PE_EXPORT"
1518 entry 10
1519 from
1520 protocol bgp
1521 exit
1522 action accept
1523 community add "COM_PE"
1524 exit
1525 exit
1526 entry 20
1527 from
1528 protocol direct
1529 exit
1530 action accept
1531 community add "COM_PE"
1532 exit
1533 exit
1534 exit
1535 policy-statement "PS_BGP-TO-MPBGP"
1536 entry 10
1537 from
1538 protocol bgp
1539 exit
1540 action accept
1541 exit
1542 exit
1543 exit
1544 policy-statement "PS_MPBGP-TO-BGP"
1545 entry 10
1546 from
1547 protocol bgp-vpn
1548 exit
1549 action accept
1550 exit
1551 exit
1552 exit
1553 policy-statement "PS_EXP_VPRN_2504"
1554 entry 5
1555 action next-entry
1556 community add "COM_EXT-2504"
1557 exit
1558 exit
1559 entry 10
1560 from
1561 protocol static
1562 exit
1563 action accept
1564 community add "COM_NO-EXPORT"
1565 origin igp
1566 exit
1567 exit
1568 entry 15
1569 action accept
1570 exit
1571 exit
1572 default-action accept
1573 exit
1574 exit
1575 policy-statement "PS_EXP_VRF2504_BGP"
1576 entry 10
1577 from
1578 community "COM_L2504-500"
1579 exit
1580 action accept
1581 community replace "COM_L2504-300"
1582 metric set 100
1583 exit
1584 exit
1585 default-action drop
1586 exit
1587 exit
1588 policy-statement "PS_IMP_VRF2504_BGP"
1589 entry 10
1590 from
1591 protocol bgp
1592 exit
1593 action accept
1594 as-path-prepend 64774 3
1595 community add "COM_L2504"
1596 local-preference 500
1597 exit
1598 exit
1599 exit
1600 commit
1601 exit
1602#--------------------------------------------------
1603echo "BGP Configuration"
1604#--------------------------------------------------
1605 bgp
1606 multipath 4
1607 rapid-withdrawal
1608 link-state-import-enable
1609 add-paths
1610 vpn-ipv4 send 16 receive
1611 vpn-ipv6 send 16 receive
1612 label-ipv4 send 16 receive
1613 label-ipv6 send 16 receive
1614 exit
1615 backup-path ipv4 ipv6 label-ipv4 label-ipv6
1616 error-handling
1617 update-fault-tolerance
1618 exit
1619 group "to_RR"
1620 family vpn-ipv4 vpn-ipv6 mvpn-ipv4 route-target mvpn-ipv6 evpn label-ipv4 label-ipv6 bgp-ls
1621 authentication-key "yvYQDulXv.ieJtaRU0US" hash2
1622 min-route-advertisement 5
1623 type internal
1624 path-mtu-discovery
1625 neighbor 10.0.2.1
1626 exit
1627 exit
1628 no shutdown
1629 exit
1630 exit
1631
1632#--------------------------------------------------
1633echo "Mirror Configuration"
1634#--------------------------------------------------
1635 mirror
1636 mirror-dest 66666 create
1637 sap lag-10:123.456 create
1638 exit
1639 no shutdown
1640 exit
1641 exit
1642
1643exit all
Editor
Original Text
Changed Text
Recommended videos