Modifying An Ip Router Interface; Removing An Ip Router Interface - Alcatel-Lucent OmniSwitch AOS Release 7 Manual

Network configuration guide
Hide thumbs Also See for OmniSwitch AOS Release 7:
Table of Contents

Advertisement

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
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 reverts 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 the
show ip interface
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.
OmniSwitch AOS Release 7 Network Configuration Guide
command to verify IP router interface changes. For more information about
show ip interface
March 2011
command. For more
page 119

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch aos 7

Table of Contents