Ip default-gateway – Microsens MS453490M Management Guide User Manual
Page 919

C
HAPTER
41
| IP Interface Commands
IPv4 Interface
– 919 –
broadcast periodically by the router in an effort to learn its IP address.
(BOOTP and DHCP values can include the IP address, default gateway,
and subnet mask). If the DHCP/BOOTP server is slow to respond, you
may need to use the
command to re-start
broadcasting service requests, or reboot the switch.
E
XAMPLE
In the following example, the device is assigned an address in VLAN 1.
Console(config)#interface vlan 1
Console(config-if)#ip address 192.168.1.5 255.255.255.0
Console(config-if)#
R
ELATED
C
OMMANDS
ip default-gateway
This command specifies the default gateway for destinations not found in
the local routing tables. Use the no form to remove a default gateway.
S
YNTAX
ip default-gateway gateway
no ip default-gateway
gateway - IP address of the default gateway
D
EFAULT
S
ETTING
No default gateway is established.
C
OMMAND
M
ODE
Global Configuration
C
OMMAND
U
SAGE
◆
A default gateway can only be successfully set when a network
interface that directly connects to the gateway has been configured on
the switch.
◆
A gateway must be defined if the management station is located in a
different IP segment.
E
XAMPLE
The following example defines a default gateway for this device:
Console(config)#ip default-gateway 10.1.1.254
Console(config)#
R
ELATED
C
OMMANDS