Comparing sensitive data, confidential files or internal emails?

Most legal and privacy policies prohibit uploading sensitive data online. Diffchecker Desktop ensures your confidential information never leaves your computer. Work offline and compare documents securely.

Untitled diff

Created Diff never expires
998 removals
859 lines
406 additions
384 lines
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
percent-rate 10.00 cir 10.00 local-limit
exit
queue 11 multipoint create
exit
fc "be" create
queue 1
exit
fc "ef" create
queue 6
exit
fc "h2" create
queue 5
exit
fc "l1" create
queue 4
exit
dot1p 0 fc "be"
dot1p 3 fc "l1"
dot1p 4 fc "h2"
dot1p 5 fc "ef"
exit
sap-ingress 5002 create
queue 1 create
exit
queue 11 multipoint create
exit
exit
sap-ingress 6001 create
policy-name "VPLS_4-class_policy"
description "VPLS 4-class sap-ingress policy"
queue 1 create
parent "VPLS_ingress_t1_scheduler" weight 20
exit
queue 4 create
parent "VPLS_ingress_t1_scheduler" weight 80
exit
queue 5 create
parent "VPLS_ingress_t1_scheduler" level 5 cir-level 5
percent-rate 40.00 cir 40.00 local-limit
exit
queue 6 create
parent "VPLS_ingress_t1_scheduler" level 6 cir-level 6
percent-rate 10.00 cir 10.00 local-limit
exit
queue 11 multipoint create
parent "VPLS_ingress_t1_scheduler" weight 20
exit
queue 14 multipoint create
parent "VPLS_ingress_t1_scheduler" weight 80
exit
queue 15 multipoint create
parent "VPLS_ingress_t1_scheduler" level 5 cir-level 5
exit
queue 16 multipoint create
parent "VPLS_ingress_t1_scheduler" level 6 cir-level 6
exit
fc "be" create
queue 1
broadcast-queue 11
multicast-queue 11
unknown-queue 11
exit
fc "ef" create
queue 6
broadcast-queue 16
multicast-queue 16
unknown-queue 16
exit
fc "h2" create
queue 5
broadcast-queue 15
multicast-queue 15
unknown-queue 15
exit
fc "l1" create
queue 4
broadcast-queue 14
multicast-queue 14
unknown-queue 14
exit
dot1p 0 fc "be"
dot1p 3 fc "l1"
dot1p 4 fc "h2"
dot1p 5 fc "ef"
exit
sap-egress 5001 create
policy-name "VPWS_4-class_policy"
description "VPWS 4-class sap-egress policy"
queue 1 create
parent "VPWS_egress_t1_scheduler" weight 20
exit
queue 4 create
parent "VPWS_egress_t1_scheduler" weight 80
exit
queue 5 create
parent "VPWS_egress_t1_scheduler" level 5 cir-level 5
percent-rate 40.00 cir 40.00 local-limit
exit
queue 6 create
parent "VPWS_egress_t1_scheduler" level 6 cir-level 6
percent-rate 10.00 cir 10.00 local-limit
exit
fc be create
queue 1
exit
fc ef create
queue 6
exit
fc h2 create
queue 5
exit
fc l1 create
queue 4
exit
exit
sap-egress 5002 create
queue 1 create
exit
exit
sap-egress 6001 create
policy-name "VPLS_4-class_policy"
description "VPLS 4-class sap-egress policy"
queue 1 create
parent "VPLS_egress_t1_scheduler" weight 20
exit
queue 4 create
parent "VPLS_egress_t1_scheduler" weight 80
exit
queue 5 create
parent "VPLS_egress_t1_scheduler" level 5 cir-level 5
percent-rate 40.00 cir 40.00 local-limit
exit
queue 6 create
parent "VPLS_egress_t1_scheduler" level 6 cir-level 6
percent-rate 10.00 cir 10.00 local-limit
exit
fc be create
queue 1
exit
fc ef create
queue 6
exit
fc h2 create
queue 5
exit
fc l1 create
queue 4
exit
exit
exit
#--------------------------------------------------
echo "Management Router Configuration"
#--------------------------------------------------
router management
exit

#--------------------------------------------------
echo "Router (Network Side) Configuration"
#--------------------------------------------------
router Base
interface "system"
address 10.0.1.5/32
ipv6
address fd00::1:5/128
exit
no shutdown
exit
interface "to_TiC02lab01"
address 2.0.0.8/31
port 6/1/1:0
ipv6
exit
bfd 100 receive 100 multiplier 3 type cpm-np
no shutdown
exit
interface "to_TiC02lab02"
address 2.0.0.10/31
port 5/1/1:0
ipv6
exit
bfd 100 receive 100 multiplier 3 type cpm-np
no shutdown
exit
autonomous-system 64774
ecmp 8
ip-fast-reroute
#--------------------------------------------------
echo "MPLS Label Range Configuration"
#--------------------------------------------------
mpls-labels
sr-labels start 20000 end 20999
exit
#--------------------------------------------------
echo "ISIS Configuration"
#--------------------------------------------------
isis 0
level-capability level-2
area-id 49.0000
auth-keychain ISIS_auth_keychain
database-export
traffic-engineering
reference-bandwidth 1000000000
advertise-passive-only
advertise-router-capability area
loopfree-alternate remote-lfa ti-lfa max-sr-frr-labels 3
ipv6-routing native
timers
lsp-wait 1000 lsp-initial-wait 10 lsp-second-wait 100
spf-wait 1000 spf-initial-wait 10 spf-second-wait 100
exit
level 2
wide-metrics-only
exit
interface "system"
ipv4-node-sid index 5
ipv6-node-sid index 105
passive
no shutdown
exit
interface "to_TiC02lab01"
interface-type point-to-point
bfd-enable ipv4 include-bfd-tlv
no shutdown
exit
interface "to_TiC02lab02"
interface-type point-to-point
bfd-enable ipv4 include-bfd-tlv
no shutdown
exit
segment-routing
prefix-sid-range global
tunnel-table-pref 8
no shutdown
exit
no shutdown
exit
#--------------------------------------------------
echo "MPLS Configuration"
#--------------------------------------------------
mpls
interface "system"
no shutdown
exit
interface "to_TiC02lab01"
no shutdown
exit
interface "to_TiC02lab02"
no shutdown
exit
exit
#--------------------------------------------------
echo "RSVP Configuration"
#--------------------------------------------------
rsvp
shutdown
interface "system"
no shutdown
exit
interface "to_TiC02lab01"
no shutdown
exit
interface "to_TiC02lab02"
no shutdown
exit
exit
#--------------------------------------------------
echo "MPLS LSP Configuration"
#--------------------------------------------------
mpls
no shutdown
exit
#--------------------------------------------------
echo "LDP Configuration"
#--------------------------------------------------
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:8