Variable Value
switch | stack | unit <1–8> Specifies whether to set the IP address for the
switch, the stack, or another unit in a stack.
netmask Sets the IP subnet mask.
default-gateway <A.B.C.D> Sets the IP address of the default gateway.
Configuring the IP address
Use this procedure to automatically obtain an in-band management IP address, subnet mask and
default gateway on the switch or stack.
About this task
When you use DHCP, the switch or stack can also obtain up to three DNS server IP addresses.
Procedure
1. Enter Global Configuration mode:
enable
configure terminal
2. At the command prompt, enter the following command:
ip address source {bootp-always | bootp-last-address | bootp-when-
needed | configured-address | dhcp-always | dhcp-last-address |
dhcp-when-needed}
Variable definitions
The following table describes the parameters for the ip address sourcecommand.
Variable
Value
bootp-always Always use the BootP server.
bootp-last-address Use the last BootP server.
bootp-when-needed Use the BootP server when needed.
DEFAULT: bootp-when-needed
configured-address Use the manually configured IP configuration.
dhcp-always Always use the DHCP server.
dhcp-last-address Use the last DHCP server.
dhcp-when-needed Use DHCP client when needed.
Configuring the IP address
September 2016 Quick Start Configuration 41
Comments on this document? infodev@avaya.com