You are on page 1of 23

TCU Script Generator

Site name ZRW914


Date :yy mm dd hh mm ss ms 2015 08 10 12 15 16 16
2G ( IP 's)
OnM- IP 10.140.199.91
OnM VLAN 1327
Traffic-IP 10.78.253.41
Traffic-VLAN 1365

3G ( IP 's)
IUB-VLAN 1326

LTEG ( IP 's)-2300
IUB-VLAN 1367

LTEG ( IP 's)-1800
IUB-VLAN 1368

BSC Name RE2GB27


PGW IP 10.75.154.67
IP Route OSS(OnM GW) 10.140.199.94
OSS Des Subnet 172.20.0.0/16
BSC Route(2G/Traffic GW) 10.78.253.42
SR Abis 10.75.154.64/26
Synch IP:
NPT Server
Routing sync
next hop
dest ip
NTP sync
next hop ( 2G/Traffic GW)
dest ip
Clock TimeServer
//PGW_IP_Address is 10.75.154.67
//PSTU in BSC is ZRW914

//delete all of configuration


ResetToFactorySetting

startTransaction trans1
deleteMO trans1 STN=0,AutoIntegration=0
deleteMO trans1 STN=0,IPInterface=AutoInt-1
deleteMO trans1 STN=0,IPInterface=AutoInt-2
deleteMO trans1 STN=0,VLANGroup=AutoInt-1
deleteMO trans1 STN=0,VLANGroup=AutoInt-2
deleteMO trans1 STN=0,EthernetInterface=AutoInt-1
deleteMO trans1 STN=0,EthernetInterface=AutoInt-2

//PORT TN_E (towards Etisalat WAN)


startTransaction trans1
createmo trans1 stn=0,ethernetinterface=WAN
setmoattribute trans1 stn=0,ethernetinterface=WAN portId TN_D
setmoattribute trans1 stn=0,ethernetinterface=WAN mode auto

//PORT TN_A (towards DUL)

createmo trans1 stn=0,ethernetinterface=LTE


setmoattribute trans1 stn=0,ethernetinterface=LTE portId TN_A
setmoattribute trans1 stn=0,ethernetinterface=LTE mode auto

createmo trans1 stn=0,ethernetinterface=LTE1800


setmoattribute trans1 stn=0,ethernetinterface=LTE1800 portId TN_B
setmoattribute trans1 stn=0,ethernetinterface=LTE1800 mode auto

//PORT TN_C (towards DUW)


createmo trans1 stn=0,ethernetinterface=3G
setmoattribute trans1 stn=0,ethernetinterface=3G portId TN_C
setmoattribute trans1 stn=0,ethernetinterface=3G mode auto

// First, create new bridges


createmo trans1 STN=0,Bridge=2G
createmo trans1 STN=0,Bridge=OAM
createmo trans1 STN=0,Bridge=LTE
createmo trans1 STN=0,Bridge=LTE1800
createmo trans1 STN=0,Bridge=3G

// Create VLAN group and set interface dependency


createmo trans1 STN=0,VLANGroup=WAN
setmoattribute trans1 STN=0,VLANGroup=WAN depLinkLayer STN=0,EthernetInterface=WAN

createmo trans1 STN=0,VLANGroup=LTE


setmoattribute trans1 STN=0,VLANGroup=LTE depLinkLayer STN=0,EthernetInterface=LTE

createmo trans1 STN=0,VLANGroup=LTE1800


setmoattribute trans1 STN=0,VLANGroup=LTE1800 depLinkLayer STN=0,EthernetInterface=LTE1800

createmo trans1 STN=0,VLANGroup=3G


setmoattribute trans1 STN=0,VLANGroup=3G depLinkLayer STN=0,EthernetInterface=3G

// Create 4 VLAN, bind to VLAN group and bridges, and set properties
createmo trans1 STN=0,VLANGroup=WAN,VLAN=2G
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=2G tagValue 1365
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=2G tagged true
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=2G depBridge STN=0,Bridge=2G

createmo trans1 STN=0,VLANGroup=WAN,VLAN=OAM


setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=OAM tagValue 1327
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=OAM tagged true
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=OAM depBridge STN=0,Bridge=OAM

createmo trans1 STN=0,VLANGroup=WAN,VLAN=LTE_RAN


setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=LTE_RAN tagValue 1367
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=LTE_RAN tagged true
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=LTE_RAN depBridge STN=0,Bridge=LTE

createmo trans1 STN=0,VLANGroup=WAN,VLAN=LTE1800_RAN


setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=LTE1800_RAN tagValue 1368
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=LTE1800_RAN tagged true
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=LTE1800_RAN depBridge STN=0,Bridge=LTE1

createmo trans1 STN=0,VLANGroup=WAN,VLAN=3G_RAN


setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=3G_RAN tagValue 1326
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=3G_RAN tagged true
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=3G_RAN depBridge STN=0,Bridge=3G

// Create VLAN, bind to VLAN group and bridges, and set properties
createmo trans1 STN=0,VLANGroup=LTE,VLAN=LTE_RAN
setmoattribute trans1 STN=0,VLANGroup=LTE,VLAN=LTE_RAN tagValue 1367
setmoattribute trans1 STN=0,VLANGroup=LTE,VLAN=LTE_RAN tagged true
setmoattribute trans1 STN=0,VLANGroup=LTE,VLAN=LTE_RAN depBridge STN=0,Bridge=LTE

createmo trans1 STN=0,VLANGroup=LTE,VLAN=LTE_OAM


setmoattribute trans1 STN=0,VLANGroup=LTE,VLAN=LTE_OAM tagValue 1327
setmoattribute trans1 STN=0,VLANGroup=LTE,VLAN=LTE_OAM tagged true
setmoattribute trans1 STN=0,VLANGroup=LTE,VLAN=LTE_OAM depBridge STN=0,Bridge=OAM

createmo trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_RAN


setmoattribute trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_RAN tagValue 1368
setmoattribute trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_RAN tagged true
setmoattribute trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_RAN depBridge STN=0,Bridge=L

createmo trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_OAM


setmoattribute trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_OAM tagValue 1327
setmoattribute trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_OAM tagged true
setmoattribute trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_OAM depBridge STN=0,Bridge=

createmo trans1 STN=0,VLANGroup=3G,VLAN=3G_RAN


setmoattribute trans1 STN=0,VLANGroup=3G,VLAN=3G_RAN tagValue 1326
setmoattribute trans1 STN=0,VLANGroup=3G,VLAN=3G_RAN tagged true
setmoattribute trans1 STN=0,VLANGroup=3G,VLAN=3G_RAN depBridge STN=0,Bridge=3G

createmo trans1 STN=0,VLANGroup=3G,VLAN=3G_OAM


setmoattribute trans1 STN=0,VLANGroup=3G,VLAN=3G_OAM tagValue 1327
setmoattribute trans1 STN=0,VLANGroup=3G,VLAN=3G_OAM tagged true
setmoattribute trans1 STN=0,VLANGroup=3G,VLAN=3G_OAM depBridge STN=0,Bridge=OAM
// Configure an IP address for each VLAN (this is the IP address of TCU)
createmo trans1 STN=0,IPInterface=2G
setmoattribute trans1 STN=0,IPInterface=2G primaryIP_Address 10.78.253.41
setmoattribute trans1 STN=0,IPInterface=2G primarySubNetMask 255.255.255.252
setmoattribute trans1 STN=0,IPInterface=2G depLinkLayer STN=0,Bridge=2G

createmo trans1 STN=0,IPInterface=OAM


setmoattribute trans1 STN=0,IPInterface=OAM primaryIP_Address 10.140.199.91
setmoattribute trans1 STN=0,IPInterface=OAM primarySubNetMask 255.255.255.248
setmoattribute trans1 STN=0,IPInterface=OAM depLinkLayer STN=0,Bridge=OAM
setmoattribute trans1 STN=0 depIP_Interface STN=0,IPInterface=OAM

//Create TGtransport

createMO trans1 STN=0,E1T1Interface=0


setMOAttribute trans1 STN=0,E1T1Interface=0 type E1

createMO trans1 STN=0,E1T1Interface=1


setMOAttribute trans1 STN=0,E1T1Interface=1 type E1

createMO trans1 STN=0,E1T1Interface=2


setMOAttribute trans1 STN=0,E1T1Interface=2 type E1

createMO trans1 STN=0,E1T1Interface=3


setMOAttribute trans1 STN=0,E1T1Interface=3 type E1

createmo trans1 STN=0,TGTransport=ZRW914_DUG1_9


setMOAttribute trans1 STN=0,TGTransport=ZRW914_DUG1_9 PGW_IP_Address 10.75.154.67

setMOAttribute trans1 STN=0,TGTransport=ZRW914_DUG1_9 depIP_Interface stn=0,IPInterface=2G

createMO trans1 STN=0,TGTransport=ZRW914_DUG1_9,SuperChannel=0


setMOAttribute trans1 STN=0,TGTransport=ZRW914_DUG1_9,SuperChannel=0 depE1T1Interface 0

createMO trans1 STN=0,TGTransport=ZRW914_DUG1_9,SuperChannel=1


setMOAttribute trans1 STN=0,TGTransport=ZRW914_DUG1_9,SuperChannel=1 depE1T1Interface 1

createmo trans1 STN=0,TGTransport=ZRW914_DUG2_9


setMOAttribute trans1 STN=0,TGTransport=ZRW914_DUG2_9 PGW_IP_Address 10.75.154.67
setMOAttribute trans1 STN=0,TGTransport=ZRW914_DUG2_9 depIP_Interface stn=0,IPInterface=2G

createMO trans1 STN=0,TGTransport=ZRW914_DUG2_9,SuperChannel=0


setMOAttribute trans1 STN=0,TGTransport=ZRW914_DUG2_9,SuperChannel=0 depE1T1Interface 2

createMO trans1 STN=0,TGTransport=ZRW914_DUG2_9,SuperChannel=1


setMOAttribute trans1 STN=0,TGTransport=ZRW914_DUG2_9,SuperChannel=1 depE1T1Interface 3

checkconsistency trans1
commit trans1 forcedCommit
endTransaction trans1

//OSS statistic route

startTransaction trans1
createmo trans1 STN=0,RoutingTable=0,IPRoute=OSS
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=OSS forwardingInterface STN=0,IPInterface=O
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=OSS nextHopIpAddress 10.140.199.94
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=OSS destIpSubnet 172.20.0.0/16
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=OSS admDistance 2
setMOAttribute trans1 STN=0,RoutingTable=0,IpRoute=OSS disableConnectivityCheck true

//BSC statistic route

createmo trans1 STN=0,RoutingTable=0,IPRoute=2G


setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=2G forwardingInterface STN=0,IPInterface=2G
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=2G nextHopIpAddress 10.78.253.42
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=2G destIpSubnet 10.75.154.64/26
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=2G admDistance 2
setMOAttribute trans1 STN=0,RoutingTable=0,IpRoute=2G disableConnectivityCheck true

resumePMMeasurements STN=0,MeasurementDefinition=0 sftp://pmup-rinedss01:eric123@172.20.97

setmoattribute trans1 STN=0 wakeupregistration 172.20.236.181


subscribe 172.20.236.181 2

settime Year(1970->) Mon(1-12) Day(1-31) Hour(0-23) Min(0-59) Sec(0-59) Msec(0-999)


Set the date and time in the format
settime 2015 08 10 12 15 16 16

// Routing Sync //
createmo trans1 STN=0,RoutingTable=0,IPRoute=Sync
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=Sync forwardingInterface STN=0,IPInterface=O
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=Sync nextHopIpAddress 10.140.199.94
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=Sync destIpSubnet 172.20.97.1/32
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=Sync admDistance 2
setMOAttribute trans1 STN=0,RoutingTable=0,IpRoute=Sync disableConnectivityCheck true

createmo trans1 STN=0,RoutingTable=0,IPRoute=NTPSync


setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=NTPSync forwardingInterface STN=0,IPInterfac
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=NTPSync nextHopIpAddress 10.78.253.42
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=NTPSync destIpSubnet 172.20.236.19/32
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=NTPSync admDistance 2
setMOAttribute trans1 STN=0,RoutingTable=0,IpRoute=NTPSync disableConnectivityCheck true

//Synchronization //

createmo trans1 STN=0,Synchronization=0,TimeServer=NTPSync


setmoattribute trans1 STN=0,Synchronization=0 synchType timeServer
setmoattribute trans1 STN=0,Synchronization=0 DSCP_Synchronization 46
setmoattribute trans1 STN=0,Synchronization=0 depIP_Interface STN=0,IPInterface=OAM
setmoattribute trans1 STN=0,Synchronization=0,TimeServer=NTPSync TS_Priority 0
setmoattribute trans1 STN=0,Synchronization=0,TimeServer=NTPSync TS_IP_Address 172.20.236.19
setmoattribute trans1 STN=0,Synchronization=0,TimeServer=NTPSync timeServerType NTP
setmoattribute trans1 STN=0,Synchronization=0,TimeServer=NTPSync STN_TS_UDP_Port 123
setmoattribute trans1 STN=0,Synchronization=0,TimeServer=NTPSync TS_UDP_Port_General_PTP 320
setmoattribute trans1 STN=0,Synchronization=0,TimeServer=NTPSync TS_UDP_Port_Event_PTP 319
setmoattribute trans1 STN=0,Synchronization=0,TimeServer=NTPSync domainNumber -1

//start configuration

setMOAttribute trans1 STN=0 STN_Name TCU_ZRW914


setmoattribute trans1 STN=0 systemClockTimeServer 172.20.97.1
setmoattribute trans1 STN=0 systemClockTimeServerType NTP
setmoattribute trans1 STN=0 STN_systemClockUDP_Port 123
setmoattribute trans1 STN=0 depIP_Interface STN=0,IPInterface=OAM

checkConsistency trans1
Commit trans1
endTransaction trans1

//Create Synch ethernet out (if PTP to be used this configuration should be modified)
createMO trans1 STN=0,Synchronization=0,SynchEthInterface=LTE
createMO trans1 STN=0,Synchronization=0,SynchEthInterface=LTE1800
setMOAttribute trans1 STN=0,Synchronization=0,SynchEthInterface=LTE depEthernetInterface STN=0
setMOAttribute trans1 STN=0,Synchronization=0,SynchEthInterface=LTE1800 depEthernetInterface S
setMOAttribute trans1 STN=0,Synchronization=0,SynchEthInterface=LTE synchEType out
setMOAttribute trans1 STN=0,Synchronization=0,SynchEthInterface=LTE1800 synchEType out
setMOAttribute trans1 STN=0,Synchronization=0,SynchEthInterface=LTE ssmQLoption option-1
setMOAttribute trans1 STN=0,Synchronization=0,SynchEthInterface=LTE ssmQLmode QL-enabled
setMOAttribute trans1 STN=0,Synchronization=0,SynchEthInterface=LTE1800 ssmQLoption option-1
setMOAttribute trans1 STN=0,Synchronization=0,SynchEthInterface=LTE1800 ssmQLmode QL-enable

//in case 1PPS synch out from TCU is used //

deletemo trans1 STN=0,Synchronization=0,SynchEthInterface=LTE


deletemo trans1 STN=0,Synchronization=0,SynchEthInterface=LTE1800
checkconsistency trans1
commit trans1 forcedCommit
endTransaction trans1
/rinedss01/IRY244/NeTransientUp/
etInterface=LTE
hernetInterface=LTE1800
EVO/BSC Sr_Abis_Ip PGW EVO/BSC
RE2GB27
RE2GB01 10.75.128.64/26 10.75.128.67
RE2GB02 10.75.129.64/26 10.75.129.67
RE2GB03 10.75.130.64/26 10.75.130.67
RE2GB04 10.75.131.64/26 10.75.131.67
RE2GB05 10.75.132.64/26 10.75.132.67
RE2GB06 10.75.133.64/26 10.75.133.67
RE2GB07 10.75.134.64/26 10.75.134.67
RE2GB08 10.75.135.64/26 10.75.135.67
RE2GB09 10.75.137.64/26 10.75.137.67
RE2GB10 10.75.138.64/26 10.75.138.67
RE2GB11 10.75.139.64/26 10.75.139.67
RE2GB12 10.75.140.64/26 10.75.140.67
RE2GB13 10.75.141.64/26 10.75.141.67
RE2GB14 10.75.142.64/26 10.75.142.67
RE2GB15 10.75.143.64/26 10.75.143.67
RE2GB16 10.75.144.64/26 10.75.144.67
RE2GB18 10.75.147.64/26 10.75.147.67
RE2GB19 10.75.148.64/2610.75.148.67
RE2GB20 10.75.145.64/26 10.75.145.67
RE2GB21 10.75.149.64/26 10.75.149.67
RE2GB22 10.75.146.64/26 10.75.146.67
RE2GB23 10.75.150.64/26 10.75.150.67
RE2GB24 10.75.151.64/26 10.75.151.67
RE2GB25 10.75.152.64/26 10.75.152.67
RE2GB26 10.75.153.64/2610.75.153.67
RE2GB27 10.75.154.64/26 10.75.154.67
RE2GB28 10.75.155.64/26 10.75.155.67
Sr_Abis_Ip PGW
10.75.154.64/26 10.75.154.67

You might also like