![Cisco Sx350 Cli Manual Download Page 508](http://html.mh-extra.com/html/cisco/sx350/sx350_cli-manual_2609320508.webp)
IP Addressing Commands
507
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
24
24.4 ip default-gateway
The ip default-gateway Global Configuration mode command defines a default
gateway (device). Use the no form of this command to restore the default
configuration.
Syntax
ip default-gateway
ip-address
no ip default-gateway [
ip-address
]
Parameters
•
ip-address
—Specifies the default gateway IP address.
Command Mode
Global Configuration mode
Default Configuration
No default gateway is defined.
User Guidelines
Use the ip default-gateway command to defines a default gateway (default route).
The ip default-gateway command adds the default route with metric of 6.
Use the no ip default-gateway
ip-address
command to delete one default
gateway.
Use the no ip default-gateway command to delete all default gateways.
Example
The following example defines default gateway 192.168.1.1.
switchxxxxxx(config)#
ip default-gateway
192.168.1.1
Summary of Contents for Sx350
Page 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Page 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Page 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Page 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...