5-7undo ip address dhcp-allocViewUser viewParameterNoneDescriptionUse the ip address dhcp-alloc command to configure the switch to obtain an IP address throughDHCP.Use the undo ip address dhcp-alloc command to cancel the configuration.Example# Configure the switch to obtain an IP address through DHCP. ip address dhcp-allocip gatewaySyntaxip gateway gateway-addressundo ip gatewayViewUser viewParametergateway-address: gateway address to be assigned to the switch.DescriptionUse 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. ip gateway 192.168.0.1localuserSyntaxlocaluser name password levelundo localuser nameViewUser view