3Com 3CBLSF26H Switch User Manual


 
5-7
undo ip address dhcp-alloc
View
User view
Parameter
None
Description
Use the ip address dhcp-alloc command to configure the switch to obtain an IP address through
DHCP.
Use the undo ip address dhcp-alloc command to cancel the configuration.
Example
# Configure the switch to obtain an IP address through DHCP.
<Command-Line> ip address dhcp-alloc
ip gateway
Syntax
ip gateway gateway-address
undo ip gateway
View
User view
Parameter
gateway-address: gateway address to be assigned to the switch.
Description
Use the ip gateway command to assign an gateway address to the switch.
Use the undo ip gateway command to remove the gateway address.
Example
# Assign an IP gateway to the switch.
<Command-Line> ip gateway 192.168.0.1
localuser
Syntax
localuser name password level
undo localuser name
View
User view