ip default-gateway
This topic explains the command that sets the default gateway IPv4 address of the switch.
|
Syntax |
ip default-gateway a.b.c.d |
|
Parameter |
|
|
Default |
The default IP address of the default gateway is 192.168.0.254. |
|
Mode |
Global Configuration |
|
Usage |
Use this command to set the default gateway address. |
|
Example |
This example shows how to modify the default gateway address of the switch:
CODE
This example shows how to show the current default gateway address of the switch:
CODE
|