Chapter 12: IP Management Commands
196 Section III: Layer 2 Switching
ADD IP IPADDRESS
Syntax
add ip [interface=
vlan_name
|
vlan_id
]
ipaddress=
ip_address
|dhcp [mask=
subnet_mask
]
[gateway=
ip_address
] [directedbroadcast=yes|no|on|off]
Parameters
interface
Specifies a VLAN interface with either a VLAN name or VLAN ID.
The default is the default VLAN.
vlan_name
Specifies a VLAN name.
vlan_id
Specifies a VLAN ID. The range is 1 to 4094
ipaddress
Assigns an IPv4 address to the VLAN interface statically or
dynamically.
ip_address
Specifies an IPv4 address.
dhcp
Specifies DHCP to assign an IPv4 address dynamically.
mask
Specifies the subnet mask of the IPv4 address.
gateway
Specifies the IPv4 address of the gateway.
directedbroadcast
Specifies whether the VLAN interface responds to the directed
broadcast ping. By default is no.
yes, on
Specifies the VLAN interface responds to the directed broadcast
ping.
no, off
Specifies the VLAN interface does not respond to the directed
broadcast ping.