Ip Default-Gateway; Release Dhcp - NETGEAR M6100 Series Reference Manual

Hide thumbs Also See for M6100 Series:
Table of Contents

Advertisement

no ip address dhcp
The no ip address dhcp command releases a leased address and disables DHCPv4 on
an interface. The no form of the ip address dhcp client-id command removes the
client-id option and also disables the DHCP client on the in-band interface.
Format
no ip address dhcp [client-id]
Mode
Interface Config

ip default-gateway

This command manually configures a default gateway for the switch. Only one default
gateway can be configured. If you invoke this command multiple times, each command
replaces the previous value.
When the system does not have a more specific route to a packet's destination, it sends the
packet to the default gateway. The system installs a default IPv4 route with the gateway
address as the next hop address. The route preference is 253. A default gateway configured
with this command is more preferred than a default gateway learned from a DHCP server.
Format
ip default-gateway ipaddr
Mode
Global Config
Parameter
Description
ipaddr
The IPv4 address of an attached router.
Command example:
The following example sets the default gateway to 10.1.1.1:
(NETGEAR Switch) #config
(NETGEAR Switch) (Config)#ip default-gateway 10.1.1.1
no ip default-gateway
This command removes the default gateway address from the configuration.
Format
no ip default-gateway ipaddr
Mode
Interface Config

release dhcp

Use this command to force the DHCPv4 client to release the leased address from the
specified interface. The DHCP client sends a DHCP Release message telling the DHCP
server that it no longer needs the IP address, and that the IP address can be reassigned to
another.
M6100 Series Switches
Routing Commands
631

Advertisement

Table of Contents
loading

Table of Contents