Ip Default-Gateway - SMC Networks TigerStack II SMC8848M Management Manual

Gigabit ethernet switch
Hide thumbs Also See for TigerStack II SMC8848M:
Table of Contents

Advertisement

IP I
C
NTERFACE
Related Commands
ip dhcp restart client (36-7)
ipv6 address (36-14)

ip default-gateway

This command specifies the IPv4 default gateway for destinations not
found in the local routing tables. Use the no form to remove a default
gateway.
Syntax
ip default-gateway gateway
no ip default-gateway
gateway - IP address of the default gateway
Default Setting
No static route is established.
Command Mode
Global Configuration
Command Usage
• The gateway specified in this command is only valid if routing is
disabled with the no ip routing command (page 37-2). If IP routing
is disabled, you must define a gateway if the target device is located in
a different subnet.
• If routing is enabled, you can still define a static route using the ip
route command (page 37-3) to ensure that traffic to the designated
address or subnet passes through a preferred gateway.
• An default gateway can only be successfully set when a network
interface that directly connects to the gateway has been configured on
the router.
Example
The following example defines a default gateway for this device:
Console(config)#ip default-gateway 10.1.1.254
Console(config)#
36-6
OMMANDS

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

8824m - annexe 1Tigerstack ii smc8824m

Table of Contents