S2600E/P CLI Reference Guide Chapter 2 IP Service Configuration Commands
2
IP Service Configuration
Commands
2.1
IP Service Configuration Commands
2.1.1
ip default-gateway
Use this command to configure the default gateway on the Layer2 switch. Use
the
no
form of this command to remove the default gateway.
ip default-gateway
no ip default-gateway
Default
configuration
By default, no default gateway is configured.
Command
mode
Global configuration mode.
Usage
guidelines
The packets will be sent to the default gateway if the
destination address is unknown. Use the
show ip
redirects
command to view the default gateway.
Examples
The following is an example of setting the default gateway
192.168.1.1:
ip default-gateway 192.168.1.1
Command
Description
Related
commands
show ip
redirects
Show the default gateway, which is
supported on the Layer 2 switch only.
Platform
description
-
Summary of Contents for RG-S2600E Series
Page 1: ...CLI Reference Guide RG S2600E Series Switch RGOS 10 4 3 p1 1...
Page 5: ...Basic Configuration...
Page 83: ...Ethernet Switching...
Page 240: ...IPApplication...
Page 263: ...S2600E P CLI Reference Guide Chapter 1 IP Address Configuration Commands Platform description...
Page 317: ...S2600E P CLI Reference Guide Chapter 5 DHCP Relay Configuration Commands Platform description...
Page 335: ...Network Management and Monitoring...
Page 408: ...S2600E CLI Reference Guide Chapter 5 SPAN Configuration Commands...
Page 415: ...S2600E CLI Reference Guide Chapter 6 RSPAN Configuration Commands Platform description N A...
Page 416: ...Multicast Commands...
Page 449: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands Example3 Example4...
Page 450: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands...
Page 477: ...Security...
Page 878: ...ACL QOS...
Page 953: ...Reliability...
Page 1024: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Page 1031: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Page 1035: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands 6 3 Display Related Commands...
Page 1121: ...System Management...