############################################## ### PT 2020 Final Script ### Contact: hadi.balharith@ericsson.com ############################################## STAND ALONR MODE ========================================== config mode activate-stand-alone-mode =========================================== GENERAL ========================== config common system name SITENAMERABEE config common system location LOCATIONRABEE config common system contact CONTACTRABEE config common time clock "04:19:30 march 21 2016" end config common time server 10.11.236.22 end config common time ntp enabled end config common time time-zone EET end ========================== DCN ========================== config ports lan 1 1 admin-status is END config ports wan 1 2 admin-status is END config ports lan 1 1 switchport mode CNP port-ether-type 8100 valid-frame-type all ingress-filter enabled end config ports wan 1 2 switchport mode PNP port-ether-type 8100 valid-frame-type all ingress-filter enabled end config switch vlan 115 name DCN port 1 2 exit port 1 1 end config dcn-mgmtvlan mgmt-vlan-id 115 dscp 32 pcp 7 end config ip interface 21 address 10.70.180.100 mask 255.255.255.248 end config ip route 0.0.0.0 0.0.0.0 10.70.180.97 END ====================================== E-E Ethernet ====================================== config ports lan 1 1 switchport mode pnp port-ether-type 8100 valid-frame-type all ingress-filter enabled end config ports wan 1 2 switchport mode pnp port-ether-type 8100 valid-frame-type all ingress-filter enabled end config switch vlan 3GVLANIDRABEE name 3G_Vlan port 1 2 exit port 1 1 end config switch vlan 2GVLANIDRABEE name 2G_Vlan port 1 2 exit port 1 1 end config switch vlan 4GVLANIDRABEE name 4G_VLAN port 1 2 exit port 1 1 end config switch vlan OMVLANIDRABEE name O&M_Vlan port 1 2 exit port 1 1 end config switch vlan ESCVLANIDRABEE name ESC_VLAN port 1 2 exit port 1 1 end ============================================ RADIO LINK ============================================ config ports wan 1 2 radio radio-link-id NEIDRABEE end config ports wan 1 2 radio far-end-term-id FEIDRABEE end config ports wan 1 2 radio channel 1 candidate frame-id 73 end config ports wan 1 2 radio channel 1 candidate selected-max-modulation 512_QAM end config ports wan 1 2 radio channel 1 candidate selected-min-modulation 4_QAM end config ports wan 1 2 radio channel 1 candidate tx-frequency 39004000 end config ports wan 1 2 radio channel 1 candidate rx-frequency 37744000 end config ports wan 1 2 radio channel 1 candidate reference-sec sec_5B end config ports wan 1 2 radio channel 1 near selected-min-output-power 2 end config ports wan 1 2 radio channel 1 near selected-max-output-power 2 end config ports wan 1 2 radio channel 1 far target-input-power -47 end config ports wan 1 2 radio channel 1 near planned-received-level -35 end config ports wan 1 2 radio channel 1 near tx-admin-status TXON end config ports wan 1 2 radio channel 1 candidate activate end show config ports wan 1 2 radio channel 1 candidate validation end =============================================== Threshold ============================== config ports wan 1 2 radio channel 1 performance power clear-power-data config ports wan 1 2 radio channel 1 performance rlts2-threshold -60 config ports wan 1 2 radio channel 1 performance rlts1-threshold -69 config ports wan 1 2 radio channel 1 performance tlts1-threshold 20 config ports wan 1 2 radio channel 1 performance g826 clear-g826-data end ============================================ QoS ============================================ config ports lan 1 1 priority-config default-priority 0 config ports lan 1 1 lan-setting mtu 9600 config ports lan 1 1 priority ipv4dscp config ports lan 1 1 dscp-config dscp-decode 0 priority 0 config ports lan 1 1 dscp-config dscp-decode 10 priority 0 config ports lan 1 1 dscp-config dscp-decode 18 priority 0 config ports lan 1 1 dscp-config dscp-decode 20 priority 1 config ports lan 1 1 dscp-config dscp-decode 8 priority 2 config ports lan 1 1 dscp-config dscp-decode 16 priority 2 config ports lan 1 1 dscp-config dscp-decode 22 priority 2 config ports lan 1 1 dscp-config dscp-decode 28 priority 2 config ports lan 1 1 dscp-config dscp-decode 34 priority 3 config ports lan 1 1 dscp-config dscp-decode 26 priority 4 config ports lan 1 1 dscp-config dscp-decode 38 priority 5 config ports lan 1 1 dscp-config dscp-decode 30 priority 5 config ports lan 1 1 dscp-config dscp-decode 36 priority 6 config ports lan 1 1 dscp-config dscp-decode 40 priority 6 config ports lan 1 1 dscp-config dscp-decode 46 priority 6 config ports lan 1 1 dscp-config dscp-decode 32 priority 7 config ports lan 1 1 dscp-config dscp-decode 48 priority 7 end config ports lan 1 1 dscp-config dscp-decode 1 priority 0 config ports lan 1 1 dscp-config dscp-decode 2 priority 0 config ports lan 1 1 dscp-config dscp-decode 3 priority 0 config ports lan 1 1 dscp-config dscp-decode 4 priority 0 config ports lan 1 1 dscp-config dscp-decode 5 priority 0 config ports lan 1 1 dscp-config dscp-decode 6 priority 0 config ports lan 1 1 dscp-config dscp-decode 7 priority 0 config ports lan 1 1 dscp-config dscp-decode 9 priority 0 config ports lan 1 1 dscp-config dscp-decode 11 priority 0 config ports lan 1 1 dscp-config dscp-decode 12 priority 0 config ports lan 1 1 dscp-config dscp-decode 13 priority 0 config ports lan 1 1 dscp-config dscp-decode 14 priority 0 config ports lan 1 1 dscp-config dscp-decode 15 priority 0 config ports lan 1 1 dscp-config dscp-decode 17 priority 0 config ports lan 1 1 dscp-config dscp-decode 19 priority 0 config ports lan 1 1 dscp-config dscp-decode 21 priority 0 config ports lan 1 1 dscp-config dscp-decode 23 priority 0 config ports lan 1 1 dscp-config dscp-decode 24 priority 0 config ports lan 1 1 dscp-config dscp-decode 25 priority 0 config ports lan 1 1 dscp-config dscp-decode 27 priority 0 config ports lan 1 1 dscp-config dscp-decode 29 priority 0 config ports lan 1 1 dscp-config dscp-decode 31 priority 0 config ports lan 1 1 dscp-config dscp-decode 33 priority 0 config ports lan 1 1 dscp-config dscp-decode 35 priority 0 config ports lan 1 1 dscp-config dscp-decode 37 priority 0 config ports lan 1 1 dscp-config dscp-decode 39 priority 0 config ports lan 1 1 dscp-config dscp-decode 41 priority 0 config ports lan 1 1 dscp-config dscp-decode 42 priority 0 config ports lan 1 1 dscp-config dscp-decode 43 priority 0 config ports lan 1 1 dscp-config dscp-decode 44 priority 0 config ports lan 1 1 dscp-config dscp-decode 45 priority 0 config ports lan 1 1 dscp-config dscp-decode 47 priority 0 config ports lan 1 1 dscp-config dscp-decode 49 priority 0 config ports lan 1 1 dscp-config dscp-decode 50 priority 0 config ports lan 1 1 dscp-config dscp-decode 51 priority 0 config ports lan 1 1 dscp-config dscp-decode 52 priority 0 config ports lan 1 1 dscp-config dscp-decode 53 priority 0 config ports lan 1 1 dscp-config dscp-decode 54 priority 0 config ports lan 1 1 dscp-config dscp-decode 55 priority 0 config ports lan 1 1 dscp-config dscp-decode 56 priority 0 config ports lan 1 1 dscp-config dscp-decode 57 priority 0 config ports lan 1 1 dscp-config dscp-decode 58 priority 0 config ports lan 1 1 dscp-config dscp-decode 59 priority 0 config ports lan 1 1 dscp-config dscp-decode 60 priority 0 config ports lan 1 1 dscp-config dscp-decode 61 priority 0 config ports lan 1 1 dscp-config dscp-decode 62 priority 0 config ports lan 1 1 dscp-config dscp-decode 63 priority 0 end config ports wan 1 2 priority-config default-priority 0 config ports wan 1 2 priority ipv4dscp config ports wan 1 2 dscp-config dscp-decode 0 priority 0 config ports wan 1 2 dscp-config dscp-decode 10 priority 0 config ports wan 1 2 dscp-config dscp-decode 18 priority 0 config ports wan 1 2 dscp-config dscp-decode 20 priority 1 config ports wan 1 2 dscp-config dscp-decode 8 priority 2 config ports wan 1 2 dscp-config dscp-decode 16 priority 2 config ports wan 1 2 dscp-config dscp-decode 22 priority 2 config ports wan 1 2 dscp-config dscp-decode 28 priority 2 config ports wan 1 2 dscp-config dscp-decode 34 priority 3 config ports wan 1 2 dscp-config dscp-decode 26 priority 4 config ports wan 1 2 dscp-config dscp-decode 38 priority 5 config ports wan 1 2 dscp-config dscp-decode 30 priority 5 config ports wan 1 2 dscp-config dscp-decode 36 priority 6 config ports wan 1 2 dscp-config dscp-decode 40 priority 6 config ports wan 1 2 dscp-config dscp-decode 46 priority 6 config ports wan 1 2 dscp-config dscp-decode 32 priority 7 config ports wan 1 2 dscp-config dscp-decode 48 priority 7 end config ports wan 1 2 dscp-config dscp-decode 1 priority 0 config ports wan 1 2 dscp-config dscp-decode 2 priority 0 config ports wan 1 2 dscp-config dscp-decode 3 priority 0 config ports wan 1 2 dscp-config dscp-decode 4 priority 0 config ports wan 1 2 dscp-config dscp-decode 5 priority 0 config ports wan 1 2 dscp-config dscp-decode 6 priority 0 config ports wan 1 2 dscp-config dscp-decode 7 priority 0 config ports wan 1 2 dscp-config dscp-decode 9 priority 0 config ports wan 1 2 dscp-config dscp-decode 11 priority 0 config ports wan 1 2 dscp-config dscp-decode 12 priority 0 config ports wan 1 2 dscp-config dscp-decode 13 priority 0 config ports wan 1 2 dscp-config dscp-decode 14 priority 0 config ports wan 1 2 dscp-config dscp-decode 15 priority 0 config ports wan 1 2 dscp-config dscp-decode 17 priority 0 config ports wan 1 2 dscp-config dscp-decode 19 priority 0 config ports wan 1 2 dscp-config dscp-decode 21 priority 0 config ports wan 1 2 dscp-config dscp-decode 23 priority 0 config ports wan 1 2 dscp-config dscp-decode 24 priority 0 config ports wan 1 2 dscp-config dscp-decode 25 priority 0 config ports wan 1 2 dscp-config dscp-decode 27 priority 0 config ports wan 1 2 dscp-config dscp-decode 29 priority 0 config ports wan 1 2 dscp-config dscp-decode 31 priority 0 config ports wan 1 2 dscp-config dscp-decode 33 priority 0 config ports wan 1 2 dscp-config dscp-decode 35 priority 0 config ports wan 1 2 dscp-config dscp-decode 37 priority 0 config ports wan 1 2 dscp-config dscp-decode 39 priority 0 config ports wan 1 2 dscp-config dscp-decode 41 priority 0 config ports wan 1 2 dscp-config dscp-decode 42 priority 0 config ports wan 1 2 dscp-config dscp-decode 43 priority 0 config ports wan 1 2 dscp-config dscp-decode 44 priority 0 config ports wan 1 2 dscp-config dscp-decode 45 priority 0 config ports wan 1 2 dscp-config dscp-decode 47 priority 0 config ports wan 1 2 dscp-config dscp-decode 49 priority 0 config ports wan 1 2 dscp-config dscp-decode 50 priority 0 config ports wan 1 2 dscp-config dscp-decode 51 priority 0 config ports wan 1 2 dscp-config dscp-decode 52 priority 0 config ports wan 1 2 dscp-config dscp-decode 53 priority 0 config ports wan 1 2 dscp-config dscp-decode 54 priority 0 config ports wan 1 2 dscp-config dscp-decode 55 priority 0 config ports wan 1 2 dscp-config dscp-decode 56 priority 0 config ports wan 1 2 dscp-config dscp-decode 57 priority 0 config ports wan 1 2 dscp-config dscp-decode 58 priority 0 config ports wan 1 2 dscp-config dscp-decode 59 priority 0 config ports wan 1 2 dscp-config dscp-decode 60 priority 0 config ports wan 1 2 dscp-config dscp-decode 61 priority 0 config ports wan 1 2 dscp-config dscp-decode 62 priority 0 config ports wan 1 2 dscp-config dscp-decode 63 priority 0 end config cos scheduling profile sp3-wfq5 config cos scheduling config 4 weight 6 config cos scheduling config 3 weight 5 config cos scheduling config 2 weight 4 config cos scheduling config 1 weight 3 config cos scheduling config 0 weight 2 end config cos queue-profile STC_QOS queue 7 aging 10 queue 6 aging 10 queue 5 aging 10 queue 4 aging 50 queue 3 aging 50 queue 2 aging 100 queue 1 aging 100 queue 0 aging 100 end config ports wan 1 2 cos queue-profile queue-profile STC_QOS config ports lan 1 1 cos queue-profile queue-profile STC_QOS ========================== SW Upgrade =========================== config common software init-nr-download filename CXP9020812_3_R6C01.package.zip mode sftp ip 192.168.1.2 port 22 user admin passwo rd admin download-nr reschedule activation-time-scheduled 0 config common software nr-commit commit =================================================================================== ===== License Features configuration & extracting LRF =================================================================================== ===== 1- Disable Antivirus 2- Disable Firewall 3- Start SSH server config common licenses license-feature FAL1241762 request-feature 1 config common licenses license-feature FAL1241775 request-feature 1 config common licenses license-feature FAL1241765 request-feature 1 config common licenses license-feature FAL1241766 request-feature 1 config common licenses license-feature FAL1241767 request-feature 1 config common licenses license-feature FAL1241768 request-feature 1 config common licenses license-feature FAL1241764 request-feature 1 config common licenses license-feature FAL1241885 request-feature 1 config common licenses license-feature FAL1241763 request-feature 1 end config common licenses create-upload-lrf license-request-file PRY503FE.xml server-ip 192.168.1.2 server-port 22 s erver-user admin mode sftp server-password admin end =================================================================================== ===== LKF INSTALLATION =================================================================================== ===== config common licenses license-install install-license license-file siteID..xml server-ip 192.168.1.2 server-port 22 ser ver-user admin mode sftp server-password admin end config common licenses pre-empt-unlock end =================================================================================== ===== Backing Up a Configuration File =================================================================================== ===== config common cdb backup filename siteID.cdb mode sftp ip 192.168.1.2 port 22 user admin password admin end =================================================================================== ===== Restoring a Configuration File =================================================================================== ===== config common cdb restore filename siteID.cdb mode sftp ip 192.168.1.2 port 22 user admin password admin end ============================================= CSV + twogvlan.Text + " name 2G_Vlan" & vbNewLine & "port 1 2" & vbNewLine & "exit" & vbNewLine & "por t 1 1" & vbNewLine & "end"& vbNewLine &"config switch vlan " + threegvlan.Text + " name 3G_Vlan" & vbNew Line & "port 1 2" & vbNewLine & "exit" & vbNewLine & "port 1 1" & vbNewLine & "end"& vbNewLine &"confi g switch vlan " + fourgvlan.Text + " name 4G_Vlan" & vbNewLine & "port 1 2" & vbNewLine & "exit" & vbNewL ine & "port 1 1" & vbNewLine & "end"& vbNewLine &"config switch vlan " + omvlan.Text + " name O&M_Vlan" & vbNewLine & "port 1 2" & vbNewLine & "exit" & vbNewLine & "port 1 1" & vbNewLine & "end"& vbNewLin e &"config switch vlan " + escvlan.Text + " name ESC_Vlan" & vbNewLine & "port 1 2" & vbNewLine & "exit" & vbNewLine & "port 1 1" & vbNewLine & "end"& vbNewLine & CSV + dcnvlan.Text + " name DCN_Vlan" & vbNewLine & "end"& vbNewLine &"config switch vlan " + dcnvlan. Text& vbNewLine &"port 1 2" & vbNewLine & "exit" & vbNewLine & "port 1 1" & vbNewLine & "end"