free hit counter

Ip Default-Gateway - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

IP Addressing Commands
OL-32830-01 Command Line Interface Reference Guide
Command Mode
Privileged EXEC mode
User Guidelines
Use the renew dhcp command in switch mode to renew a DHCP address. This
command does not enable DHCP client and if DHCP client is not enabled, the
command returns an error message.
Use the renew dhcp command in router mode to renew a DHCP address on an
interface. This command does not enable DHCP client on an interface and if DHCP
client is not enabled on the interface, the command returns an error message.
Example
In switch mode:
The following example renews an IP address that was acquired from a DHCP
server:
switchxxxxxx#
renew dhcp
In router mode:
The following example renews an IP address on VLAN 19 that was acquired from
a DHCP server:
switchxxxxxx#
renew dhcp vlan

22.4 ip default-gateway

The ip default-gateway Global Configuration mode command defines a default
gateway (device). Use the no form of this command to restore the default
configuration.
Syntax
ip-address
ip default-gateway
no ip default-gateway [
Parameters
ip-address
—Specifies the default gateway IP address.
19
ip-address
]
22
454

Advertisement

Table of Contents
loading