Alcatel-Lucent speedtouch 500 用户手册
196
IP Commands
ip apadd
Assign an Internet Protocol (IP) address to an interface.
SYNTAX:
ip apadd
addr = <ip-address>
[netmask = <ip-mask (dotted or cidr)>]
intf = <interface name>
[pointopoint = <ip-address>]
[addrtrans = <{none|pat}>]
[addroute = <{no|yes}>]
[netmask = <ip-mask (dotted or cidr)>]
intf = <interface name>
[pointopoint = <ip-address>]
[addrtrans = <{none|pat}>]
[addroute = <{no|yes}>]
addr
The new IP address to add.
REQUIRED
netmask
The subnetmask associated with this address.
OPTIONAL
intf
The IP interface name.
REQUIRED
pointopoint
The remote IP address in case of a dedicated point-to-point link.
OPTIONAL
addrtrans
Indicates whether network address translation mode is allowed
(pat) for this IP address or not (none).
(pat) for this IP address or not (none).
OPTIONAL
addroute
Add typical net/subnet routes automatically according to the default
(or specified) subnet mask (yes) or not (no).
(or specified) subnet mask (yes) or not (no).
OPTIONAL