0% found this document useful (0 votes)
121 views3 pages

Contoh Script TCU

The document configures the network topology and settings of a TCU device including: 1. It deletes any existing configurations and creates new Ethernet interfaces, VLAN groups, bridges and VLANs for interfaces like WAN, LTE, Node_B. 2. It sets attributes like port IDs, link layers and VLAN IDs for the interfaces and VLANs. 3. It creates bridges like S1_LTE and OAM_LTE and maps VLANs to these bridges. 4. It checks for consistency and commits the transaction after the configuration is complete.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
121 views3 pages

Contoh Script TCU

The document configures the network topology and settings of a TCU device including: 1. It deletes any existing configurations and creates new Ethernet interfaces, VLAN groups, bridges and VLANs for interfaces like WAN, LTE, Node_B. 2. It sets attributes like port IDs, link layers and VLAN IDs for the interfaces and VLANs. 3. It creates bridges like S1_LTE and OAM_LTE and maps VLANs to these bridges. 4. It checks for consistency and commits the transaction after the configuration is complete.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

starttransaction tcuxl

deletemo tcuxl STN=0,EthernetInterface=AutoInt-2


deletemo tcuxl STN=0,EthernetInterface=AutoInt-1
deletemo tcuxl STN=0,VLANGroup=AutoInt-2,VLAN=AutoInt-2
deletemo tcuxl STN=0,VLANGroup=AutoInt-2
deletemo tcuxl STN=0,VLANGroup=AutoInt-1,VLAN=AutoInt-1
deletemo tcuxl STN=0,VLANGroup=AutoInt-1
deletemo tcuxl STN=0,IPInterface=AutoInt-2
deletemo tcuxl STN=0,IPInterface=AutoInt-1
deletemo tcuxl STN=0,AutoIntegration=0

setmoattribute tcuxl STN=0 stn_name TCU_TEST_RANCO


==> set nama TCU

createmo tcuxl STN=0,EthernetInterface=WAN


==> Creat Port Ethernet Interface name
(Open Port)
setmoattribute tcuxl STN=0,EthernetInterface=WAN portId TN_C
==> Set Port ID
setmoattribute tcuxl STN=0,EthernetInterface=WAN mode AUTO
==> Mode Ethernet Interface (Auto)
setmoattribute tcuxl STN=0,EthernetInterface=WAN sendLinkAlarmAllowed true
==> Link Alarm Allowed (True)

createmo tcuxl STN=0,VLANGroup=WAN


==> Creat Vlan Group
setmoattribute tcuxl STN=0,VLANGroup=WAN depLinkLayer STN=0,EthernetInterface=WAN
==> Set Vlan Group pada Ethernet Interface (Wan)

createmo tcuxl stn=0,ethernetinterface=LTE


setmoattribute tcuxl stn=0,ethernetinterface=LTE portId TN_A
setmoattribute tcuxl stn=0,ethernetinterface=LTE mode auto
setmoattribute tcuxl STN=0,Ethernetinterface=LTE sendLinkAlarmAllowed true

createmo tcuxl stn=0,vlangroup=LTE


setmoattribute tcuxl STN=0,vlangroup=LTE depLinkLayer STN=0,ethernetinterface=LTE

createmo tcuxl STN=0,Bridge=S1_LTE


==> Creat Bridge (S1_LTE)
createmo tcuxl STN=0,Bridge=OAM_LTE
==> Creat Bridge (OAM_LTE)

createmo tcuxl stn=0,vlangroup=WAN,vlan=VLAN_S1_LTE


==> Creat Vlan pada VlanGroup WAN
setmoattribute tcuxl stn=0,vlangroup=WAN,vlan=VLAN_S1_LTE tagvalue 1118
==> Set Vlan ID
setmoattribute tcuxl STN=0,VLANGroup=WAN,VLAN=VLAN_S1_LTE depBridge
STN=0,Bridge=S1_LTE ==> Set Vlan pada Bridge (S1_LTE)

createmo tcuxl stn=0,vlangroup=WAN,vlan=VLAN_OAM_LTE


setmoattribute tcuxl stn=0,vlangroup=WAN,vlan=VLAN_OAM_LTE tagvalue 3718
setmoattribute tcuxl STN=0,VLANGroup=WAN,VLAN=VLAN_OAM_LTE depBridge
STN=0,Bridge=OAM_LTE
createmo tcuxl stn=0,vlangroup=LTE,VLAN=VLAN_S1_LTE
setmoattribute tcuxl STN=0,vlangroup=LTE,VLAN=VLAN_S1_LTE tagvalue 1118
setmoattribute tcuxl STN=0,vlangroup=LTE,VLAN=VLAN_S1_LTE depBridge
STN=0,Bridge=S1_LTE
createmo tcuxl stn=0,vlangroup=LTE,VLAN=VLAN_OAM_LTE
setmoattribute tcuxl STN=0,vlangroup=LTE,VLAN=VLAN_OAM_LTE tagvalue 3718
setmoattribute tcuxl STN=0,vlangroup=LTE,VLAN=VLAN_OAM_LTE depBridge
STN=0,Bridge=OAM_LTE

createmo tcuxl stn=0,ethernetinterface=Node_B


setmoattribute tcuxl stn=0,ethernetinterface=Node_B portId TN_E
setmoattribute tcuxl stn=0,ethernetinterface=Node_B mode auto
setmoattribute tcuxl STN=0,EthernetInterface=Node_B sendLinkAlarmAllowed true

createmo tcuxl stn=0,vlangroup=Node_B


setmoattribute tcuxl STN=0,VLANGroup=Node_B depLinkLayer
STN=0,EthernetInterface=Node_B

createmo tcuxl STN=0,Bridge=Iub


createmo tcuxl STN=0,Bridge=Mub

createmo tcuxl stn=0,vlangroup=WAN,vlan=VLAN_Iub


setmoattribute tcuxl stn=0,vlangroup=WAN,vlan=VLAN_Iub tagvalue 14
setmoattribute tcuxl STN=0,VLANGroup=WAN,VLAN=VLAN_Iub depBridge STN=0,Bridge=Iub

createmo tcuxl stn=0,vlangroup=WAN,vlan=VLAN_Mub


setmoattribute tcuxl stn=0,vlangroup=WAN,vlan=VLAN_Mub tagvalue 2504
setmoattribute tcuxl STN=0,VLANGroup=WAN,VLAN=VLAN_Mub depBridge STN=0,Bridge=Mub

createmo tcuxl stn=0,vlangroup=Node_B,VLAN=VLAN_Iub


setmoattribute tcuxl STN=0,VLANGroup=Node_B,VLAN=VLAN_Iub tagvalue 14
setmoattribute tcuxl STN=0,VLANGroup=Node_B,VLAN=VLAN_Iub depBridge
STN=0,Bridge=Iub

createmo tcuxl stn=0,vlangroup=Node_B,VLAN=VLAN_Mub


setmoattribute tcuxl STN=0,VLANGroup=Node_B,VLAN=VLAN_Mub tagvalue 2504
setmoattribute tcuxl STN=0,VLANGroup=Node_B,VLAN=VLAN_Mub depBridge
STN=0,Bridge=Mub
checkconsistency tcuxl
==> Check konsisten setelah
status scrip operation successed

commit tcuxl forcedcommit


==> commit setelah konsisten

endTransaction tcuxl
==> end transaksi setelah
running script

Getmoattribute

resettofactorysetting
==> command untuk me reset
semua settingan yang ada
Open port pada SIU

setmoattribute siuxl STN=0,EthernetInterface=WAN port SFP


==> untuk open port semua port sfp

createmo siuxl STN=0,EthernetInterface=WAN


setmoattribute siuxl STN=0,EthernetInterface=WAN port WANFastEthernet
==> type port yang akan di open
(WANFastEthernet/FastEthernet/WANGigabit)
setmoattribute siuxl STN=0,EthernetInterface=WAN mode AUTO
setmoattribute siuxl STN=0,EthernetInterface=WAN portNumber 0
==> port number pada SIU sesuai type port
setmoattribute siuxl STN=0,EthernetInterface=WAN sendLinkAlarmAllowed true

createmo siuxl stn=0,ethernetinterface=LTE_BB_2


setmoattribute siuxl stn=0,ethernetinterface=LTE_BB_2 port Gigabit
==> open port sfp untuk port tertentu
setmoattribute siuxl stn=0,ethernetinterface=LTE_BB_2 mode auto
setmoattribute siuxl STN=0,EthernetInterface=LTE_BB_2 portNumber 3
setmoattribute siuxl STN=0,EthernetInterface=WAN sendLinkAlarmAllowed true

You might also like