Command: ip address (Global Configuration)

Home | Command modes | Alphabetical listing

ip address (Global Configuration)

Configures the switch or stack address.

Syntax

Default

None

Command mode

Global Configuration

Command parameters

ParameterDescription

A.B.C.D

Specifies the IP address or subnet mask.

bootp-always

Always use the bootp server.

bootp-last-address

Use the last time bootp server.

bootp-when-needed

Use bootp server when needed.

configured-address

Use a user-configured IP address.

default-gateway {A.B.C.D}

Configures the default-gateway address.

dhcp-always

Always use the DHCP server.

dhcp-last-address

Use the last time DHCP server.

dhcp-when-needed

Use DHCP client when needed.

netmask {A.B.C.D}

Spcifies the subnet mask.

source

Configures default BootP/DHCP settings.

stack

Configures the address of the stack.

switch

Configures the IP address of local unit.

unit <1-8> {A.B.C.D}

Configures the IP address of another unit in a stack.