
C613-50186-01 Rev B
Command Reference for AR2050V
2630
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
A
PPLICATION
AND
E
NTITY
C
OMMANDS
IP
ADDRESS
(E
NTITY
)
ip address (Entity)
Overview
Use this command to assign an IPv4 address to a host entity.
Use the
no
variant of this command to remove an IPv4 address from the host.
Syntax
ip address <
ipv4-address
>
ip address dynamic interface
<interface_name>
no ip address <
ipv4-address
>
no ip address dynamic interface
<interface_name>
Mode
Host Mode
Usage
You can add multiple IP addresses to a host entity. If the IP address is not in the
scope of any of its parent network’s IPv4 subnets, a warning message will be given.
Such an IP address is still acceptable because in the future the user may assign a
network subnet that contains the host’s IP address. Firewall policy rules will not
apply to an IP address that is not in at least one of the network’s subnets.
Examples
To add an IP address to host
ftp
, use the commands:
awplus#
configure terminal
awplus(config)#
zone dmz
awplus(config-zone)#
network servers
awplus(config-network)#
ip subnet 192.168.1.0/24
awplus(config-network)#
host ftp
awplus(config-host)#
ip address 192.168.1.5
To add multiple IP addresses to host
ftp
, use the commands:
awplus#
configure terminal
awplus(config)#
zone dmz
awplus(config-zone)#
network servers
awplus(config-network)#
ip subnet 192.168.1.0/24
awplus(config-network)#
host ftp
awplus(config-host)#
ip address 192.168.1.8
awplus(config-host)#
ip address 192.168.1.9
awplus(config-host)#
ip address 192.168.1.10
Parameter
Description
<
ipv4-address
>
The IPv4 address uses the format A.B.C.D.
dynamic
Dynamic IP address, for example, obtained from a DHCP
server.
<interface_name>
Interface to acquire IP addresses from.