IP CLI Commands
268
2/1553-ZAT 759 94 Uen B – December 2005
12.16
ip set interface netmask
12.16.1 Syntax
ip set interface {<name>|<number>} netmask <netmask>
12.16.2 Description
This command sets the netmask for an existing IP interface.
12.16.3 Options
The following table gives the range of values for each option which can be
specified with this command and a default value (if applicable).
Option Description
Default
value
name
A name that identifies an existing IP
interface. To display interface names,
use the
ip list interfaces
command.
N/A
number
A number that identifies an existing IP
interface. To display interface
numbers, use the
ip list
interfaces
command. The number
appears in the first column under the
heading ID.
N/A
netmask
The netmask address of the interface
displayed in the following format:
255.255.255.0
The special value 255.255.255.255 is
used to indicate an unnumbered
interface. An unnumbered interface is
configured by setting the IP address to
the interface’s router-id value, and
setting netmask to 255.255.255.255
N/A
12.16.4 Example
-->
ip set interface ip6 netmask 255.255.255.0