Vous êtes sur la page 1sur 5

Proceso para cambiar remotamente la IP de gestión de una DUW sin bloquear el puerto.

Primeramente se busca la IP
NICGR1X_W410463> get IpHostlink

201011-02:53:45 169.254.1.1 19.0a RBS_NODE_MODEL_U_4_822 stopfile=/tmp/3167


===========================================================================================
======================
1870 IpOam=1,Ip=1,IpHostLink=1
===========================================================================================
======================
IpHostLinkId 1
availabilityStatus 0 (NO_STATUS)
interfaceName lh0
ipInterfaceMoRef
Subrack=1,Slot=1,PlugInUnit=1,ExchangeTerminalIp=1,GigaBitEthernet=1,IpInterface=2
ipv4Addresses s[1] = 172.18.91.241
ipv6Addresses t[0] =
operationalState 1 (ENABLED)
userLabel
===========================================================================================
======================
Total: 1 MOs

Una vez ubicada la IP a la que vamos a cambiar, se ejecuta el siguiente comando con la nueva IP
set IpOam=1,Ip=1,IpHostLink=1 ipv4Addresses (IP)

NICGR1X_W410463> set IpOam=1,Ip=1,IpHostLink=1 ipv4Addresses 172.18.91.242

201011-02:56:47 169.254.1.1 19.0a RBS_NODE_MODEL_U_4_822 stopfile=/tmp/3167


Set ipv4Addresses on following 1 MOs ?
===================================================================================
1870 IpOam=1,Ip=1,IpHostLink=1
===================================================================================
Set ipv4Addresses on 1 MOs. Are you Sure [y/n] ? y

===========================================================================================
=================
Id MO ipv4Addresses
Result
===========================================================================================
=================
1870 Ip=1,IpHostLink=1 172.18.91.242
>>> Set.
===========================================================================================
=================
Total: 1 MOs attempted, 1 MOs set

Nueva IP configurada

NICGR1X_W410463> get IpHostlink

201011-03:00:51 169.254.1.1 19.0a RBS_NODE_MODEL_U_4_822 stopfile=/tmp/3341


===========================================================================================
======================
1870 IpOam=1,Ip=1,IpHostLink=1
===========================================================================================
======================
IpHostLinkId 1
availabilityStatus 0 (NO_STATUS)
interfaceName lh0
ipInterfaceMoRef
Subrack=1,Slot=1,PlugInUnit=1,ExchangeTerminalIp=1,GigaBitEthernet=1,IpInterface=2
ipv4Addresses s[1] = 172.18.91.242
ipv6Addresses t[0] =
operationalState 1 (ENABLED)
userLabel
===========================================================================================
======================
Total: 1 MOs
Para cambiar la IP de tráfico:

Primeramente, se busca la IP de tráfico.


NICGR1X_W410463> get . ipadd

201011-03:12:21 169.254.1.1 19.0a RBS_NODE_MODEL_U_4_822 stopfile=/tmp/3341


Connecting to 172.18.91.242:56834 (CorbaSecurity=OFF, corba_class=2, java=1.8.0_251,
jacoms=R101E06, jacorb=R100A02)
**** Welcome to the Simple Mo Browser (version 3.0)!
Trying file=C:/cygwin/home/Ing.Barreda/moshell_logfiles/logs_moshell/tempfiles/20201011-
030024_3318/ior3318
**** Test Construction OK
****

$mobrowser_pid = 3447

Connected to 169.254.1.1
(SubNetwork=ONRM_ROOT_MO_R,SubNetwork=NICGR1X,MeContext=NICGR1X_W410463,ManagedElement=1)
Connected to 169.254.1.1
(SubNetwork=ONRM_ROOT_MO_R,SubNetwork=NICGR1X,MeContext=NICGR1X_W410463,ManagedElement=1)
Last MO: 1905. Loaded 1905 MOs. Total: 1906 MOs.
===========================================================================================
======================
MO Attribute Value
===========================================================================================
======================
Security=1 aAServerIPAddressList s[0] =
Sctp=Iub,SctpAssociation=5114-172.16.11.242_4-172.16.48.16 localIpAddress1 172.16.11.242
Sctp=Iub,SctpAssociation=5114-172.16.11.242_4-172.16.48.16 localIpAddress2
Sctp=Iub,SctpAssociation=5114-172.16.11.242_4-172.16.48.16 localPrimaryIpAddress
172.16.11.242
Sctp=Iub,SctpAssociation=5114-172.16.11.242_4-172.16.48.16 remoteIpAddress1 172.16.48.16
Sctp=Iub,SctpAssociation=5114-172.16.11.242_4-172.16.48.16 remoteIpAddress2
Sctp=Iub,SctpAssociation=5114-172.16.11.242_4-172.16.48.16 remotePrimaryIpAddress
172.16.48.16
Sctp=Iub,SctpAssociation=5114-172.16.11.242_2-172.16.48.16 localIpAddress1 172.16.11.242
Sctp=Iub,SctpAssociation=5114-172.16.11.242_2-172.16.48.16 localIpAddress2
Sctp=Iub,SctpAssociation=5114-172.16.11.242_2-172.16.48.16 localPrimaryIpAddress
172.16.11.242
Sctp=Iub,SctpAssociation=5114-172.16.11.242_2-172.16.48.16 remoteIpAddress1 172.16.48.16
Sctp=Iub,SctpAssociation=5114-172.16.11.242_2-172.16.48.16 remoteIpAddress2
Sctp=Iub,SctpAssociation=5114-172.16.11.242_2-172.16.48.16 remotePrimaryIpAddress
172.16.48.16
Sctp=Iub,SctpAssociation=5113-172.16.11.242_1-172.16.48.16 localIpAddress1 172.16.11.242
Sctp=Iub,SctpAssociation=5113-172.16.11.242_1-172.16.48.16 localIpAddress2
Sctp=Iub,SctpAssociation=5113-172.16.11.242_1-172.16.48.16 localPrimaryIpAddress
172.16.11.242
Sctp=Iub,SctpAssociation=5113-172.16.11.242_1-172.16.48.16 remoteIpAddress1 172.16.48.16
Sctp=Iub,SctpAssociation=5113-172.16.11.242_1-172.16.48.16 remoteIpAddress2
Sctp=Iub,SctpAssociation=5113-172.16.11.242_1-172.16.48.16 remotePrimaryIpAddress
172.16.48.16
Sctp=Iub,SctpAssociation=5113-172.16.11.242_3-172.16.48.16 localIpAddress1 172.16.11.242
Sctp=Iub,SctpAssociation=5113-172.16.11.242_3-172.16.48.16 localIpAddress2
Sctp=Iub,SctpAssociation=5113-172.16.11.242_3-172.16.48.16 localPrimaryIpAddress
172.16.11.242
Sctp=Iub,SctpAssociation=5113-172.16.11.242_3-172.16.48.16 remoteIpAddress1 172.16.48.16
Sctp=Iub,SctpAssociation=5113-172.16.11.242_3-172.16.48.16 remoteIpAddress2
Sctp=Iub,SctpAssociation=5113-172.16.11.242_3-172.16.48.16 remotePrimaryIpAddress
172.16.48.16
Sctp=Iub,SctpAssociation=5113-172.16.11.242_2-172.16.48.16 localIpAddress1 172.16.11.242
Sctp=Iub,SctpAssociation=5113-172.16.11.242_2-172.16.48.16 localIpAddress2
Sctp=Iub,SctpAssociation=5113-172.16.11.242_2-172.16.48.16 localPrimaryIpAddress
172.16.11.242
Sctp=Iub,SctpAssociation=5113-172.16.11.242_2-172.16.48.16 remoteIpAddress1 172.16.48.16
Sctp=Iub,SctpAssociation=5113-172.16.11.242_2-172.16.48.16 remoteIpAddress2
Sctp=Iub,SctpAssociation=5113-172.16.11.242_2-172.16.48.16 remotePrimaryIpAddress
172.16.48.16
Subrack=1,Slot=1,PlugInUnit=1,ExchangeTerminalIp=1,GigaBitEthernet=1,IpInterface=1
ownIpAddressActive 0.0.0.0
Subrack=1,Slot=1,PlugInUnit=1,ExchangeTerminalIp=1,GigaBitEthernet=1,IpInterface=2
ownIpAddressActive 0.0.0.0
UpgradePackage=CXP9023291_4_R4DA22 ftpServerIpAddress 169.254.1.2
UpgradePackage=CXP9023291/11_R2CE01 ftpServerIpAddress 10.221.99.208
UpgradePackage=CXP9023291/6_R4DD06 ftpServerIpAddress 10.221.99.208
Ip=1 nodeIpAddress 172.18.91.242
IpAccessHostEt=1 ipAddress 172.16.11.242
IpAccessHostEt=1,IpSyncRef=7 cachedIpAddress
IpAccessHostEt=1,IpSyncRef=7 ntpServerIpAddress 172.16.48.4
IpAccessHostEt=1,IpSyncRef=8 cachedIpAddress
IpAccessHostEt=1,IpSyncRef=8 ntpServerIpAddress 172.16.48.5
===========================================================================================
======================
Total: 15 MOs
Luego vemos el estado de la IP de tráfico

NICGR1X_W410463> get IpAccessHostEt=1

201011-03:14:23 169.254.1.1 19.0a RBS_NODE_MODEL_U_4_822 stopfile=/tmp/3341


===========================================================================================
======================
1873 IpSystem=1,IpAccessHostEt=1
===========================================================================================
======================
IpAccessHostEtId 1
administrativeState 1 (UNLOCKED)
availabilityStatus 1056 (DEPENDENCY_FAILED)
ipAddress 172.16.11.242
ipDefaultTtl 64
ipInterfaceMoRef
Subrack=1,Slot=1,PlugInUnit=1,ExchangeTerminalIp=1,GigaBitEthernet=1,IpInterface=1
networkPrefixLength 0
ntpDscp 46
operationalState 0 (DISABLED)
reservedBy [2] =
>>> reservedBy = IpSystem=1,IpAccessSctp=1
>>> reservedBy = NodeBFunction=1,Iub=Iub_410463
userLabel
===========================================================================================
======================
Total: 1 MOs

Como está en modo unlocked no permite configurar, debemos poner en estado locked de la
siguiente manera:

NICGR1X_W410463> set 1873 administrativeState 0

201011-03:14:39 169.254.1.1 19.0a RBS_NODE_MODEL_U_4_822 stopfile=/tmp/3341


Set administrativeState on following 1 MOs ?
===================================================================================
1873 IpSystem=1,IpAccessHostEt=1
===================================================================================
Set administrativeState on 1 MOs. Are you Sure [y/n] ? y

===========================================================================================
=================
Id MO administrativeState
Result
===========================================================================================
=================
1873 IpAccessHostEt=1 0
>>> Set.
===========================================================================================
=================
Total: 1 MOs attempted, 1 MOs set

Ahora a configurar la nueva IP así: (IpAccessHostEt=1 se puede sustituir por el proxy)

NICGR1X_W410463> set IpSystem=1,IpAccessHostEt=1 ipAddress 172.16.11.243

201011-03:18:32 169.254.1.1 19.0a RBS_NODE_MODEL_U_4_822 stopfile=/tmp/3341


Set ipAddress on following 1 MOs ?
===================================================================================
1873 IpSystem=1,IpAccessHostEt=1
===================================================================================
Set ipAddress on 1 MOs. Are you Sure [y/n] ? y

===========================================================================================
=================
Id MO ipAddress
Result
===========================================================================================
=================
1873 IpAccessHostEt=1 172.16.11.243
>>> Set.
===========================================================================================
=================
Total: 1 MOs attempted, 1 MOs set
Como se puede ver ya esta otra IP

NICGR1X_W410463> get IpAccessHostEt=1

201011-03:19:36 169.254.1.1 19.0a RBS_NODE_MODEL_U_4_822 stopfile=/tmp/3341


===========================================================================================
======================
1873 IpSystem=1,IpAccessHostEt=1
===========================================================================================
======================
IpAccessHostEtId 1
administrativeState 0 (LOCKED)
availabilityStatus 1056 (DEPENDENCY_FAILED)
ipAddress 172.16.11.243
ipDefaultTtl 64
ipInterfaceMoRef
Subrack=1,Slot=1,PlugInUnit=1,ExchangeTerminalIp=1,GigaBitEthernet=1,IpInterface=1
networkPrefixLength 0
ntpDscp 46
operationalState 0 (DISABLED)
reservedBy [2] =
>>> reservedBy = IpSystem=1,IpAccessSctp=1
>>> reservedBy = NodeBFunction=1,Iub=Iub_410463
userLabel
===========================================================================================
======================
Total: 1 MOs

Para finalizar se debe desbloquear el puerto y crear una CV

NICGR1X_W410463> set IpSystem=1,IpAccessHostEt=1 administrativeState 1

201011-03:24:00 169.254.1.1 19.0a RBS_NODE_MODEL_U_4_822 stopfile=/tmp/3341


Set administrativeState on following 1 MOs ?
===================================================================================
1873 IpSystem=1,IpAccessHostEt=1
===================================================================================
Set administrativeState on 1 MOs. Are you Sure [y/n] ? y

===========================================================================================
=================
Id MO administrativeState
Result
===========================================================================================
=================
1873 IpAccessHostEt=1 1
>>> Set.
===========================================================================================
=================
Total: 1 MOs attempted, 1 MOs set
NICGR1X_W410463> cvms IP_OAM_IUB_SetOK

201011-03:26:17 169.254.1.1 19.0a RBS_NODE_MODEL_U_4_822 stopfile=/tmp/3341

NICGR1X_W410463> acc configurationversion=1 create

*** 169.254.1.1 19.0a RBS_NODE_MODEL_U_4_822 stopfile=/tmp/3341

===========================================================================================
======================
Proxy MO Action
Nr of Params
===========================================================================================
======================
603 ConfigurationVersion=1 create
5

Parameter 1 of 5, configurationVersionName (string): IP_OAM_IUB_SetOK

Parameter 2 of 5, identity (string): IP_OAM_IUB_SetOK

Parameter 3 of 5, type (enumRef-ConfigurationVersionType):


Enter one of the following integers: 0:STANDARD, 1:UPGRADE, 2:MINIMAL, 3:TEST,
4:AUTOCREATE, 5:OTHER, 6:UPGRADE_TOLERATE_ERROR, 7:DOWNLOADED, 8:RESTORED, 9:STANDALONE: 5

Parameter 4 of 5, operatorName (string): Ing.Barreda

Parameter 5 of 5, comment (string): none


>>> Return value = null

===========================================================================================
======================
Total: 1 MOs attempted, 1 MOs actioned

NICGR1X_W410463> acc configurationversion=1 setstartable

*** 169.254.1.1 19.0a RBS_NODE_MODEL_U_4_822 stopfile=/tmp/3341

===========================================================================================
======================
Proxy MO Action
Nr of Params
===========================================================================================
======================
603 ConfigurationVersion=1 setStartable
1

Parameter 1 of 1, configurationVersionName (string): IP_OAM_IUB_SetOK


>>> Return value = null

===========================================================================================
======================
Total: 1 MOs attempted, 1 MOs actioned

Vous aimerez peut-être aussi