GSWB 8.2 Configuration Definition Commands

Action: Specify the consistent ip default-gateway setting.

• Input parameter error.

Cause: An invalid parameter was specified.

Action: Specify the consistent ip default-gateway setting.

8.2.6.2ip default-gateway

This command specifies the IP address of the default gateway. Before the command is executed, the IP address of the host must be specified with the ip host command.

If bootp/dhcp is selected in the ip host command, the setting with this command does not become effective.

(1)Synopsis

Specifies the IP address of the default gateway

ip default-gateway <ip-address>

Resets the default-gateway setting to the default value no ip default-gateway

(2)Options

z<ip-address>: Specifies the IP address of the default gateway.

(3)Command mode

Global

(4)See also

None

(5)Examples

Sets the default gateway of the device to 10.10.10.10

Switch# configure

Switch(config)# ip default-gateway 10.10.10.10

Switch(config)#

• Resets the default-gateway setting of the device to the default value

C122-E003-02EN

8-45