3com 2924-PWR Manual De Usuario
232
A
PPENDIX
E: 3C
OM
CLI R
EFERENCE
G
UIDE
ipSetup
The ipSetup command allows the user to define an IP address on the
device either manually or via a DHCP server.
device either manually or via a DHCP server.
Syntax
ipSetup [dhcp| ip-address mask [default-gateway ip-address]]
Parameters
■
dhcp — Specifies the IP address is acquired automatically from the
Dynamic Host Configuration Protocol (DHCP) server.
Dynamic Host Configuration Protocol (DHCP) server.
■
ip-address mask— Specifies that the IP address and default
gateway are configured manually by the user (Range: 0.0.0.0. -
223.255.255.255).
gateway are configured manually by the user (Range: 0.0.0.0. -
223.255.255.255).
Default Configuration
No default IP address is defined for interfaces.
User Guidelines
IP Addresses configured beyond the range of 224.0.0.0 are defined as
multicast, experimental or broadcast addresses.
multicast, experimental or broadcast addresses.
If a default gateway is configured manually, the IP-address and mask are
required to be on the same subnet as the gateway-address and mask.
required to be on the same subnet as the gateway-address and mask.
Example
The following example displays an IP address configured manually:
The following example displays an IP address obtained via a DHCP server:
ipSetup
161.71.34.120 255.255.255.0
ipSetup
DHCP