TCU Script Generator
Site name COW774
Date :2018 10 25 7 45 20 01 2017 05 18 22 30 00 00
2G ( IP 's)
OnM- IP [Link]
OnM VLAN 1454
Traffic-IP [Link]
Traffic-VLAN 1233
3G ( IP 's)
IUB-VLAN 1234
LTEG ( IP 's)-2300
IUB-VLAN 1235
LTEG ( IP 's)-1800
IUB-VLAN 1236
BSC Name RE2GB20
PGW IP [Link]
IP Route OSS(OnM GW) [Link]
OSS Des Subnet [Link]/16
BSC Route(2G/Traffic GW) [Link]
SR Abis [Link]/26
Synch IP:
NPT Server
Routing sync
next hop
dest ip
NTP sync
next hop ( 2G/Traffic GW)
dest ip
Clock TimeServer
3G_900( IP 's)
IUB-VLAN 1237
//PGW_IP_Address is [Link]
//PSTU in BSC is COW774
//delete all of configuration
ResetToFactorySetting
//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
//PORT TN_E (towards DUW_900)
createmo trans1 stn=0,ethernetinterface=3G_900
setmoattribute trans1 stn=0,ethernetinterface=3G_900 portId TN_E
setmoattribute trans1 stn=0,ethernetinterface=3G_900 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
createmo trans1 STN=0,Bridge=3G_900
// 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
createmo trans1 STN=0,VLANGroup=3G_900
setmoattribute trans1 STN=0,VLANGroup=3G_900 depLinkLayer STN=0,EthernetInterface=3G_900
// 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 1233
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 1454
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 1235
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 1236
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=LTE1800_RAN tagged true
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=LTE1800_RAN depBridge STN=0,Bridge=LTE1800
createmo trans1 STN=0,VLANGroup=WAN,VLAN=3G_900_RAN
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=3G_900_RAN tagValue 1237
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=3G_900_RAN tagged true
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=3G_900_RAN depBridge STN=0,Bridge=3G_900
createmo trans1 STN=0,VLANGroup=WAN,VLAN=3G_RAN
setmoattribute trans1 STN=0,VLANGroup=WAN,VLAN=3G_RAN tagValue 1234
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 1235
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 1454
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 1236
setmoattribute trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_RAN tagged true
setmoattribute trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_RAN depBridge STN=0,Bridge=LTE1800
createmo trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_OAM
setmoattribute trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_OAM tagValue 1454
setmoattribute trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_OAM tagged true
setmoattribute trans1 STN=0,VLANGroup=LTE1800,VLAN=LTE1800_OAM depBridge STN=0,Bridge=OAM
createmo trans1 STN=0,VLANGroup=3G,VLAN=3G_RAN
setmoattribute trans1 STN=0,VLANGroup=3G,VLAN=3G_RAN tagValue 1234
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 1454
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
createmo trans1 STN=0,VLANGroup=3G_900,VLAN=3G_900_RAN
setmoattribute trans1 STN=0,VLANGroup=3G_900,VLAN=3G_900_RAN tagValue 1237
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_900,VLAN=3G_900_OAM
setmoattribute trans1 STN=0,VLANGroup=3G_900,VLAN=3G_900_OAM tagValue 1454
setmoattribute trans1 STN=0,VLANGroup=3G_900,VLAN=3G_900_OAM tagged true
setmoattribute trans1 STN=0,VLANGroup=3G_900,VLAN=3G_900_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 [Link]
setmoattribute trans1 STN=0,IPInterface=2G primarySubNetMask [Link]
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 [Link]
setmoattribute trans1 STN=0,IPInterface=OAM primarySubNetMask [Link]
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=COW774_DUG1_9
setMOAttribute trans1 STN=0,TGTransport=COW774_DUG1_9 PGW_IP_Address [Link]
setMOAttribute trans1 STN=0,TGTransport=COW774_DUG1_9 depIP_Interface stn=0,IPInterface=2G
createMO trans1 STN=0,TGTransport=COW774_DUG1_9,SuperChannel=0
setMOAttribute trans1 STN=0,TGTransport=COW774_DUG1_9,SuperChannel=0 depE1T1Interface 0
createMO trans1 STN=0,TGTransport=COW774_DUG1_9,SuperChannel=1
setMOAttribute trans1 STN=0,TGTransport=COW774_DUG1_9,SuperChannel=1 depE1T1Interface 1
createmo trans1 STN=0,TGTransport=COW774_DUG2_9
setMOAttribute trans1 STN=0,TGTransport=COW774_DUG2_9 PGW_IP_Address [Link]
setMOAttribute trans1 STN=0,TGTransport=COW774_DUG2_9 depIP_Interface stn=0,IPInterface=2G
createMO trans1 STN=0,TGTransport=COW774_DUG2_9,SuperChannel=0
setMOAttribute trans1 STN=0,TGTransport=COW774_DUG2_9,SuperChannel=0 depE1T1Interface 2
createMO trans1 STN=0,TGTransport=COW774_DUG2_9,SuperChannel=1
setMOAttribute trans1 STN=0,TGTransport=COW774_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=OAM
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=OSS nextHopIpAddress [Link]
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=OSS destIpSubnet [Link]/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 [Link]
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=2G destIpSubnet [Link]/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 s[Link]
setmoattribute trans1 STN=0 wakeupregistration [Link]
subscribe [Link] 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 2017 05 18 22 30 00 00
// Routing Sync //
createmo trans1 STN=0,RoutingTable=0,IPRoute=Sync
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=Sync forwardingInterface STN=0,IPInterface=OAM
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=Sync nextHopIpAddress [Link]
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=Sync destIpSubnet [Link]/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,IPInterface=2G
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=NTPSync nextHopIpAddress [Link]
setmoattribute trans1 STN=0,RoutingTable=0,IPRoute=NTPSync destIpSubnet [Link]/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 [Link]
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_COW774
setmoattribute trans1 STN=0 systemClockTimeServer [Link]
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
/GRAN/rinedss01/IRY244/NeTransientUp/
EVO/BSC Sr_Abis_Ip PGW EVO/BSC Sr_Abis_Ip
RE2GB20 [Link]/26
RE2GB01 [Link]/26 [Link]
RE2GB02 [Link]/26 [Link]
RE2GB03 [Link]/26 [Link]
RE2GB04 [Link]/26 [Link]
RE2GB05 [Link]/26 [Link]
RE2GB06 [Link]/26 [Link]
RE2GB07 [Link]/26 [Link]
RE2GB08 [Link]/26 [Link]
RE2GB09 [Link]/26 [Link]
RE2GB10 [Link]/26 [Link]
RE2GB11 [Link]/26 [Link]
RE2GB12 [Link]/26 [Link]
RE2GB13 [Link]/26 [Link]
RE2GB14 [Link]/26 [Link]
RE2GB15 [Link]/26 [Link]
RE2GB16 [Link]/26 [Link]
RE2GB17 [Link]/26 [Link]
RE2GB18 [Link]/26 [Link]
RE2GB19 [Link]/26 [Link]
RE2GB20 [Link]/26 [Link]
RE2GB21 [Link]/26 [Link]
RE2GB22 [Link]/26 [Link]
RE2GB23 [Link]/26 [Link]
RE2GB24 [Link]/26 [Link]
RE2GB25 [Link]/26 [Link]
RE2GB26 [Link]/26 [Link]
RE2GB27 [Link]/26 [Link]
RE2GB28 [Link]/26 [Link]
JE2GB02 [Link]/26 [Link]
JE2GB03 [Link]/26 [Link]
JE2GB04 [Link]/26 [Link]
JE2GB05 [Link]/26 [Link]
JE2GB06 [Link]/26 [Link]
JE2GB07 [Link]/26 [Link]
JE2GB08 [Link]/26 [Link]
JE2GB09 [Link]/26 [Link]
JE2GB10 [Link]/26 [Link]
JE2GB11 [Link]/26 [Link]
JE2GB12 [Link]/26 [Link]
JE2GB13 [Link]/26 [Link]
JE2GB14 [Link]/26 [Link]
JE2GB15 [Link]/26 [Link]
JE2GB16 [Link]/26 [Link]
PGW
[Link]