ipv4-default-gateway

This command designates the default IPv4 gateway for the VLAN interface.

Syntax

Designates the default IPv4 gateway
ipv4-default-gateway address
Deletes the default IPv4 gateway
no ipv4-default-gateway

Parameters

address
Specifies the IP address of the default IPv4 gateway.

Guidelines

The ipv4-default-gateway command designates the default IPv4 gateway that the interface can reach. If the interface supports both IP families, use the ipv6-default-gateway command to designate the default IPv6 gateway.

Use the no ipv4-default-gateway command to delete the default IPv4 gateway.

This command is meaningful except when you use the ip-config-mode command for autoconfiguration with DHCP or SLAAC.