
C613-50186-01 Rev B
Command Reference for AR2050V
2632
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
A
PPLICATION
AND
E
NTITY
C
OMMANDS
IP
SUBNET
ip subnet
Overview
Use this command to add an IPv4 subnet to a network entity.
Use the
no
variant of this command to remove a subnet from a network entity.
Syntax
ip subnet
<ip-network/m>
[interface
<interface-name>
]
no ip subnet
<ip-network/m
> [interface <interface-name>]
Mode
Network Mode
Usage
You can create multiple subnets to a network entity.
Examples
To add a subnet to network
servers
, use the commands:
awplus#
configure terminal
awplus(config)#
zone dmz
awplus(config-zone)#
network servers
awplus(config-network)#
ip subnet 192.168.2.0/24
To add a subnet and an interface to network
servers
, use the commands:
awplus#
configure terminal
awplus(config)#
zone dmz
awplus(config-zone)#
network servers
awplus(config-network)#
ip subnet 192.168.2.0/24 interface eth1
Parameter
Description
<
ip-network/m
>
IP address of the network, entered in the form
A.B.C.D/M. Dotted decimal notation followed
by a forward slash, and then the subnet mask
length.
interface
Specify an interface name. An interface may
be specified to add a further restriction on
the subnet. No interface configured indicates
that any matching address from any interface
is a member of this network.
<interface-name>
Interface name. Any AlliedWare Plus interface
type (eth, vlan, ppp, tunnel, lo and so on).
A warning message is given if the interface
does not match an existing interface on the
device.