Alcatel-Lucent 6600 Switch User Manual


 
IP Forwarding Configuring IP
page 14-8 OmniSwitch 6600 Family Network Configuration Guide April 2006
Note. Assign only ports to the VLAN that are capable of handling the MTU size restrictions configured
for the IP interface(s) associated with the VLAN. For example, if an interface MTU size is greater than
1500, do not assign 10/100 Ethernet ports to the VLAN if traffic for the interface will originate or forward
on these ports.
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
Use the show ip interface 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 show ip interface command. For more
information about this command, see the OmniSwitch CLI Reference Guide.