-1643 Removals
+658 Additions
exit all/configure system name "S-Edge"
configure/configure system selective-fib
#--------------------------------------------------/configure system time sntp shutdown
echo "System Configuration"/configure system time zone UTC
#--------------------------------------------------/configure system script-control script "save_config" location "cf3:\save_cfg.script"
system/configure system script-control script "save_config" no shutdown
name "S-Edge"/configure system script-control script-policy "Save_cfg_script-policy" results "cf3:\Script_results\save_cfg"
selective-fib/configure system script-control script-policy "Save_cfg_script-policy" script "save_config"
time/configure system script-control script-policy "Save_cfg_script-policy" no shutdown
sntp/configure system cron schedule "Save_config_job" interval 3600
shutdown/configure system cron schedule "Save_config_job" script-policy "Save_cfg_script-policy"
exit/configure system cron schedule "Save_config_job" no shutdown
zone UTC /configure system security user "admin" password "$2y$10$Gp99Bkz2P.GUK"
exit/configure system security user "admin" access console
script-control/configure system security user "admin" console member "administrative"
script "save_config"/configure system security user "andrej" password "$2y$10$D9oBRSC2GYAiixsILWFceqcbOzOI3wQxuDTBWzbOJKs6"
location "cf3:\save_cfg.script"/configure system security user "andrej" access console
no shutdown/configure system security user "andrej" console member "default"
exit/configure system security user "andrej" console member "administrative"
script-policy "Save_cfg_script-policy"/configure system security user "gilles" password "$2y$10$lb54LAzQ.i6.BQ635vXjV.xhDtpbrFM7A/vE7Xnw4KG"
results "cf3:\Script_results\save_cfg"/configure system security user "gilles" access console
script "save_config"/configure system security user "gilles" console member "default"
no shutdown/configure system security user "gilles" console member "administrative"
exit/configure system security ssh preserve-key
exit/configure system security per-peer-queuing
#--------------------------------------------------/configure system security keychain "ISIS_auth_keychain" description "Auth keychain for ISIS"
echo "Cron Configuration"/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
#--------------------------------------------------/configure system security keychain "ISIS_auth_keychain" no shutdown
cron/configure system security cpu-protection policy 254 create
schedule "Save_config_job"/configure system security cpu-protection policy 255 create
interval 3600/configure system security cpu-protection protocol-protection
script-policy "Save_cfg_script-policy"/configure system security dist-cpu-protection policy "_default-access-policy" create
no shutdown/configure system security dist-cpu-protection policy "_default-network-policy" create
exit/configure system security vprn-network-exceptions
exit/configure system login-control idle-timeout disable
exit/configure log log-id 78 from debug-trace
#--------------------------------------------------/configure log log-id 78 no shutdown
echo "System Security Configuration"/configure log log-id 90 from change
#--------------------------------------------------/configure log log-id 90 to memory 3000
system/configure log log-id 90 no shutdown
security/configure qos scheduler-policy "VPLS_adv_eg_scheduler_policy" create
user "admin"/configure qos scheduler-policy "VPLS_adv_ing_scheduler_policy" create
password "$2y$10$Gp99Bkz2P.GUK"/configure qos scheduler-policy "VPLS_egress_scheduler_policy" create tier 1 scheduler "VPLS_egress_t1_scheduler" create
access console /configure qos scheduler-policy "VPLS_ingress_scheduler_policy" create tier 1 scheduler "VPLS_ingress_t1_scheduler" create
console/configure qos scheduler-policy "VPWS_adv_egr_scheduler_policy" create
member "administrative"/configure qos scheduler-policy "VPWS_adv_ing_scheduler_policy" create
exit/configure qos scheduler-policy "VPWS_egress_scheduler_policy" create tier 1 scheduler "VPWS_egress_t1_scheduler" create
exit/configure qos scheduler-policy "VPWS_ingress_scheduler_policy" create tier 1 scheduler "VPWS_ingress_t1_scheduler" create
user "andrej"/configure connection-profile-vlan 1091 create description "test_profile_for_VPLS_1091"
password "$2y$10$D9oBRSC2GYAiixsILWFceqcbOzOI3wQxuDTBWzbOJKs6"/configure connection-profile-vlan 1091 vlan-range 101 to 104
access console /configure sfm 1 sfm-type m-sfm5-12e
console/configure sfm 1 no shutdown
member "default"/configure sfm 2 sfm-type m-sfm5-12e
member "administrative"/configure sfm 2 no shutdown
exit/configure sfm 3 sfm-type m-sfm5-12e
exit/configure sfm 3 no shutdown
user "gilles"/configure card 5 card-type iom4-e
password "$2y$10$lb54LAzQ.i6.BQ635vXjV.xhDtpbrFM7A/vE7Xnw4KG"/configure card 5 mda 1 mda-type me2-100gb-qsfp28
access console /configure card 5 mda 1 no shutdown
console/configure card 5 no shutdown
member "default"/configure card 6 card-type iom4-e
member "administrative"/configure card 6 mda 1 mda-type me2-100gb-qsfp28
exit/configure card 6 mda 1 no shutdown
exit/configure card 6 mda 2 mda-type me10-10gb-sfp+
ssh/configure card 6 mda 2 no shutdown
preserve-key/configure card 6 no shutdown
exit/configure port 5/1/1 description "to_TiC02lab02"
per-peer-queuing/configure port 5/1/1 ethernet encap-type dot1q
keychain "ISIS_auth_keychain"/configure port 5/1/1 ethernet lldp dest-mac nearest-bridge admin-status tx-rx
description "Auth keychain for ISIS"/configure port 5/1/1 ethernet lldp dest-mac nearest-bridge tx-tlvs port-desc sys-name sys-desc sys-cap
direction/configure port 5/1/1 no shutdown
bi/configure port 5/1/2 shutdown
entry 10 key "IOQHDf6BPLbm3KmtpvEKaN20/W5HU" hash2 algorithm hmac-sha-256/configure port 5/1/2 ethernet
begin-time 2017/07/31 00:00:00 UTC/configure port 6/1/1 description "to_TiC02lab01"
exit/configure port 6/1/1 ethernet encap-type dot1q
exit/configure port 6/1/1 ethernet lldp dest-mac nearest-bridge admin-status tx-rx
exit/configure port 6/1/1 ethernet lldp dest-mac nearest-bridge tx-tlvs port-desc sys-name sys-desc sys-cap
no shutdown/configure port 6/1/1 no shutdown
exit/configure port 6/1/2 shutdown
cpu-protection/configure port 6/1/2 ethernet
policy 254 create/configure port 6/2/1 description "to_STC-P8"
exit/configure port 6/2/1 ethernet mode access
policy 255 create/configure port 6/2/1 ethernet encap-type qinq
exit/configure port 6/2/1 no otu
protocol-protection /configure port 6/2/1 no shutdown
exit/configure port 6/2/2 description "to_STC_Port_6"
dist-cpu-protection/configure port 6/2/2 ethernet mode access
policy "_default-access-policy" create/configure port 6/2/2 ethernet encap-type qinq
exit/configure port 6/2/2 no otu
policy "_default-network-policy" create/configure port 6/2/2 no shutdown
exit/configure port 6/2/3 description "to_STC_Port_5"
exit/configure port 6/2/3 ethernet mode access
vprn-network-exceptions/configure port 6/2/3 ethernet encap-type qinq
exit/configure port 6/2/3 no otu
exit/configure port 6/2/3 no shutdown
#--------------------------------------------------/configure port 6/2/4 shutdown
echo "System Login Control Configuration"/configure port 6/2/4 ethernet
#--------------------------------------------------/configure port 6/2/4 no otu
system/configure port 6/2/5 description "LOOP_TO_6/2/6"
login-control/configure port 6/2/5 ethernet mode access
idle-timeout disable/configure port 6/2/5 ethernet lldp dest-mac nearest-bridge admin-status tx-rx
exit/configure port 6/2/5 ethernet lldp dest-mac nearest-bridge tx-tlvs port-desc sys-name sys-desc sys-cap
exit/configure port 6/2/5 no otu
#--------------------------------------------------/configure port 6/2/5 no shutdown
echo "Log Configuration"/configure port 6/2/6 description "LOOP_TO_6/2/5"
#--------------------------------------------------/configure port 6/2/6 ethernet mode access
log /configure port 6/2/6 ethernet lldp dest-mac nearest-bridge admin-status tx-rx
log-id 78/configure port 6/2/6 ethernet lldp dest-mac nearest-bridge tx-tlvs port-desc sys-name sys-desc sys-cap
from debug-trace /configure port 6/2/6 no otu
no shutdown/configure port 6/2/6 no shutdown
exit/configure port 6/2/7 shutdown
log-id 90/configure port 6/2/7 ethernet
from change /configure port 6/2/7 no otu
to memory 3000/configure port 6/2/8 shutdown
no shutdown/configure port 6/2/8 ethernet
exit/configure port 6/2/8 no otu
exit /configure port 6/2/9 shutdown
#--------------------------------------------------/configure port 6/2/9 ethernet encap-type dot1q
echo "QoS Policy Configuration"/configure port 6/2/9 ethernet lldp dest-mac nearest-bridge admin-status tx-rx
#--------------------------------------------------/configure port 6/2/9 ethernet lldp dest-mac nearest-bridge tx-tlvs port-desc sys-name sys-desc sys-cap
qos/configure port 6/2/9 no otu
scheduler-policy "VPLS_adv_eg_scheduler_policy" create/configure port 6/2/10 shutdown
exit/configure port 6/2/10 ethernet encap-type dot1q
scheduler-policy "VPLS_adv_ing_scheduler_policy" create/configure port 6/2/10 ethernet lldp dest-mac nearest-bridge admin-status tx-rx
exit/configure port 6/2/10 ethernet lldp dest-mac nearest-bridge tx-tlvs port-desc sys-name sys-desc sys-cap
scheduler-policy "VPLS_egress_scheduler_policy" create/configure port 6/2/10 no otu
tier 1/configure system sync-if-timing begin
scheduler "VPLS_egress_t1_scheduler" create/configure system sync-if-timing commit
exit/configure lag 10 description "to_STC_P5_P6"
exit/configure lag 10 mode access
exit/configure lag 10 encap-type qinq
scheduler-policy "VPLS_ingress_scheduler_policy" create/configure lag 10 port 6/2/2
tier 1/configure lag 10 port 6/2/3
scheduler "VPLS_ingress_t1_scheduler" create/configure lag 10 no shutdown
exit/configure redundancy bgp-evpn-multi-homing boot-timer 90
exit/configure qos sap-ingress 5001 create policy-name "VPWS_4-class_policy"
exit/configure qos sap-ingress 5001 description "VPWS 4-class sap-ingress policy"
scheduler-policy "VPWS_adv_egr_scheduler_policy" create/configure qos sap-ingress 5001 queue 1 create parent "VPWS_ingress_t1_scheduler" weight 20
exit/configure qos sap-ingress 5001 queue 4 create parent "VPWS_ingress_t1_scheduler" weight 80
scheduler-policy "VPWS_adv_ing_scheduler_policy" create/configure qos sap-ingress 5001 queue 5 create parent "VPWS_ingress_t1_scheduler" level 5 cir-level 5
exit/configure qos sap-ingress 5001 queue 5 percent-rate 40.00 cir 40.00 local-limit
scheduler-policy "VPWS_egress_scheduler_policy" create/configure qos sap-ingress 5001 queue 6 create parent "VPWS_ingress_t1_scheduler" level 6 cir-level 6
tier 1/configure qos sap-ingress 5001 queue 6 percent-rate 10.00 cir 10.00 local-limit
scheduler "VPWS_egress_t1_scheduler" create/configure qos sap-ingress 5001 queue 11 multipoint create
exit/configure qos sap-ingress 5001 fc "be" create queue 1
exit/configure qos sap-ingress 5001 fc "ef" create queue 6
exit/configure qos sap-ingress 5001 fc "h2" create queue 5
scheduler-policy "VPWS_ingress_scheduler_policy" create/configure qos sap-ingress 5001 fc "l1" create queue 4
tier 1/configure qos sap-ingress 5001 dot1p 0 fc "be"
scheduler "VPWS_ingress_t1_scheduler" create/configure qos sap-ingress 5001 dot1p 3 fc "l1"
exit/configure qos sap-ingress 5001 dot1p 4 fc "h2"
exit/configure qos sap-ingress 5001 dot1p 5 fc "ef"
exit/configure qos sap-ingress 5002 create queue 1 create
exit/configure qos sap-ingress 5002 create queue 11 multipoint create
#--------------------------------------------------/configure qos sap-ingress 6001 create policy-name "VPLS_4-class_policy"
echo "Connection Profile Vlan Configuration"/configure qos sap-ingress 6001 description "VPLS 4-class sap-ingress policy"
#--------------------------------------------------/configure qos sap-ingress 6001 queue 1 create parent "VPLS_ingress_t1_scheduler" weight 20
connection-profile-vlan 1091 create/configure qos sap-ingress 6001 queue 4 create parent "VPLS_ingress_t1_scheduler" weight 80
description "test_profile_for_VPLS_1091"/configure qos sap-ingress 6001 queue 5 create parent "VPLS_ingress_t1_scheduler" level 5 cir-level 5
vlan-range 101 to 104/configure qos sap-ingress 6001 queue 5 percent-rate 40.00 cir 40.00 local-limit
exit/configure qos sap-ingress 6001 queue 6 create parent "VPLS_ingress_t1_scheduler" level 6 cir-level 6
#--------------------------------------------------/configure qos sap-ingress 6001 queue 6 percent-rate 10.00 cir 10.00 local-limit
echo "Switch Fabric Configuration"/configure qos sap-ingress 6001 queue 11 multipoint create parent "VPLS_ingress_t1_scheduler" weight 20
#--------------------------------------------------/configure qos sap-ingress 6001 queue 14 multipoint create parent "VPLS_ingress_t1_scheduler" weight 80
sfm 1/configure qos sap-ingress 6001 queue 15 multipoint create parent "VPLS_ingress_t1_scheduler" level 5 cir-level 5
sfm-type m-sfm5-12e/configure qos sap-ingress 6001 queue 16 multipoint create parent "VPLS_ingress_t1_scheduler" level 6 cir-level 6
no shutdown/configure qos sap-ingress 6001 fc "be" create queue 1
exit/configure qos sap-ingress 6001 fc "be" broadcast-queue 11
sfm 2/configure qos sap-ingress 6001 fc "be" multicast-queue 11
sfm-type m-sfm5-12e/configure qos sap-ingress 6001 fc "be" unknown-queue 11
no shutdown/configure qos sap-ingress 6001 fc "ef" create queue 6
exit/configure qos sap-ingress 6001 fc "ef" broadcast-queue 16
sfm 3/configure qos sap-ingress 6001 fc "ef" multicast-queue 16
sfm-type m-sfm5-12e/configure qos sap-ingress 6001 fc "ef" unknown-queue 16
no shutdown/configure qos sap-ingress 6001 fc "h2" create queue 5
exit/configure qos sap-ingress 6001 fc "h2" broadcast-queue 15
#--------------------------------------------------/configure qos sap-ingress 6001 fc "h2" multicast-queue 15
echo "Card Configuration"/configure qos sap-ingress 6001 fc "h2" unknown-queue 15
#--------------------------------------------------/configure qos sap-ingress 6001 fc "l1" create queue 4
card 5/configure qos sap-ingress 6001 fc "l1" broadcast-queue 14
card-type iom4-e/configure qos sap-ingress 6001 fc "l1" multicast-queue 14
mda 1/configure qos sap-ingress 6001 fc "l1" unknown-queue 14
mda-type me2-100gb-qsfp28/configure qos sap-ingress 6001 dot1p 0 fc "be"
no shutdown/configure qos sap-ingress 6001 dot1p 3 fc "l1"
exit/configure qos sap-ingress 6001 dot1p 4 fc "h2"
no shutdown/configure qos sap-ingress 6001 dot1p 5 fc "ef"
exit/configure qos sap-egress 5001 create policy-name "VPWS_4-class_policy"
card 6/configure qos sap-egress 5001 description "VPWS 4-class sap-egress policy"
card-type iom4-e/configure qos sap-egress 5001 queue 1 create parent "VPWS_egress_t1_scheduler" weight 20
mda 1/configure qos sap-egress 5001 queue 4 create parent "VPWS_egress_t1_scheduler" weight 80
mda-type me2-100gb-qsfp28/configure qos sap-egress 5001 queue 5 create parent "VPWS_egress_t1_scheduler" level 5 cir-level 5
no shutdown/configure qos sap-egress 5001 queue 5 percent-rate 40.00 cir 40.00 local-limit
exit/configure qos sap-egress 5001 queue 6 create parent "VPWS_egress_t1_scheduler" level 6 cir-level 6
mda 2/configure qos sap-egress 5001 queue 6 percent-rate 10.00 cir 10.00 local-limit
mda-type me10-10gb-sfp+/configure qos sap-egress 5001 fc be create queue 1
no shutdown/configure qos sap-egress 5001 fc ef create queue 6
exit/configure qos sap-egress 5001 fc h2 create queue 5
no shutdown/configure qos sap-egress 5001 fc l1 create queue 4
exit/configure qos sap-egress 5002 create queue 1 create
#--------------------------------------------------/configure qos sap-egress 6001 create policy-name "VPLS_4-class_policy"
echo "Port Configuration"/configure qos sap-egress 6001 description "VPLS 4-class sap-egress policy"
#--------------------------------------------------/configure qos sap-egress 6001 queue 1 create parent "VPLS_egress_t1_scheduler" weight 20
port 5/1/1/configure qos sap-egress 6001 queue 4 create parent "VPLS_egress_t1_scheduler" weight 80
description "to_TiC02lab02"/configure qos sap-egress 6001 queue 5 create parent "VPLS_egress_t1_scheduler" level 5 cir-level 5
ethernet/configure qos sap-egress 6001 queue 5 percent-rate 40.00 cir 40.00 local-limit
encap-type dot1q/configure qos sap-egress 6001 queue 6 create parent "VPLS_egress_t1_scheduler" level 6 cir-level 6
lldp/configure qos sap-egress 6001 queue 6 percent-rate 10.00 cir 10.00 local-limit
dest-mac nearest-bridge/configure qos sap-egress 6001 fc be create queue 1
admin-status tx-rx/configure qos sap-egress 6001 fc ef create queue 6
tx-tlvs port-desc sys-name sys-desc sys-cap/configure qos sap-egress 6001 fc h2 create queue 5
exit/configure qos sap-egress 6001 fc l1 create queue 4
exit/configure router management
exit/configure router Base interface "system" address 10.0.1.5/32
no shutdown/configure router Base interface "system" ipv6 address fd00::1:5/128
exit/configure router Base interface "system" no shutdown
port 5/1/2/configure router Base interface "to_TiC02lab01" address 2.0.0.8/31
shutdown/configure router Base interface "to_TiC02lab01" port 6/1/1:0
ethernet/configure router Base interface "to_TiC02lab01" ipv6
exit/configure router Base interface "to_TiC02lab01" bfd 100 receive 100 multiplier 3 type cpm-np
exit/configure router Base interface "to_TiC02lab01" no shutdown
port 6/1/1/configure router Base interface "to_TiC02lab02" address 2.0.0.10/31
description "to_TiC02lab01"/configure router Base interface "to_TiC02lab02" port 5/1/1:0
ethernet/configure router Base interface "to_TiC02lab02" ipv6
encap-type dot1q/configure router Base interface "to_TiC02lab02" bfd 100 receive 100 multiplier 3 type cpm-np
lldp/configure router Base interface "to_TiC02lab02" no shutdown
dest-mac nearest-bridge/configure router Base autonomous-system 64774
admin-status tx-rx/configure router Base ecmp 8
tx-tlvs port-desc sys-name sys-desc sys-cap/configure router Base ip-fast-reroute
exit/configure router Base mpls-labels sr-labels start 20000 end 20999
exit/configure router Base isis 0 level-capability level-2
exit/configure router Base isis 0 area-id 49.0000
no shutdown/configure router Base isis 0 auth-keychain ISIS_auth_keychain
exit/configure router Base isis 0 database-export
port 6/1/2/configure router Base isis 0 traffic-engineering
shutdown/configure router Base isis 0 reference-bandwidth 1000000000
ethernet/configure router Base isis 0 advertise-passive-only
exit/configure router Base isis 0 advertise-router-capability area
exit/configure router Base isis 0 loopfree-alternate remote-lfa ti-lfa max-sr-frr-labels 3
port 6/2/1/configure router Base isis 0 ipv6-routing native
description "to_STC-P8"/configure router Base isis 0 timers lsp-wait 1000 lsp-initial-wait 10 lsp-second-wait 100
ethernet/configure router Base isis 0 timers spf-wait 1000 spf-initial-wait 10 spf-second-wait 100
mode access/configure router Base isis 0 level 2 wide-metrics-only
encap-type qinq/configure router Base isis 0 interface "system" ipv4-node-sid index 5
exit/configure router Base isis 0 interface "system" ipv6-node-sid index 105
no otu/configure router Base isis 0 interface "system" passive
no shutdown/configure router Base isis 0 interface "system" no shutdown
exit/configure router Base isis 0 interface "to_TiC02lab01" interface-type point-to-point
port 6/2/2/configure router Base isis 0 interface "to_TiC02lab01" bfd-enable ipv4 include-bfd-tlv
description "to_STC_Port_6"/configure router Base isis 0 interface "to_TiC02lab01" no shutdown
ethernet/configure router Base isis 0 interface "to_TiC02lab02" interface-type point-to-point
mode access/configure router Base isis 0 interface "to_TiC02lab02" bfd-enable ipv4 include-bfd-tlv
encap-type qinq/configure router Base isis 0 interface "to_TiC02lab02" no shutdown
exit/configure router Base isis 0 segment-routing prefix-sid-range global
no otu/configure router Base isis 0 segment-routing tunnel-table-pref 8
no shutdown/configure router Base isis 0 segment-routing no shutdown
exit/configure router Base isis 0 no shutdown
port 6/2/3/configure router Base mpls interface "system" no shutdown
description "to_STC_Port_5"/configure router Base mpls interface "to_TiC02lab01" no shutdown
ethernet/configure router Base mpls interface "to_TiC02lab02" no shutdown
mode access/configure router Base rsvp shutdown
encap-type qinq/configure router Base rsvp interface "system" no shutdown
exit/configure router Base rsvp interface "to_TiC02lab01" no shutdown
no otu/configure router Base rsvp interface "to_TiC02lab02" no shutdown
no shutdown/configure router Base mpls no shutdown
exit/configure router Base ldp interface-parameters interface "to_TiC02lab01" dual-stack ipv4 no shutdown
port 6/2/4/configure router Base ldp interface-parameters interface "to_TiC02lab01" dual-stack no shutdown
shutdown/configure router Base ldp interface-parameters interface "to_TiC02lab02" dual-stack ipv4 no shutdown
ethernet/configure router Base ldp interface-parameters interface "to_TiC02lab02" dual-stack no shutdown
exit/configure router Base ldp targeted-session
no otu/configure router Base ldp no shutdown
exit/configure service sdp 1001 mpls create description "to_Ti2lab01"
port 6/2/5/configure service sdp 1001 mpls far-end 10.0.1.1
description "LOOP_TO_6/2/6"/configure service sdp 1001 mpls sr-isis
ethernet/configure service sdp 1001 mpls keep-alive shutdown
mode access/configure service sdp 1001 mpls no shutdown
lldp/configure service customer 1 create description "Default customer"
dest-mac nearest-bridge/configure service system bgp-evpn route-distinguisher 0.1.0.5:0
admin-status tx-rx/configure service system bgp-evpn ethernet-segment "STC_P5-7" create esi 00:10:00:00:00:00:00:00:00:01
tx-tlvs port-desc sys-name sys-desc sys-cap/configure service system bgp-evpn ethernet-segment "STC_P5-7" service-carving mode manual
exit/configure service system bgp-evpn ethernet-segment "STC_P5-7" service-carving manual evi 1 to 700
exit/configure service system bgp-evpn ethernet-segment "STC_P5-7" multi-homing single-active
exit/configure service system bgp-evpn ethernet-segment "STC_P5-7" lag 10
no otu/configure service system bgp-evpn ethernet-segment "STC_P5-7" no shutdown
no shutdown/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
exit/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_AA" virtual service-carving mode manual
port 6/2/6/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_AA" virtual multi-homing all-active
description "LOOP_TO_6/2/5"/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_AA" virtual shutdown
ethernet/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
mode access/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_SA" virtual service-carving mode manual
lldp/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_SA" virtual multi-homing single-active
dest-mac nearest-bridge/configure service system bgp-evpn ethernet-segment "STC_P5-7_virtal_SA" virtual shutdown
admin-status tx-rx/configure service vprn 2501 customer 1 create interface "to_STC" create
tx-tlvs port-desc sys-name sys-desc sys-cap/configure service vprn 2502 customer 1 create interface "to_STC" create
exit/configure service vprn 2503 customer 1 create interface "to_STC" create
exit/configure service vprn 2504 customer 1 create interface "to_STC" create
exit/configure service vprn 2505 customer 1 create interface "to_STC" create
no otu/configure service vprn 2506 customer 1 create interface "to_STC" create
no shutdown/configure service vprn 2507 customer 1 create interface "to_STC" create
exit/configure service vprn 2508 customer 1 create interface "to_STC" create
port 6/2/7/configure service vprn 2509 customer 1 create interface "to_Port_B" create
shutdown/configure service vprn 2510 customer 1 create interface "to_Port_A" create
ethernet/configure service vprn 2990 customer 1 create interface "to_MCAST_Source1" create
exit/configure service vprn 2990 customer 1 create interface "to_MCAST_Source2" create
no otu/configure service vprn 2990 customer 1 create interface "to_MCAST_Source3" create
exit/configure service vprn 2990 customer 1 create interface "to_MCAST_Source4" create
port 6/2/8/configure service epipe 1 customer 1 create bgp route-distinguisher 0.1.0.5:1
shutdown/configure service epipe 1 bgp-evpn local-ac-name "S_ac" eth-tag 1001101
ethernet/configure service epipe 1 bgp-evpn remote-ac-name "L_ac" eth-tag 11
exit/configure service epipe 1 bgp-evpn evi 1
no otu/configure service epipe 1 bgp-evpn mpls control-word
exit/configure service epipe 1 bgp-evpn mpls force-vlan-vc-forwarding
port 6/2/9/configure service epipe 1 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
shutdown/configure service epipe 1 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
ethernet/configure service epipe 1 bgp-evpn mpls auto-bind-tunnel resolution filter
encap-type dot1q/configure service epipe 1 bgp-evpn mpls no shutdown
lldp/configure service epipe 1 service-name "EVPN_VPWS_1"
dest-mac nearest-bridge/configure service epipe 1 sap lag-10:1001.101 create ingress scheduler-policy "VPWS_ingress_scheduler_policy"
admin-status tx-rx/configure service epipe 1 sap lag-10:1001.101 create ingress qos 5001
tx-tlvs port-desc sys-name sys-desc sys-cap/configure service epipe 1 sap lag-10:1001.101 egress scheduler-policy "VPWS_egress_scheduler_policy"
exit/configure service epipe 1 sap lag-10:1001.101 egress qos 5001
exit/configure service epipe 1 sap lag-10:1001.101 no shutdown
exit/configure service epipe 1 no shutdown
no otu/configure service epipe 801 customer 1 create bgp route-distinguisher 0.1.0.5:801
exit/configure service epipe 801 bgp-evpn local-ac-name "S_ac" eth-tag 1090101
port 6/2/10/configure service epipe 801 bgp-evpn remote-ac-name "L_ac" eth-tag 901
shutdown/configure service epipe 801 bgp-evpn evi 801
ethernet/configure service epipe 801 bgp-evpn mpls control-word
encap-type dot1q/configure service epipe 801 bgp-evpn mpls force-vlan-vc-forwarding
lldp/configure service epipe 801 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
dest-mac nearest-bridge/configure service epipe 801 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
admin-status tx-rx/configure service epipe 801 bgp-evpn mpls auto-bind-tunnel resolution filter
tx-tlvs port-desc sys-name sys-desc sys-cap/configure service epipe 801 bgp-evpn mpls no shutdown
exit/configure service epipe 801 service-name "EVPN_VPWS_801"
exit/configure service epipe 801 sap lag-10:1090.101 create ingress scheduler-policy "VPWS_adv_ing_scheduler_policy"
exit/configure service epipe 801 sap lag-10:1090.101 create ingress qos 5002
no otu/configure service epipe 801 sap lag-10:1090.101 egress scheduler-policy "VPWS_adv_egr_scheduler_policy"
exit/configure service epipe 801 sap lag-10:1090.101 egress qos 5002
#--------------------------------------------------/configure service epipe 801 sap lag-10:1090.101 no shutdown
echo "System Sync-If-Timing Configuration"/configure service epipe 801 no shutdown
#--------------------------------------------------/configure service epipe 802 customer 1 create bgp route-distinguisher 0.1.0.5:802
system/configure service epipe 802 bgp-evpn local-ac-name "S_ac" eth-tag 1090102
sync-if-timing/configure service epipe 802 bgp-evpn remote-ac-name "L_ac" eth-tag 902
begin/configure service epipe 802 bgp-evpn evi 802
commit/configure service epipe 802 bgp-evpn mpls control-word
exit/configure service epipe 802 bgp-evpn mpls force-vlan-vc-forwarding
exit/configure service epipe 802 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
#--------------------------------------------------/configure service epipe 802 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
echo "LAG Configuration"/configure service epipe 802 bgp-evpn mpls auto-bind-tunnel resolution filter
#--------------------------------------------------/configure service epipe 802 bgp-evpn mpls no shutdown
lag 10/configure service epipe 802 service-name "EVPN_VPWS_802"
description "to_STC_P5_P6"/configure service epipe 802 sap lag-10:1090.102 create ingress scheduler-policy "VPWS_adv_ing_scheduler_policy"
mode access/configure service epipe 802 sap lag-10:1090.102 create ingress qos 5002
encap-type qinq/configure service epipe 802 sap lag-10:1090.102 egress scheduler-policy "VPWS_adv_egr_scheduler_policy"
port 6/2/2 /configure service epipe 802 sap lag-10:1090.102 egress qos 5002
port 6/2/3 /configure service epipe 802 sap lag-10:1090.102 no shutdown
no shutdown/configure service epipe 802 no shutdown
exit/configure service epipe 803 customer 1 create bgp route-distinguisher 0.1.0.5:803
#--------------------------------------------------/configure service epipe 803 bgp-evpn local-ac-name "S_ac" eth-tag 1090103
echo "Redundancy Configuration"/configure service epipe 803 bgp-evpn remote-ac-name "L_ac" eth-tag 903
#--------------------------------------------------/configure service epipe 803 bgp-evpn evi 803
redundancy /configure service epipe 803 bgp-evpn mpls control-word
bgp-evpn-multi-homing/configure service epipe 803 bgp-evpn mpls force-vlan-vc-forwarding
boot-timer 90/configure service epipe 803 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
exit/configure service epipe 803 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
exit /configure service epipe 803 bgp-evpn mpls auto-bind-tunnel resolution filter
#--------------------------------------------------/configure service epipe 803 bgp-evpn mpls no shutdown
echo "QoS Policy Configuration"/configure service epipe 803 service-name "EVPN_VPWS_803"
#--------------------------------------------------/configure service epipe 803 sap lag-10:1090.103 create ingress scheduler-policy "VPWS_adv_ing_scheduler_policy"
qos/configure service epipe 803 sap lag-10:1090.103 create ingress qos 5002
sap-ingress 5001 create/configure service epipe 803 sap lag-10:1090.103 egress scheduler-policy "VPWS_adv_egr_scheduler_policy"
policy-name "VPWS_4-class_policy"/configure service epipe 803 sap lag-10:1090.103 egress qos 5002
description "VPWS 4-class sap-ingress policy"/configure service epipe 803 sap lag-10:1090.103 no shutdown
queue 1 create/configure service epipe 803 no shutdown
parent "VPWS_ingress_t1_scheduler" weight 20/configure service epipe 804 customer 1 create bgp route-distinguisher 0.1.0.5:804
exit/configure service epipe 804 bgp-evpn local-ac-name "S_ac" eth-tag 1090104
queue 4 create/configure service epipe 804 bgp-evpn remote-ac-name "L_ac" eth-tag 904
parent "VPWS_ingress_t1_scheduler" weight 80/configure service epipe 804 bgp-evpn evi 804
exit/configure service epipe 804 bgp-evpn mpls control-word
queue 5 create/configure service epipe 804 bgp-evpn mpls force-vlan-vc-forwarding
parent "VPWS_ingress_t1_scheduler" level 5 cir-level 5/configure service epipe 804 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
percent-rate 40.00 cir 40.00 local-limit/configure service epipe 804 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
exit/configure service epipe 804 bgp-evpn mpls auto-bind-tunnel resolution filter
queue 6 create/configure service epipe 804 bgp-evpn mpls no shutdown
parent "VPWS_ingress_t1_scheduler" level 6 cir-level 6/configure service epipe 804 service-name "EVPN_VPWS_804"
percent-rate 10.00 cir 10.00 local-limit/configure service epipe 804 sap lag-10:1090.104 create ingress scheduler-policy "VPWS_adv_ing_scheduler_policy"
exit/configure service epipe 804 sap lag-10:1090.104 create ingress qos 5002
queue 11 multipoint create/configure service epipe 804 sap lag-10:1090.104 egress scheduler-policy "VPWS_adv_egr_scheduler_policy"
exit/configure service epipe 804 sap lag-10:1090.104 egress qos 5002
fc "be" create/configure service epipe 804 sap lag-10:1090.104 no shutdown
queue 1/configure service epipe 804 no shutdown
exit/configure service vpls 1001 customer 1 create selective-learned-fdb
fc "ef" create/configure service vpls 1001 fdb-table-size 10000
queue 6/configure service vpls 1001 split-horizon-group "SHG_1" create
exit/configure service vpls 1001 bgp route-distinguisher 0.1.0.5:1001
fc "h2" create/configure service vpls 1001 bgp-evpn evi 1001
queue 5/configure service vpls 1001 bgp-evpn mac-duplication black-hole-dup-mac
exit/configure service vpls 1001 bgp-evpn vxlan shutdown
fc "l1" create/configure service vpls 1001 bgp-evpn mpls control-word
queue 4/configure service vpls 1001 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
exit/configure service vpls 1001 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
dot1p 0 fc "be"/configure service vpls 1001 bgp-evpn mpls auto-bind-tunnel resolution filter
dot1p 3 fc "l1"/configure service vpls 1001 bgp-evpn mpls no shutdown
dot1p 4 fc "h2"/configure service vpls 1001 stp shutdown
dot1p 5 fc "ef"/configure service vpls 1001 service-name "EVPN_VPLS_1001"
exit/configure service vpls 1001 sap lag-10:1101.1 split-horizon-group "SHG_1" create ingress scheduler-policy "VPLS_ingress_scheduler_policy"
sap-ingress 5002 create/configure service vpls 1001 sap lag-10:1101.1 split-horizon-group "SHG_1" create ingress qos 6001
queue 1 create/configure service vpls 1001 sap lag-10:1101.1 split-horizon-group "SHG_1" egress scheduler-policy "VPLS_egress_scheduler_policy"
exit/configure service vpls 1001 sap lag-10:1101.1 split-horizon-group "SHG_1" egress qos 6001
queue 11 multipoint create/configure service vpls 1001 sap lag-10:1101.1 split-horizon-group "SHG_1" no shutdown
exit/configure service vpls 1001 mac-move no shutdown
exit/configure service vpls 1001 no shutdown
sap-ingress 6001 create/configure service vpls 1091 customer 1 create selective-learned-fdb
policy-name "VPLS_4-class_policy"/configure service vpls 1091 fdb-table-size 10000
description "VPLS 4-class sap-ingress policy"/configure service vpls 1091 split-horizon-group "SHG_1" create
queue 1 create/configure service vpls 1091 bgp route-distinguisher 0.1.0.5:1091
parent "VPLS_ingress_t1_scheduler" weight 20/configure service vpls 1091 bgp-evpn evi 1091
exit/configure service vpls 1091 bgp-evpn mac-duplication black-hole-dup-mac
queue 4 create/configure service vpls 1091 bgp-evpn vxlan shutdown
parent "VPLS_ingress_t1_scheduler" weight 80/configure service vpls 1091 bgp-evpn mpls control-word
exit/configure service vpls 1091 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-isis
queue 5 create/configure service vpls 1091 bgp-evpn mpls auto-bind-tunnel resolution-filter sr-te
parent "VPLS_ingress_t1_scheduler" level 5 cir-level 5/configure service vpls 1091 bgp-evpn mpls auto-bind-tunnel resolution filter
percent-rate 40.00 cir 40.00 local-limit/configure service vpls 1091 bgp-evpn mpls no shutdown
exit/configure service vpls 1091 stp shutdown
queue 6 create/configure service vpls 1091 service-name "EVPN_VPLS_1091"
parent "VPLS_ingress_t1_scheduler" level 6 cir-level 6/configure service vpls 1091 sap lag-10:1190.cp-1091 create no shutdown
percent-rate 10.00 cir 10.00 local-limit/configure service vpls 1091 mac-move no shutdown
exit/configure service vpls 1091 no shutdown
queue 11 multipoint create/configure service vprn 2501 customer 1 create autonomous-system 64774
parent "VPLS_ingress_t1_scheduler" weight 20/configure service vprn 2501 route-distinguisher 0.0.1.5:2501
exit/configure service vprn 2501 auto-bind-tunnel resolution-filter sr-isis
queue 14 multipoint create/configure service vprn 2501 auto-bind-tunnel resolution filter
parent "VPLS_ingress_t1_scheduler" weight 80/configure service vprn 2501 vrf-target target:64774:2501
exit/configure service vprn 2501 interface "to_STC" create address 10.4.11.1/30
queue 15 multipoint create/configure service vprn 2501 interface "to_STC" ipv6 address fd00::411:1/126
parent "VPLS_ingress_t1_scheduler" level 5 cir-level 5/configure service vprn 2501 interface "to_STC" sap lag-10:1250.1 create
exit/configure service vprn 2501 bgp group "to_CE" neighbor 10.4.11.2 prefix-limit ipv4 1000
queue 16 multipoint create/configure service vprn 2501 bgp group "to_CE" neighbor 10.4.11.2 prefix-limit ipv6 1000
parent "VPLS_ingress_t1_scheduler" level 6 cir-level 6/configure service vprn 2501 bgp group "to_CE" neighbor 10.4.11.2 peer-as 65501
exit/configure service vprn 2501 bgp group "to_CE" neighbor fd00::411:2 prefix-limit ipv4 1000
fc "be" create/configure service vprn 2501 bgp group "to_CE" neighbor fd00::411:2 prefix-limit ipv6 1000
queue 1/configure service vprn 2501 bgp group "to_CE" neighbor fd00::411:2 peer-as 65501
broadcast-queue 11/configure service vprn 2501 bgp no shutdown
multicast-queue 11/configure service vprn 2501 no shutdown
unknown-queue 11/configure service vprn 2502 customer 1 create autonomous-system 64774
exit/configure service vprn 2502 route-distinguisher 0.0.1.5:2502
fc "ef" create/configure service vprn 2502 auto-bind-tunnel resolution-filter sr-isis
queue 6/configure service vprn 2502 auto-bind-tunnel resolution filter
broadcast-queue 16/configure service vprn 2502 vrf-target export target:64774:42502 import target:64774:2502
multicast-queue 16/configure service vprn 2502 interface "to_STC" create address 10.4.12.1/30
unknown-queue 16/configure service vprn 2502 interface "to_STC" ipv6 address fd00::412:1/126
exit/configure service vprn 2502 interface "to_STC" sap lag-10:1250.2 create
fc "h2" create/configure service vprn 2502 bgp group "to_CE" neighbor 10.4.12.2 prefix-limit ipv4 1000
queue 5/configure service vprn 2502 bgp group "to_CE" neighbor 10.4.12.2 prefix-limit ipv6 1000
broadcast-queue 15/configure service vprn 2502 bgp group "to_CE" neighbor 10.4.12.2 peer-as 65502
multicast-queue 15/configure service vprn 2502 bgp group "to_CE" neighbor fd00::412:2 prefix-limit ipv4 1000
unknown-queue 15/configure service vprn 2502 bgp group "to_CE" neighbor fd00::412:2 prefix-limit ipv6 1000
exit/configure service vprn 2502 bgp group "to_CE" neighbor fd00::412:2 peer-as 65502
fc "l1" create/configure service vprn 2502 bgp no shutdown
queue 4/configure service vprn 2502 no shutdown
broadcast-queue 14/configure service vprn 2503 customer 1 create autonomous-system 64774
multicast-queue 14/configure service vprn 2503 route-distinguisher 0.0.1.5:2503
unknown-queue 14/configure service vprn 2503 auto-bind-tunnel resolution-filter sr-isis
exit/configure service vprn 2503 auto-bind-tunnel resolution filter
dot1p 0 fc "be"/configure service vprn 2503 vrf-target export target:64774:42503 import target:64774:2503
dot1p 3 fc "l1"/configure service vprn 2503 interface "to_STC" create address 10.4.13.1/30
dot1p 4 fc "h2"/configure service vprn 2503 interface "to_STC" ipv6 address fd00::413:1/126
dot1p 5 fc "ef"/configure service vprn 2503 interface "to_STC" sap lag-10:1250.3 create
exit/configure service vprn 2503 bgp group "to_CE" neighbor 10.4.13.2 prefix-limit ipv4 1000
sap-egress 5001 create/configure service vprn 2503 bgp group "to_CE" neighbor 10.4.13.2 prefix-limit ipv6 1000
policy-name "VPWS_4-class_policy"/configure service vprn 2503 bgp group "to_CE" neighbor 10.4.13.2 peer-as 65503
description "VPWS 4-class sap-egress policy"/configure service vprn 2503 bgp group "to_CE" neighbor fd00::413:2 prefix-limit ipv4 1000
queue 1 create/configure service vprn 2503 bgp group "to_CE" neighbor fd00::413:2 prefix-limit ipv6 1000
parent "VPWS_egress_t1_scheduler" weight 20/configure service vprn 2503 bgp group "to_CE" neighbor fd00::413:2 peer-as 65503
exit/configure service vprn 2503 bgp no shutdown
queue 4 create/configure service vprn 2503 no shutdown
parent "VPWS_egress_t1_scheduler" weight 80/configure service vprn 2504 customer 1 create vrf-export "PS_EXP_VPRN_2504"
exit/configure service vprn 2504 autonomous-system 64774
queue 5 create/configure service vprn 2504 route-distinguisher 0.0.1.5:2504
parent "VPWS_egress_t1_scheduler" level 5 cir-level 5/configure service vprn 2504 auto-bind-tunnel resolution-filter sr-isis
percent-rate 40.00 cir 40.00 local-limit/configure service vprn 2504 auto-bind-tunnel resolution filter
exit/configure service vprn 2504 vrf-target target:64774:2504
queue 6 create/configure service vprn 2504 interface "to_STC" create address 10.4.14.1/30
parent "VPWS_egress_t1_scheduler" level 6 cir-level 6/configure service vprn 2504 interface "to_STC" ipv6 address fd00::414:1/126
percent-rate 10.00 cir 10.00 local-limit/configure service vprn 2504 interface "to_STC" sap lag-10:1250.4 create
exit/configure service vprn 2504 static-route-entry 10.10.10.10/32 next-hop 10.4.14.2 no shutdown
fc be create/configure service vprn 2504 bgp group "to_CE" neighbor 10.4.14.2 import "PS_IMP_VRF2504_BGP"
queue 1/configure service vprn 2504 bgp group "to_CE" neighbor 10.4.14.2 export "PS_EXP_VRF2504_BGP"
exit /configure service vprn 2504 bgp group "to_CE" neighbor 10.4.14.2 peer-as 65504
fc ef create/configure service vprn 2504 bgp group "to_CE" neighbor fd00::414:2 peer-as 65504
queue 6/configure service vprn 2504 bgp no shutdown
exit /configure service vprn 2504 no shutdown
fc h2 create/configure service vprn 2505 customer 1 create autonomous-system 64774
queue 5/configure service vprn 2505 route-distinguisher 0.0.1.5:2505
exit /configure service vprn 2505 auto-bind-tunnel resolution-filter sr-isis
fc l1 create/configure service vprn 2505 auto-bind-tunnel resolution filter
queue 4/configure service vprn 2505 vrf-target export target:64774:2505 import target:64774:42505
exit /configure service vprn 2505 interface "to_STC" create address 10.4.15.1/30
exit/configure service vprn 2505 interface "to_STC" ipv6 address fd00::415:1/126
sap-egress 5002 create/configure service vprn 2505 interface "to_STC" sap lag-10:1250.5 create
queue 1 create/configure service vprn 2505 bgp group "to_CE" neighbor 10.4.15.2 peer-as 65505
exit/configure service vprn 2505 bgp group "to_CE" neighbor fd00::415:2 peer-as 65505
exit/configure service vprn 2505 bgp no shutdown
sap-egress 6001 create/configure service vprn 2505 no shutdown
policy-name "VPLS_4-class_policy"/configure service vprn 2506 customer 1 create autonomous-system 64774
description "VPLS 4-class sap-egress policy"/configure service vprn 2506 route-distinguisher 0.0.1.5:2506
queue 1 create/configure service vprn 2506 auto-bind-tunnel resolution-filter sr-isis
parent "VPLS_egress_t1_scheduler" weight 20/configure service vprn 2506 auto-bind-tunnel resolution filter
exit/configure service vprn 2506 vrf-target export target:64774:42506 import target:64774:2506
queue 4 create/configure service vprn 2506 interface "to_STC" create address 10.4.16.1/30
parent "VPLS_egress_t1_scheduler" weight 80/configure service vprn 2506 interface "to_STC" ipv6 address fd00::416:1/126
exit/configure service vprn 2506 interface "to_STC" sap lag-10:1250.6 create
queue 5 create/configure service vprn 2506 bgp group "to_CE" neighbor 10.4.16.2 peer-as 65506
parent "VPLS_egress_t1_scheduler" level 5 cir-level 5/configure service vprn 2506 bgp group "to_CE" neighbor fd00::416:2 peer-as 65506
percent-rate 40.00 cir 40.00 local-limit/configure service vprn 2506 bgp no shutdown
exit/configure service vprn 2506 no shutdown
queue 6 create/configure service vprn 2507 customer 1 create autonomous-system 64774
parent "VPLS_egress_t1_scheduler" level 6 cir-level 6/configure service vprn 2507 route-distinguisher 0.0.1.5:2507
percent-rate 10.00 cir 10.00 local-limit/configure service vprn 2507 auto-bind-tunnel resolution-filter sr-isis
exit/configure service vprn 2507 auto-bind-tunnel resolution filter
fc be create/configure service vprn 2507 vrf-target target:64774:2507
queue 1/configure service vprn 2507 interface "to_STC" create address 10.4.17.1/30
exit /configure service vprn 2507 interface "to_STC" ipv6 address fd00::417:1/126
fc ef create/configure service vprn 2507 interface "to_STC" sap lag-10:1250.7 create
queue 6/configure service vprn 2507 bgp group "to_CE" neighbor 10.4.17.2 peer-as 65507
exit /configure service vprn 2507 bgp group "to_CE" neighbor fd00::417:2 peer-as 65507
fc h2 create/configure service vprn 2507 bgp no shutdown
queue 5/configure service vprn 2507 no shutdown
exit /configure service vprn 2508 customer 1 create autonomous-system 64774
fc l1 create/configure service vprn 2508 route-distinguisher 0.0.1.5:2508
queue 4/configure service vprn 2508 auto-bind-tunnel resolution-filter sr-isis
exit /configure service vprn 2508 auto-bind-tunnel resolution filter
exit/configure service vprn 2508 vrf-target target:64774:2508
exit/configure service vprn 2508 interface "to_STC" create address 10.4.18.1/30
#--------------------------------------------------/configure service vprn 2508 interface "to_STC" ipv6 address fd00::418:1/126
echo "Management Router Configuration"/configure service vprn 2508 interface "to_STC" sap lag-10:1250.8 create
#--------------------------------------------------/configure service vprn 2508 bgp group "to_CE" neighbor 10.4.18.2 peer-as 65508
router management/configure service vprn 2508 bgp group "to_CE" neighbor fd00::418:2 peer-as 65508
exit/configure service vprn 2508 bgp no shutdown
/configure service vprn 2508 no shutdown
#--------------------------------------------------/configure service vprn 2509 customer 1 create vrf-export "PS_CE_EXPORT"
echo "Router (Network Side) Configuration"/configure service vprn 2509 router-id 10.4.40.2
#--------------------------------------------------/configure service vprn 2509 autonomous-system 65509
router Base/configure service vprn 2509 route-distinguisher 0.0.1.5:2509
interface "system"/configure service vprn 2509 auto-bind-tunnel resolution-filter sr-isis
address 10.0.1.5/32/configure service vprn 2509 auto-bind-tunnel resolution filter
ipv6/configure service vprn 2509 vrf-target import target:64774:2509
address fd00::1:5/128 /configure service vprn 2509 interface "to_Port_B" create address 10.4.40.2/30
exit/configure service vprn 2509 interface "to_Port_B" sap 6/2/5 create
no shutdown/configure service vprn 2509 bgp disable-communities extended
exit/configure service vprn 2509 bgp group "to_PE" neighbor 10.4.40.1 import "PS_IMP_PE"
interface "to_TiC02lab01"/configure service vprn 2509 bgp group "to_PE" neighbor 10.4.40.1 export "PS_MPBGP-TO-BGP"
address 2.0.0.8/31/configure service vprn 2509 bgp group "to_PE" neighbor 10.4.40.1 local-as 65509
port 6/1/1:0/configure service vprn 2509 bgp group "to_PE" neighbor 10.4.40.1 peer-as 65510
ipv6/configure service vprn 2509 bgp no shutdown
exit/configure service vprn 2509 no shutdown
bfd 100 receive 100 multiplier 3 type cpm-np/configure service vprn 2510 customer 1 create description "VPRN 2510: PE emulation"
no shutdown/configure service vprn 2510 vrf-export "PS_PE_EXPORT"
exit/configure service vprn 2510 router-id 10.4.40.1
interface "to_TiC02lab02"/configure service vprn 2510 autonomous-system 65510
address 2.0.0.10/31/configure service vprn 2510 route-distinguisher 0.0.1.5:2510
port 5/1/1:0/configure service vprn 2510 auto-bind-tunnel resolution-filter sr-isis
ipv6/configure service vprn 2510 auto-bind-tunnel resolution filter
exit/configure service vprn 2510 vrf-target import target:64774:2510
bfd 100 receive 100 multiplier 3 type cpm-np/configure service vprn 2510 interface "to_Port_A" create address 10.4.40.1/30
no shutdown/configure service vprn 2510 interface "to_Port_A" sap 6/2/6 create
exit/configure service vprn 2510 bgp disable-communities extended
autonomous-system 64774/configure service vprn 2510 bgp group "to_CE" neighbor 10.4.40.2 export "PS_MPBGP-TO-BGP"
ecmp 8/configure service vprn 2510 bgp group "to_CE" neighbor 10.4.40.2 local-as 65510
ip-fast-reroute/configure service vprn 2510 bgp group "to_CE" neighbor 10.4.40.2 peer-as 65509
#--------------------------------------------------/configure service vprn 2510 bgp no shutdown
echo "MPLS Label Range Configuration"/configure service vprn 2510 no shutdown
#--------------------------------------------------/configure service vprn 2990 customer 1 create description "NG-MVPN"
mpls-labels/configure service vprn 2990 route-distinguisher 0.0.1.5:2990
sr-labels start 20000 end 20999/configure service vprn 2990 auto-bind-tunnel resolution-filter sr-isis
exit/configure service vprn 2990 auto-bind-tunnel resolution filter
#--------------------------------------------------/configure service vprn 2990 vrf-target target:64774:2990
echo "ISIS Configuration"/configure service vprn 2990 interface "to_MCAST_Source1" create address 10.2.1.1/30
#--------------------------------------------------/configure service vprn 2990 interface "to_MCAST_Source1" sap 6/2/1:1252.10 create
isis 0/configure service vprn 2990 interface "to_MCAST_Source2" create address 10.2.2.1/30
level-capability level-2/configure service vprn 2990 interface "to_MCAST_Source2" sap 6/2/1:1252.11 create
area-id 49.0000/configure service vprn 2990 interface "to_MCAST_Source3" create address 10.2.3.1/30
auth-keychain ISIS_auth_keychain/configure service vprn 2990 interface "to_MCAST_Source3" sap 6/2/1:1252.12 create
database-export/configure service vprn 2990 interface "to_MCAST_Source4" create address 10.2.4.1/30
traffic-engineering/configure service vprn 2990 interface "to_MCAST_Source4" sap 6/2/1:1252.13 create
reference-bandwidth 1000000000/configure service vprn 2990 pim interface "to_MCAST_Source1"
advertise-passive-only/configure service vprn 2990 pim interface "to_MCAST_Source2"
advertise-router-capability area/configure service vprn 2990 pim interface "to_MCAST_Source3"
loopfree-alternate remote-lfa ti-lfa max-sr-frr-labels 3/configure service vprn 2990 pim interface "to_MCAST_Source4"
ipv6-routing native/configure service vprn 2990 pim rp static
timers/configure service vprn 2990 pim rp bsr-candidate shutdown
lsp-wait 1000 lsp-initial-wait 10 lsp-second-wait 100/configure service vprn 2990 pim rp rp-candidate shutdown
spf-wait 1000 spf-initial-wait 10 spf-second-wait 100/configure service vprn 2990 pim no shutdown
exit/configure service vprn 2990 mvpn auto-discovery default
level 2/configure service vprn 2990 mvpn c-mcast-signaling bgp
wide-metrics-only/configure service vprn 2990 mvpn provider-tunnel inclusive mldp no shutdown
exit/configure service vprn 2990 mvpn provider-tunnel selective mldp no shutdown
interface "system"/configure service vprn 2990 mvpn provider-tunnel selective no auto-discovery-disable
ipv4-node-sid index 5/configure service vprn 2990 mvpn provider-tunnel selective data-threshold 230.0.0.0/8 10
ipv6-node-sid index 105/configure service vprn 2990 mvpn vrf-target unicast
passive/configure service vprn 2990 no shutdown
no shutdown/configure router Base isis 0 no shutdown
exit/configure router Base policy-options begin
interface "to_TiC02lab01"/configure router Base policy-options community "COM_CE" members "target:64774:2509"
interface-type point-to-point/configure router Base policy-options community "COM_PE" members "target:64774:2510"
bfd-enable ipv4 include-bfd-tlv/configure router Base policy-options community "COM_L2504" members "64774:100"
no shutdown/configure router Base policy-options community "COM_EXT-2504" members "target:64774:2504"
exit/configure router Base policy-options community "COM_L2504-300" members "64774:300"
interface "to_TiC02lab02"/configure router Base policy-options community "COM_L2504-500" members "64774:500"
interface-type point-to-point/configure router Base policy-options community "COM_NO-EXPORT" members "no-export"
bfd-enable ipv4 include-bfd-tlv/configure router Base policy-options as-path "NULL" expression "null"
no shutdown/configure router Base policy-options policy-statement "PS_IMP_PE" entry 10 from protocol bgp
exit/configure router Base policy-options policy-statement "PS_IMP_PE" entry 10 action accept as-path replace "NULL"
segment-routing/configure router Base policy-options policy-statement "PS_CE_EXPORT" entry 10 from protocol bgp
prefix-sid-range global/configure router Base policy-options policy-statement "PS_CE_EXPORT" entry 10 action accept community add "COM_CE"
tunnel-table-pref 8/configure router Base policy-options policy-statement "PS_CE_EXPORT" entry 20 from protocol direct
no shutdown/configure router Base policy-options policy-statement "PS_CE_EXPORT" entry 20 action accept community add "COM_CE"
exit/configure router Base policy-options policy-statement "PS_PE_EXPORT" entry 10 from protocol bgp
no shutdown/configure router Base policy-options policy-statement "PS_PE_EXPORT" entry 10 action accept community add "COM_PE"
exit/configure router Base policy-options policy-statement "PS_PE_EXPORT" entry 20 from protocol direct
#--------------------------------------------------/configure router Base policy-options policy-statement "PS_PE_EXPORT" entry 20 action accept community add "COM_PE"
echo "MPLS Configuration"/configure router Base policy-options policy-statement "PS_BGP-TO-MPBGP" entry 10 from protocol bgp
#--------------------------------------------------/configure router Base policy-options policy-statement "PS_BGP-TO-MPBGP" entry 10 action accept
mpls/configure router Base policy-options policy-statement "PS_MPBGP-TO-BGP" entry 10 from protocol bgp-vpn
interface "system"/configure router Base policy-options policy-statement "PS_MPBGP-TO-BGP" entry 10 action accept
no shutdown/configure router Base policy-options policy-statement "PS_EXP_VPRN_2504" entry 5 action next-entry community add "COM_EXT-2504"
exit/configure router Base policy-options policy-statement "PS_EXP_VPRN_2504" entry 10 from protocol static
interface "to_TiC02lab01"/configure router Base policy-options policy-statement "PS_EXP_VPRN_2504" entry 10 action accept community add "COM_NO-EXPORT"
no shutdown/configure router Base policy-options policy-statement "PS_EXP_VPRN_2504" entry 10 action accept origin igp
exit/configure router Base policy-options policy-statement "PS_EXP_VPRN_2504" entry 15 action accept
interface "to_TiC02lab02"/configure router Base policy-options policy-statement "PS_EXP_VPRN_2504" default-action accept
no shutdown/configure router Base policy-options policy-statement "PS_EXP_VRF2504_BGP" entry 10 from community "COM_L2504-500"
exit/configure router Base policy-options policy-statement "PS_EXP_VRF2504_BGP" entry 10 action accept community replace "COM_L2504-300"
exit/configure router Base policy-options policy-statement "PS_EXP_VRF2504_BGP" entry 10 action accept metric set 100
#--------------------------------------------------/configure router Base policy-options policy-statement "PS_EXP_VRF2504_BGP" default-action drop
echo "RSVP Configuration"/configure router Base policy-options policy-statement "PS_IMP_VRF2504_BGP" entry 10 from protocol bgp
#--------------------------------------------------/configure router Base policy-options policy-statement "PS_IMP_VRF2504_BGP" entry 10 action accept as-path-prepend 64774 3
rsvp/configure router Base policy-options policy-statement "PS_IMP_VRF2504_BGP" entry 10 action accept community add "COM_L2504"
shutdown/configure router Base policy-options policy-statement "PS_IMP_VRF2504_BGP" entry 10 action accept local-preference 500
interface "system"/configure router Base policy-options commit
no shutdown/configure router Base bgp multipath 4
exit/configure router Base bgp rapid-withdrawal
interface "to_TiC02lab01"/configure router Base bgp link-state-import-enable
no shutdown/configure router Base bgp add-paths vpn-ipv4 send 16 receive
exit/configure router Base bgp add-paths vpn-ipv6 send 16 receive
interface "to_TiC02lab02"/configure router Base bgp add-paths label-ipv4 send 16 receive
no shutdown/configure router Base bgp add-paths label-ipv6 send 16 receive
exit/configure router Base bgp backup-path ipv4 ipv6 label-ipv4 label-ipv6
exit/configure router Base bgp error-handling update-fault-tolerance
#--------------------------------------------------/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
echo "MPLS LSP Configuration"/configure router Base bgp group "to_RR" authentication-key "yvYQDulXv.ieJtaRU0US" hash2
#--------------------------------------------------/configure router Base bgp group "to_RR" min-route-advertisement 5
mpls/configure router Base bgp group "to_RR" type internal
no shutdown/configure router Base bgp group "to_RR" path-mtu-discovery
exit/configure router Base bgp group "to_RR" neighbor 10.0.2.1
#--------------------------------------------------/configure router Base bgp no shutdown
echo "LDP Configuration"/configure mirror mirror-dest 66666 create sap lag-10:123.456 create
#--------------------------------------------------/configure mirror mirror-dest 66666 create no shutdown
ldp
interface-parameters
interface "to_TiC02lab01" dual-stack
ipv4
no shutdown
exit
no shutdown
exit
interface "to_TiC02lab02" dual-stack
ipv4
no shutdown
exit
no shutdown
exit
exit
targeted-session
exit
no shutdown
exit
exit
#--------------------------------------------------
echo "Service Configuration"
#--------------------------------------------------
service
sdp 1001 mpls create
description "to_Ti2lab01"
far-end 10.0.1.1
sr-isis
keep-alive
shutdown
exit
no shutdown
exit
customer 1 create
description "Default customer"
exit
system
bgp-evpn
route-distinguisher 0.1.0.5:0
ethernet-segment "STC_P5-7" create
esi 00:10:00:00:00:00:00:00:00:01
service-carving
mode manual
manual
evi 1 to 700
exit
exit
multi-homing single-active
lag 10
no shutdown
exit
ethernet-segment "STC_P5-7_virtal_AA" virtual create
esi 00:10:00:00:00:00:00:00:00:03
service-carving
mode manual
exit
multi-homing all-active
shutdown
exit
ethernet-segment "STC_P5-7_virtal_SA" virtual create
esi 00:10:00:00:00:00:00:00:00:02
service-carving
mode manual
exit
multi-homing single-active
shutdown
exit
exit
exit
vprn 2501 customer 1 create
interface "to_STC" create
exit
exit
vprn 2502 customer 1 create
interface "to_STC" create
exit
exit
vprn 2503 customer 1 create
interface "to_STC" create
exit
exit
vprn 2504 customer 1 create
interface "to_STC" create
exit
exit
vprn 2505 customer 1 create
interface "to_STC" create
exit
exit
vprn 2506 customer 1 create
interface "to_STC" create
exit
exit
vprn 2507 customer 1 create
interface "to_STC" create
exit
exit
vprn 2508 customer 1 create
interface "to_STC" create
exit
exit
vprn 2509 customer 1 create
interface "to_Port_B" create
exit
exit
vprn 2510 customer 1 create
interface "to_Port_A" create
exit
exit
vprn 2990 customer 1 create
interface "to_MCAST_Source1" create
exit
interface "to_MCAST_Source2" create
exit
interface "to_MCAST_Source3" create
exit
interface "to_MCAST_Source4" create
exit
exit
epipe 1 customer 1 create
bgp
route-distinguisher 0.1.0.5:1
exit
bgp-evpn
local-ac-name "S_ac"
eth-tag 1001101
exit
remote-ac-name "L_ac"
eth-tag 11
exit
evi 1
mpls
control-word
force-vlan-vc-forwarding
auto-bind-tunnel
resolution-filter
sr-isis
sr-te
exit
resolution filter
exit
no shutdown
exit
exit
service-name "EVPN_VPWS_1"
sap lag-10:1001.101 create
ingress
scheduler-policy "VPWS_ingress_scheduler_policy"
qos 5001
exit
egress
scheduler-policy "VPWS_egress_scheduler_policy"
qos 5001
exit
no shutdown
exit
no shutdown
exit
epipe 801 customer 1 create
bgp
route-distinguisher 0.1.0.5:801
exit
bgp-evpn
local-ac-name "S_ac"
eth-tag 1090101
exit
remote-ac-name "L_ac"
eth-tag 901
exit
evi 801
mpls
control-word
force-vlan-vc-forwarding
auto-bind-tunnel
resolution-filter
sr-isis
sr-te
exit
resolution filter
exit
no shutdown
exit
exit
service-name "EVPN_VPWS_801"
sap lag-10:1090.101 create
ingress
scheduler-policy "VPWS_adv_ing_scheduler_policy"
qos 5002
exit
egress
scheduler-policy "VPWS_adv_egr_scheduler_policy"
qos 5002
exit
no shutdown
exit
no shutdown
exit
epipe 802 customer 1 create
bgp
route-distinguisher 0.1.0.5:802
exit
bgp-evpn
local-ac-name "S_ac"
eth-tag 1090102
exit
remote-ac-name "L_ac"
eth-tag 902
exit
evi 802
mpls
control-word
force-vlan-vc-forwarding
auto-bind-tunnel
resolution-filter
sr-isis
sr-te
exit
resolution filter
exit
no shutdown
exit
exit
service-name "EVPN_VPWS_802"
sap lag-10:1090.102 create
ingress
scheduler-policy "VPWS_adv_ing_scheduler_policy"
qos 5002
exit
egress
scheduler-policy "VPWS_adv_egr_scheduler_policy"
qos 5002
exit
no shutdown
exit
no shutdown
exit
epipe 803 customer 1 create
bgp
route-distinguisher 0.1.0.5:803
exit
bgp-evpn
local-ac-name "S_ac"
eth-tag 1090103
exit
remote-ac-name "L_ac"
eth-tag 903
exit
evi 803
mpls
control-word
force-vlan-vc-forwarding
auto-bind-tunnel
resolution-filter
sr-isis
sr-te
exit
resolution filter
exit
no shutdown
exit
exit
service-name "EVPN_VPWS_803"
sap lag-10:1090.103 create
ingress
scheduler-policy "VPWS_adv_ing_scheduler_policy"
qos 5002
exit
egress
scheduler-policy "VPWS_adv_egr_scheduler_policy"
qos 5002
exit
no shutdown
exit
no shutdown
exit
epipe 804 customer 1 create
bgp
route-distinguisher 0.1.0.5:804
exit
bgp-evpn
local-ac-name "S_ac"
eth-tag 1090104
exit
remote-ac-name "L_ac"
eth-tag 904
exit
evi 804
mpls
control-word
force-vlan-vc-forwarding
auto-bind-tunnel
resolution-filter
sr-isis
sr-te
exit
resolution filter
exit
no shutdown
exit
exit
service-name "EVPN_VPWS_804"
sap lag-10:1090.104 create
ingress
scheduler-policy "VPWS_adv_ing_scheduler_policy"
qos 5002
exit
egress
scheduler-policy "VPWS_adv_egr_scheduler_policy"
qos 5002
exit
no shutdown
exit
no shutdown
exit
vpls 1001 customer 1 create
selective-learned-fdb
fdb-table-size 10000
split-horizon-group "SHG_1" create
exit
bgp
route-distinguisher 0.1.0.5:1001
exit
bgp-evpn
evi 1001
mac-duplication
black-hole-dup-mac
exit
vxlan
shutdown
exit
mpls
control-word
auto-bind-tunnel
resolution-filter
sr-isis
sr-te
exit
resolution filter
exit
no shutdown
exit
exit
stp
shutdown
exit
service-name "EVPN_VPLS_1001"
sap lag-10:1101.1 split-horizon-group "SHG_1" create
ingress
scheduler-policy "VPLS_ingress_scheduler_policy"
qos 6001
exit
egress
scheduler-policy "VPLS_egress_scheduler_policy"
qos 6001
exit
no shutdown
exit
mac-move
no shutdown
exit
no shutdown
exit
vpls 1091 customer 1 create
selective-learned-fdb
fdb-table-size 10000
split-horizon-group "SHG_1" create
exit
bgp
route-distinguisher 0.1.0.5:1091
exit
bgp-evpn
evi 1091
mac-duplication
black-hole-dup-mac
exit
vxlan
shutdown
exit
mpls
control-word
auto-bind-tunnel
resolution-filter
sr-isis
sr-te
exit
resolution filter
exit
no shutdown
exit
exit
stp
shutdown
exit
service-name "EVPN_VPLS_1091"
sap lag-10:1190.cp-1091 create
no shutdown
exit
mac-move
no shutdown
exit
no shutdown
exit
vprn 2501 customer 1 create
autonomous-system 64774
route-distinguisher 0.0.1.5:2501
auto-bind-tunnel
resolution-filter
sr-isis
exit
resolution filter
exit
vrf-target target:64774:2501
interface "to_STC" create
address 10.4.11.1/30
ipv6
address fd00::411:1/126
exit
sap lag-10:1250.1 create
exit
exit
bgp
group "to_CE"
neighbor 10.4.11.2
prefix-limit ipv4 1000
prefix-limit ipv6 1000
peer-as 65501
exit
neighbor fd00::411:2
prefix-limit ipv4 1000
prefix-limit ipv6 1000
peer-as 65501
exit
exit
no shutdown
exit
no shutdown
exit
vprn 2502 customer 1 create
autonomous-system 64774
route-distinguisher 0.0.1.5:2502
auto-bind-tunnel
resolution-filter
sr-isis
exit
resolution filter
exit
vrf-target export target:64774:42502 import target:64774:2502
interface "to_STC" create
address 10.4.12.1/30
ipv6
address fd00::412:1/126
exit
sap lag-10:1250.2 create
exit
exit
bgp
group "to_CE"
neighbor 10.4.12.2
prefix-limit ipv4 1000
prefix-limit ipv6 1000
peer-as 65502
exit
neighbor fd00::412:2
prefix-limit ipv4 1000
prefix-limit ipv6 1000
peer-as 65502
exit
exit
no shutdown
exit
no shutdown
exit
vprn 2503 customer 1 create
autonomous-system 64774
route-distinguisher 0.0.1.5:2503
auto-bind-tunnel
resolution-filter
sr-isis
exit
resolution filter
exit
vrf-target export target:64774:42503 import target:64774:2503
interface "to_STC" create
address 10.4.13.1/30
ipv6
address fd00::413:1/126
exit
sap lag-10:1250.3 create
exit
exit
bgp
group "to_CE"
neighbor 10.4.13.2
prefix-limit ipv4 1000
prefix-limit ipv6 1000
peer-as 65503
exit
neighbor fd00::413:2
prefix-limit ipv4 1000
prefix-limit ipv6 1000
peer-as 65503
exit
exit
no shutdown
exit
no shutdown
exit
vprn 2504 customer 1 create
vrf-export "PS_EXP_VPRN_2504"
autonomous-system 64774
route-distinguisher 0.0.1.5:2504
auto-bind-tunnel
resolution-filter
sr-isis
exit
resolution filter
exit
vrf-target target:64774:2504
interface "to_STC" create
address 10.4.14.1/30
ipv6
address fd00::414:1/126
exit
sap lag-10:1250.4 create
exit
exit
static-route-entry 10.10.10.10/32
next-hop 10.4.14.2
no shutdown
exit
exit
bgp
group "to_CE"
neighbor 10.4.14.2
import "PS_IMP_VRF2504_BGP"
export "PS_EXP_VRF2504_BGP"
peer-as 65504
exit
neighbor fd00::414:2
peer-as 65504
exit
exit
no shutdown
exit
no shutdown
exit
vprn 2505 customer 1 create
autonomous-system 64774
route-distinguisher 0.0.1.5:2505
auto-bind-tunnel
resolution-filter
sr-isis
exit
resolution filter
exit
vrf-target export target:64774:2505 import target:64774:42505
interface "to_STC" create
address 10.4.15.1/30
ipv6
address fd00::415:1/126
exit
sap lag-10:1250.5 create
exit
exit
bgp
group "to_CE"
neighbor 10.4.15.2
peer-as 65505
exit
neighbor fd00::415:2
peer-as 65505
exit
exit
no shutdown
exit
no shutdown
exit
vprn 2506 customer 1 create
autonomous-system 64774
route-distinguisher 0.0.1.5:2506
auto-bind-tunnel
resolution-filter
sr-isis
exit
resolution filter
exit
vrf-target export target:64774:42506 import target:64774:2506
interface "to_STC" create
address 10.4.16.1/30
ipv6
address fd00::416:1/126
exit
sap lag-10:1250.6 create
exit
exit
bgp
group "to_CE"
neighbor 10.4.16.2
peer-as 65506
exit
neighbor fd00::416:2
peer-as 65506
exit
exit
no shutdown
exit
no shutdown
exit
vprn 2507 customer 1 create
autonomous-system 64774
route-distinguisher 0.0.1.5:2507
auto-bind-tunnel
resolution-filter
sr-isis
exit
resolution filter
exit
vrf-target target:64774:2507
interface "to_STC" create
address 10.4.17.1/30
ipv6
address fd00::417:1/126
exit
sap lag-10:1250.7 create
exit
exit
bgp
group "to_CE"
neighbor 10.4.17.2
peer-as 65507
exit
neighbor fd00::417:2
peer-as 65507
exit
exit
no shutdown
exit
no shutdown
exit
vprn 2508 customer 1 create
autonomous-system 64774
route-distinguisher 0.0.1.5:2508
auto-bind-tunnel
resolution-filter
sr-isis
exit
resolution filter
exit
vrf-target target:64774:2508
interface "to_STC" create
address 10.4.18.1/30
ipv6
address fd00::418:1/126
exit
sap lag-10:1250.8 create
exit
exit
bgp
group "to_CE"
neighbor 10.4.18.2
peer-as 65508
exit
neighbor fd00::418:2
peer-as 65508
exit
exit
no shutdown
exit
no shutdown
exit
vprn 2509 customer 1 create
vrf-export "PS_CE_EXPORT"
router-id 10.4.40.2
autonomous-system 65509
route-distinguisher 0.0.1.5:2509
auto-bind-tunnel
resolution-filter
sr-isis
exit
resolution filter
exit
vrf-target import target:64774:2509
interface "to_Port_B" create
address 10.4.40.2/30
sap 6/2/5 create
exit
exit
bgp
disable-communities extended
group "to_PE"
neighbor 10.4.40.1
import "PS_IMP_PE"
export "PS_MPBGP-TO-BGP"
local-as 65509
peer-as 65510
exit
exit
no shutdown
exit
no shutdown
exit
vprn 2510 customer 1 create
description "VPRN 2510: PE emulation"
vrf-export "PS_PE_EXPORT"
router-id 10.4.40.1
autonomous-system 65510
route-distinguisher 0.0.1.5:2510
auto-bind-tunnel
resolution-filter
sr-isis
exit
resolution filter
exit
vrf-target import target:64774:2510
interface "to_Port_A" create
address 10.4.40.1/30
sap 6/2/6 create
exit
exit
bgp
disable-communities extended
group "to_CE"
neighbor 10.4.40.2
export "PS_MPBGP-TO-BGP"
local-as 65510
peer-as 65509
exit
exit
no shutdown
exit
no shutdown
exit
vprn 2990 customer 1 create
description "NG-MVPN"
route-distinguisher 0.0.1.5:2990
auto-bind-tunnel
resolution-filter
sr-isis
exit
resolution filter
exit
vrf-target target:64774:2990
interface "to_MCAST_Source1" create
address 10.2.1.1/30
sap 6/2/1:1252.10 create
exit
exit
interface "to_MCAST_Source2" create
address 10.2.2.1/30
sap 6/2/1:1252.11 create
exit
exit
interface "to_MCAST_Source3" create
address 10.2.3.1/30
sap 6/2/1:1252.12 create
exit
exit
interface "to_MCAST_Source4" create
address 10.2.4.1/30
sap 6/2/1:1252.13 create
exit
exit
pim
interface "to_MCAST_Source1"
exit
interface "to_MCAST_Source2"
exit
interface "to_MCAST_Source3"
exit
interface "to_MCAST_Source4"
exit
rp
static
exit
bsr-candidate
shutdown
exit
rp-candidate
shutdown
exit
exit
no shutdown
exit
mvpn
auto-discovery default
c-mcast-signaling bgp
provider-tunnel
inclusive
mldp
no shutdown
exit
exit
selective
mldp
no shutdown
exit
no auto-discovery-disable
data-threshold 230.0.0.0/8 10
exit
exit
vrf-target unicast
exit
exit
no shutdown
exit
exit
#--------------------------------------------------
echo "Router (Service Side) Configuration"
#--------------------------------------------------
router Base
#--------------------------------------------------
echo "ISIS Configuration"
#--------------------------------------------------
isis 0
no shutdown
exit
#--------------------------------------------------
echo "Policy Configuration"
#--------------------------------------------------
policy-options
begin
community "COM_CE" members "target:64774:2509"
community "COM_PE" members "target:64774:2510"
community "COM_L2504" members "64774:100"
community "COM_EXT-2504" members "target:64774:2504"
community "COM_L2504-300" members "64774:300"
community "COM_L2504-500" members "64774:500"
community "COM_NO-EXPORT" members "no-export"
as-path "NULL" expression "null"
policy-statement "PS_IMP_PE"
entry 10
from
protocol bgp
exit
action accept
as-path replace "NULL"
exit
exit
exit
policy-statement "PS_CE_EXPORT"
entry 10
from
protocol bgp
exit
action accept
community add "COM_CE"
exit
exit
entry 20
from
protocol direct
exit
action accept
community add "COM_CE"
exit
exit
exit
policy-statement "PS_PE_EXPORT"
entry 10
from
protocol bgp
exit
action accept
community add "COM_PE"
exit
exit
entry 20
from
protocol direct
exit
action accept
community add "COM_PE"
exit
exit
exit
policy-statement "PS_BGP-TO-MPBGP"
entry 10
from
protocol bgp
exit
action accept
exit
exit
exit
policy-statement "PS_MPBGP-TO-BGP"
entry 10
from
protocol bgp-vpn
exit
action accept
exit
exit
exit
policy-statement "PS_EXP_VPRN_2504"
entry 5
action next-entry
community add "COM_EXT-2504"
exit
exit
entry 10
from
protocol static
exit
action accept
community add "COM_NO-EXPORT"
origin igp
exit
exit
entry 15
action accept
exit
exit
default-action accept
exit
exit
policy-statement "PS_EXP_VRF2504_BGP"
entry 10
from
community "COM_L2504-500"
exit
action accept
community replace "COM_L2504-300"
metric set 100
exit
exit
default-action drop
exit
exit
policy-statement "PS_IMP_VRF2504_BGP"
entry 10
from
protocol bgp
exit
action accept
as-path-prepend 64774 3
community add "COM_L2504"
local-preference 500
exit
exit
exit
commit
exit
#--------------------------------------------------
echo "BGP Configuration"
#--------------------------------------------------
bgp
multipath 4
rapid-withdrawal
link-state-import-enable
add-paths
vpn-ipv4 send 16 receive
vpn-ipv6 send 16 receive
label-ipv4 send 16 receive
label-ipv6 send 16 receive
exit
backup-path ipv4 ipv6 label-ipv4 label-ipv6
error-handling
update-fault-tolerance
exit
group "to_RR"
family vpn-ipv4 vpn-ipv6 mvpn-ipv4 route-target mvpn-ipv6 evpn label-ipv4 label-ipv6 bgp-ls
authentication-key "yvYQDulXv.ieJtaRU0US" hash2
min-route-advertisement 5
type internal
path-mtu-discovery
neighbor 10.0.2.1
exit
exit
no shutdown
exit
exit
#--------------------------------------------------
echo "Mirror Configuration"
#--------------------------------------------------
mirror
mirror-dest 66666 create
sap lag-10:123.456 create
exit
no shutdown
exit
exit
exit all
Editor
Original Text