Ip commands, Set ip interface command – Allied Telesis AT-MCM02 User Manual
Page 26

16
IP Commands
The AT-MCM02 Management Module has two commands for setting and 
viewing the IP address, subnet mask, and gateway address of the media 
converter. The commands are:
❑
SET IP INTERFACE
❑
SHOW IP INTERFACE
SET IP INTERFACE Command
This command allows you to set the IP address, subnet mask, and gateway 
address for the media converter. You must perform this command if you 
intend to manage the media converter using Telnet or an SNMP management 
program. This command is not necessary if you will be managing the media 
converter using only the RS-232 management port on the unit.
Format:
SET IP INTERFACE=eth0 IPADDRESS=IPAddress MASK=SubnetMask 
GATEWAY=GatewayAddress
Variables:
IPAddress: Specifies the IP address for the media converter.
SubnetMask: Specifies the subnet mask.
GatewayAddress: Specifies the gateway address.
Examples:
The following example sets the management module to an IP address of 
192.168.1.2, a subnet mask of 255.255.255.0, and a gateway address of 
192.168.1.1:
SET IP INTERFACE=eth0 IPADDRESS=192.168.1.2 
MASK=255.255.255.0 GATEWAY=192.168.1.1
The parameters can be changed individually. The following example 
changes only the gateway addresses:
SET IP INTERFACE=eth0 GATEWAY 192.168.10.7
