SIU HC1947 Script

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 6

//=================================================================================

=
//Project Ung cuu tram- 3G_CCH091E_HCM
//Site ID SIU_HC1947
//Created by OMCKV2- VNP2
//Date 21/08/19 15:22:56
//=================================================================================
=
resettofactorysetting
starttransaction ananan
setmoattribute ananan STN=0 stn_name SIU_HC1947
///CREATE VLAN and IP INTERFACE for WAN///
createmo ananan STN=0,EthernetInterface=WAN
setmoattribute ananan STN=0,EthernetInterface=WAN port SFP
setmoattribute ananan STN=0,EthernetInterface=WAN mode auto
setmoattribute ananan STN=0,EthernetInterface=WAN portNumber 0
setmoattribute ananan STN=0,EthernetInterface=WAN sendLinkAlarmAllowed true
createmo ananan STN=0,VLANGroup=WAN
setmoattribute ananan STN=0,VLANGroup=WAN depLinkLayer STN=0,EthernetInterface=WAN
createmo ananan STN=0,Bridge=1
createmo ananan STN=0,Bridge=2
createmo ananan STN=0,VLANGroup=WAN,VLAN=3G_Iub
setmoattribute ananan STN=0,VLANGroup=WAN,VLAN=3G_Iub tagValue 2149
setmoattribute ananan STN=0,VLANGroup=WAN,VLAN=3G_Iub depBridge STN=0,Bridge=1
createmo ananan STN=0,VLANGroup=WAN,VLAN=3G_OAM
setmoattribute ananan STN=0,VLANGroup=WAN,VLAN=3G_OAM tagValue 2649
setmoattribute ananan STN=0,VLANGroup=WAN,VLAN=3G_OAM depBridge STN=0,Bridge=2
createmo ananan STN=0,VLANGroup=WAN,VLAN=OM
setmoattribute ananan STN=0,VLANGroup=WAN,VLAN=OM tagValue 3699
createmo ananan STN=0,VLANGroup=WAN,VLAN=2G
setmoattribute ananan STN=0,VLANGroup=WAN,VLAN=2G tagValue 3199
createmo ananan STN=0,IPInterface=2G
setmoattribute ananan STN=0,IPInterface=2G primaryIP_Address 10.213.94.231
setmoattribute ananan STN=0,IPInterface=2G primarySubNetMask 255.255.255.224
setmoattribute ananan STN=0,IPInterface=2G depLinkLayer STN=0,VLANGroup=WAN,VLAN=2G
setmoattribute ananan STN=0,IPInterface=2G trustDSCP true
createmo ananan STN=0,IPInterface=OM
setmoattribute ananan STN=0,IPInterface=OM primaryIP_Address 10.213.127.231
setmoattribute ananan STN=0,IPInterface=OM primarySubNetMask 255.255.255.224
setmoattribute ananan STN=0,IPInterface=OM depLinkLayer STN=0,VLANGroup=WAN,VLAN=OM
setmoattribute ananan STN=0,IPInterface=OM defaultGateway 10.213.127.225
setmoattribute ananan STN=0,IPInterface=OM trustDSCP true
setmoattribute ananan STN=0 depIP_interface stn=0,ipinterface=OM
///CONFIGURE OSS ///
setmoattribute ananan STN=0 wakeupregistration 10.149.27.66
///CONFIGURE TIMEstamp REFERENCE for SIU///
setmoattribute ananan STN=0 systemClockTimeServerType NTP
setmoattribute ananan STN=0 systemClockTimeServer 10.213.229.36
setmoattribute ananan STN=0 STN_systemClockUDP_Port 123
///CONFIGURE Synchronization ///
setmoattribute ananan STN=0,synchronization=0 synchType timeServer
setmoattribute ananan STN=0,synchronization=0 DSCP_synchronization 46
setmoattribute ananan STN=0,synchronization=0 depIP_interface STN=0,Ipinterface=OM
createmo ananan STN=0,synchronization=0,Timeserver=TS1
setmoattribute ananan STN=0,synchronization=0,Timeserver=TS1 timeServerType NTP
setmoattribute ananan STN=0,synchronization=0,Timeserver=TS1 STN_TS_UDP_Port 123
setmoattribute ananan STN=0,synchronization=0,Timeserver=TS1 TS_IP_Address
10.213.234.198
setmoattribute ananan STN=0,synchronization=0,Timeserver=TS1 TS_Priority 1
createmo ananan STN=0,synchronization=0,Timeserver=TS2
setmoattribute ananan STN=0,synchronization=0,Timeserver=TS2 timeServerType NTP
setmoattribute ananan STN=0,synchronization=0,Timeserver=TS2 STN_TS_UDP_Port 123
setmoattribute ananan STN=0,synchronization=0,Timeserver=TS2 TS_IP_Address
10.213.234.199
setmoattribute ananan STN=0,synchronization=0,Timeserver=TS2 TS_Priority 2
///Define EthernetInterface MO for CO-LOCATION port///
createmo ananan STN=0,EthernetInterface=CO-LOCATION
setMOAttribute ananan STN=0,EthernetInterface=CO-LOCATION port gigabit
setMOAttribute ananan STN=0,EthernetInterface=CO-LOCATION mode Auto
setmoattribute ananan STN=0,EthernetInterface=CO-LOCATION portNumber 1
setmoattribute ananan STN=0,EthernetInterface=CO-LOCATION sendLinkAlarmAllowed
true
///CREATE VLAN and IP INTERFACE for CO-LOCATION///
createmo ananan STN=0,VLANGroup=CO-LOCATION
setmoattribute ananan STN=0,VLANGroup=CO-LOCATION depLinkLayer
STN=0,EthernetInterface=CO-LOCATION
createmo ananan STN=0,VLANGroup=CO-LOCATION,VLAN=PL
setmoattribute ananan STN=0,VLANGroup=CO-LOCATION,VLAN=PL tagValue 2149
setmoattribute ananan STN=0,VLANGroup=CO-LOCATION,VLAN=PL depBridge STN=0,Bridge=1
createmo ananan STN=0,VLANGroup=CO-LOCATION,VLAN=OM
setmoattribute ananan STN=0,VLANGroup=CO-LOCATION,VLAN=OM tagValue 2649
setmoattribute ananan STN=0,VLANGroup=CO-LOCATION,VLAN=OM depBridge STN=0,Bridge=2
!!! Configure 2G !!!
///Configure routing table for 2G ///
createmo ananan STN=0,RoutingTable=0,IPRoute=2G
setmoattribute ananan STN=0,RoutingTable=0,IPRoute=2G forwardingInterface
STN=0,IPInterface=2G
setmoattribute ananan STN=0,RoutingTable=0,IPRoute=2G nextHopIpAddress
10.213.94.225
setmoattribute ananan STN=0,RoutingTable=0,IPRoute=2G destIpSubnet 10.213.242.0/26
setmoattribute ananan STN=0,RoutingTable=0,IpRoute=2G admDistance 3
createmo ananan STN=0,RoutingTable=0,IPRoute=NWIE
setmoattribute ananan STN=0,RoutingTable=0,IpRoute=NWIE forwardingInterface
STN=0,IPInterface=2G
setmoattribute ananan STN=0,RoutingTable=0,IpRoute=NWIE nextHopIpAddress
10.213.94.225
setmoattribute ananan STN=0,RoutingTable=0,IpRoute=NWIE destIpSubnet
10.213.233.64/29
setmoattribute ananan STN=0,RoutingTable=0,IpRoute=NWIE admDistance 2
///CREATE E1///
!GSM 900_ 12TRXs for 1st TG
createmo ananan STN=0,E1T1Interface=0
setmoattribute ananan STN=0,E1T1Interface=0 type E1
createmo ananan STN=0,E1T1Interface=1
setmoattribute ananan STN=0,E1T1Interface=1 type E1
createmo ananan STN=0,E1T1Interface=2
setmoattribute ananan STN=0,E1T1Interface=2 type E1
createmo ananan STN=0,E1T1Interface=3
setmoattribute ananan STN=0,E1T1Interface=3 type E1
///CREATE E1///
!GSM900 TG_TES///
createmo ananan STN=0,TGTransport=HC1005_TG900
setmoattribute ananan STN=0,TGTransport=HC1005_TG900 depIP_interface
stn=0,IPInterface=2G
setmoattribute ananan STN=0,TGTransport=HC1005_TG900 pgw_ip_address
10.213.242.3
setmoattribute ananan STN=0,TGTransport=HC1005_TG900 DSCP_L2TP_CP 46
createmo ananan STN=0,TGTransport=HC1005_TG900,SuperChannel=0
createmo ananan STN=0,TGTransport=HC1005_TG900,SuperChannel=1
createmo ananan STN=0,TGTransport=HC1005_TG900,SuperChannel=2
createmo ananan STN=0,TGTransport=HC1005_TG900,SuperChannel=3
setmoattribute ananan STN=0,TGTransport=HC1005_TG900,SuperChannel=0
depE1T1Interface 0
setmoattribute ananan STN=0,TGTransport=HC1005_TG900,SuperChannel=1
depE1T1Interface 1
setmoattribute ananan STN=0,TGTransport=HC1005_TG900,SuperChannel=2
depE1T1Interface 2
setmoattribute ananan STN=0,TGTransport=HC1005_TG900,SuperChannel=3
depE1T1Interface 3
///Configure QoS///
setmoattribute ananan STN=0 DSCP_OperationAndMaintenance 34
setmoattribute ananan STN=0 DSCP_OM_FileTransfer 34
createmo ananan STN=0,QoSPolicy=0
/// Setting QoS of pcp2q///
setMOAttribute ananan STN=0,QosPolicy=0 defaultPcp 0
setMOAttribute ananan STN=0,QosPolicy=0 pcp2q0 5
setMOAttribute ananan STN=0,QosPolicy=0 pcp2q1 6
setMOAttribute ananan STN=0,QosPolicy=0 pcp2q2 4
setMOAttribute ananan STN=0,QosPolicy=0 pcp2q3 6
setMOAttribute ananan STN=0,QosPolicy=0 pcp2q4 3
setMOAttribute ananan STN=0,QosPolicy=0 pcp2q5 2
setMOAttribute ananan STN=0,QosPolicy=0 pcp2q6 1
setMOAttribute ananan STN=0,QosPolicy=0 pcp2q7 6
/// Setting QoS of dscp2q///
setmoattribute ananan STN=0,QosPolicy=0 dscp2q0 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q1 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q2 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q3 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q4 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q5 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q6 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q7 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q8 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q9 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q10 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q11 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q12 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q13 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q14 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q15 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q16 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q17 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q18 4
setmoattribute ananan STN=0,QosPolicy=0 dscp2q19 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q20 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q21 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q22 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q23 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q24 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q25 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q26 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q27 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q28 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q29 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q30 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q31 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q32 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q33 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q34 3
setmoattribute ananan STN=0,QosPolicy=0 dscp2q35 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q36 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q37 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q38 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q39 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q40 1
setmoattribute ananan STN=0,QosPolicy=0 dscp2q41 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q42 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q43 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q44 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q45 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q46 2
setmoattribute ananan STN=0,QosPolicy=0 dscp2q47 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q48 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q49 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q50 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q51 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q52 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q53 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q54 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q55 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q56 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q57 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q58 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q59 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q60 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q61 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q62 6
setmoattribute ananan STN=0,QosPolicy=0 dscp2q63 6
/// Setting QoS of dscp2pcp///
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp0 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp1 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp2 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp3 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp4 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp5 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp6 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp7 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp8 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp9 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp10 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp11 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp12 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp13 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp14 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp15 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp16 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp17 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp18 2
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp19 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp20 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp21 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp22 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp23 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp24 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp25 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp26 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp27 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp28 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp29 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp30 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp31 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp32 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp33 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp34 4
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp35 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp36 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp37 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp38 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp39 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp40 5
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp41 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp42 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp43 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp44 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp45 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp46 5
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp47 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp48 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp49 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp50 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp51 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp52 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp53 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp54 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp55 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp56 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp57 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp58 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp59 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp60 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp61 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp62 0
setmoattribute ananan STN=0,QosPolicy=0 dscp2pcp63 0
createMO ananan STN=0,TrafficManager=WAN
setMOAttribute ananan STN=0,TrafficManager=WAN diffServAlgDropQThreshold_1 32768
setMOAttribute ananan STN=0,TrafficManager=WAN diffServAlgDropQThreshold_2 32768
setMOAttribute ananan STN=0,TrafficManager=WAN diffServAlgDropQThreshold_3 32768
setMOAttribute ananan STN=0,TrafficManager=WAN diffServAlgDropQThreshold_4 32768
setMOAttribute ananan STN=0,TrafficManager=WAN diffServAlgDropQThreshold_5 32768
setMOAttribute ananan STN=0,TrafficManager=WAN diffServAlgDropQThreshold_6 32768
setMOAttribute ananan STN=0,TrafficManager=WAN diffServMinRateRelative_1 -1
setMOAttribute ananan STN=0,TrafficManager=WAN diffServMinRateRelative_2 743
setMOAttribute ananan STN=0,TrafficManager=WAN diffServMinRateRelative_3 250
setMOAttribute ananan STN=0,TrafficManager=WAN diffServMinRateRelative_4 4
setMOAttribute ananan STN=0,TrafficManager=WAN diffServMinRateRelative_5 2
setMOAttribute ananan STN=0,TrafficManager=WAN diffServMinRateRelative_6 1
setMOAttribute ananan STN=0,TrafficManager=WAN depQosPolicy STN=0,QosPolicy=0
setMOAttribute ananan STN=0,IPInterface=2G depTrafficManager
STN=0,TrafficManager=WAN
setMOAttribute ananan STN=0,IPInterface=OM depTrafficManager
STN=0,TrafficManager=WAN
subscribe 10.149.27.66 2
resumepmmeasurements STN=0,MeasurementDefinition=0 useContainerFile sftp://pmup-
vnphnned3:ftpuser@10.149.27.72/GRAN/vnphnned3/SIU_HC1947/NeTransientUp
checkconsistency ananan
commit ananan forcedcommit
endTransaction ananan

You might also like