Alcatel-Lucent 6850-48 Network Guide

Page of 1162
Configuring IP
IP Forwarding
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 24-9
Modifying an IP Router Interface
The ip interface command is also used to modify existing IP interface parameter values. It is not neces-
sary to first remove the IP interface and then create it again with the new values. The changes specified 
will overwrite existing parameter values. For example, the following command changes the subnet mask 
to 255.255.255.0, the forwarding status to no forwarding and the encapsulation to snap by overwriting 
existing parameter values defined for the interface. The interface name, Accounting, is specified as part of 
the command syntax to identify which interface to change.
-> ip interface Accounting mask 255.255.255.0 no forward snap
Note that when changing the IP address for the interface, the subnet mask will revert back to the default 
mask value if it was previously set to a non-default value and it is not specified when changing the IP 
address. For example, the following command changes the IP address for the Accounting interface:
-> ip interface Accounting address 40.0.0.1
The subnet mask for the Accounting interface was previously set to 255.255.255.0. The above example 
resets the mask to the default value of 255.0.0.0 because 40.0.0.1 is a Class A address and no other mask 
was specified with the command. This only occurs when the IP address is modified; all other parameter 
values remain unchanged unless otherwise specified.
To avoid the problem in the above example, simply enter the non-default mask value whenever the IP 
address is changed for the interface. For example:
-> ip interface Accounting address 40.0.0.1 mask 255.255.255.0
-> ip interface Accounting address 40.0.0.1/8
Use th
 command to verify IP router interface changes. For more information about 
these commands, see the OmniSwitch CLI Reference Guide.
Removing an IP Router Interface
To remove an IP router interface, use the no form of the ip interface command. Note that it is only neces-
sary to specify the name of the IP interface, as shown in the following example:
-> no ip interface Marketing
To view a list of IP interfaces configured on the switch, use the 
information about this command, see the OmniSwitch CLI Reference Guide.