A new OSN 3500 device is built in a bureau, and the IP address needs to be modified to 199.2.1.XX, and the subnet mask is 255.255.0.0.
The default IP address of OSN 3500 device is 129.9.0.XX, and the subnet mask is 255.255.0.0, so you only need to modify the IP address. Login to OSN 3500 with Navigator and send: cm-set-ip: 199.2.1.XX; after sending, the IP address of this OSN 3500 device changes to 199.2.1.XX, which is successful. But at the same time, the subnet mask also changes to 255.255.255.0; then use: cm-set-submask: 255.255.0.0; modify the subnet mask, and it fails.
At this time, the IP address of the device is 199.2.1.XX; the subnet mask is 255.255.255.0.
Alarm message
None
Processing
First of all, use telnet to log in to the main control board, OSN3500 main control board in slot 17 or 18, then its IP is 192.168.0.17 or 18, depending on which is the main use. Laptop ip set to 192.168.0.XX
1 ) Set the subnet mask and IP address under telnet, for example, set the subnet mask to 255.255.0.0:
sp dwSaveSPSubMask,0xffff0000;
Syntax: sp dwSaveSPSubMask, subnet mask ( hexadecimal );
Set the IP address to 199.2.1.146:
sp dwSaveSPIP,0xc7020192.
Syntax: sp dwSaveSPIP, IP address ( hexadecimal )
2 ) Query the subnet mask and IP address under telnet, the return value of the function is the subnet mask and IP address
dwGetSPSubMask ;
dwGetSPIP ;
3)After successful setting, query to confirm and reset in reboot to take effect;
Root Cause
Setting the IP address of the network element should ensure that the set subnet mask of the network port is valid, otherwise the subnet mask adopts the network segment mask of the IP address.
The defect of 5.0 platform operating system, if you need to change the IP address and subnet mask of the network element at the same time, you need to set the subnet mask of the network element first, and then set the IP address of the network element. However, the user needs the subnet mask of 255.255.0.0, which is the same as the default subnet mask of the device, and the setting is invalid.
Recommendations and Summary
None


Chinese
English





