beautypg.com

Example – Westermo RedFox Series User Manual

Page 26

background image

Westermo OS Management Guide

Version 4.17.0-0

Example

user@pc:~$ ssh [email protected]
The authenticity of host ’192.168.2.200 (192.168.2.200)’ can’t be established.
RSA key fingerprint is 6d:0c:f3:d3:28:d6:d8:43:bc:69:f8:d0:d6:a2:27:87.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ’192.168.2.200’ (RSA) to the list of known hosts.
[email protected]’s password:
.--.--.--.-----.-----.------.-----.-.--.--------.-----.
|

|

|

|

-__|__ --|_

_| -__|

_| . . | _ | http://www.westermo.com

\__/\__/|_____._____| |__| |_____|__| |__|__|__|_____|

[email protected]

Robust Industrial Data Communications -- Made Easy

\\/ Westermo WeOS v4.15.0 4.15.0 -- Jun 16 19:10 CEST 2014
Type: ’help’ for help with commands, ’exit’ to logout or leave a context.

example:/#>

4. Changing IP settings: The switch IP settings are changed with the same

commands as described when accessing the CLI via the console port (

sec-

tion 2.2.2.1

). In this example we assign IP address, netmask and default

gateway.

Example

example:/#> configure
example:/config/#> iface vlan1
example:/config/iface-vlan1/#> inet static
example:/config/iface-vlan1/#> address 192.168.55.100/24
example:/config/iface-vlan1/#> no address secondary
Remove all secondary IP addresses, are you sure (y/N)? y
Removing all secondary IPs!
example:/config/iface-vlan1/#> end
example:/config/#> ip
example:/config/ip/#> route default 192.168.55.1
example:/config/ip/#> end
example:/config/#> end

The configuration is now changed, but not yet saved to the startup config-
uration. However, as the IP address is changed, the SSH connection will be
broken.

5. Logging in again to save configuration: To login again, the PC’s IP settings

must be changed again. In this case, we assume it is changed back to its
original settings:

❼ PC IP address: 192.168.55.35

❼ PC Netmask: 255.255.255.0

❼ PC Default Gateway: 192.168.55.1

26

➞ 2015 Westermo Teleindustri AB

This manual is related to the following products: