Ip Add Interface - Ericsson HM4x0 Reference Manual

Table of Contents

Advertisement

12.2

ip add interface

12.2.1
Syntax
ip add interface <name> [<ipaddress> |<netmask>]]
12.2.2
Description
This command adds a named interface and optionally sets its IP address. The
IP address is not mandatory at this stage, but if it is not specified in this
command the interface will be unconfigured. There are three ways that the IP
address can be set later:
The IP stack automatically creates a loopback interface for address 127.0.0.1
subnet mask 255.0.0.0. This interface is not displayed by the ip list
interfaces command.
12.2.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
name
2/1553-ZAT 759 94 Uen B – December 2005
Using the ip set interface ipaddress command
You can set the interface to obtain its configuration via Dynamic Host
Configuration Protocol (DHCP) using the ip set interface dhcp
enabled command. By default, DHCP is disabled.
This interface can obtain its IP configuration via PPP IPCP (Internet
Protocol Control Protocol) negotiation. See PPPoA CLI commands and
PPPoE CLI commands.
Description
An arbitrary name that identifies the ip
interface. It can be made up of one or
more letters or a combination of letters
and digits, but it cannot start with a
digit.
IP CLI Commands
Default value
N/A
251

Advertisement

Table of Contents
loading

Table of Contents