EasyManua.ls Logo

Deif AMC 600 - Network Configuration via SSH Command

Deif AMC 600
33 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4.3.3 Change network configuration with SSH
It is highly recommended to use the AMC 600 webpage to configure the network settings. However the SSH command difconfig
is supported by all OS versions 1.0.0.0 and above for PCM6·1.
Reset IP to factory default
~ # difconfig reset
This script will delete interface file and switch to factory default.
For example use:
~ # difconfig reset
Reboot the OS to apply the new configuration.
Change IP to DHCP
~ # difconfig add --dhcp
This script will set the network configuration for eth0 or eth0 to dhcp client mode. Commonly, eth1 is set for static IP and eth2 is set
for DHCP.
For example use:
~ # difconfig add eth1 –dhcp
Network configuration of eth1 changed to DHCP. Reboot the OS to apply the new configuration.
To check the change, issue:
~ # difconfig read eth1
Name : eth1
Type : dhcp
IP : 0.0.0.0
Netmask: 0.0.0.0
Change static IP address
~ # difconfig add --ipaddr --netmask --gateway
This script will set the network configuration to use static ip.
For example use:
~ # difconfig add eth0 --ipaddr 192.168.20.13 --netmask 255.255.255.0 –gateway 192.168.20.1
User's manual 4189341335A EN Page 21 of 33